@gravionlabs/helix-ui 22.6.0 → 22.8.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/chart/package.json +3 -2
- package/fesm2022/gravionlabs-helix-ui-chart.mjs +5 -5
- package/fesm2022/gravionlabs-helix-ui-chart.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-ui.mjs +414 -411
- package/fesm2022/gravionlabs-helix-ui.mjs.map +1 -1
- package/package.json +10 -8
- package/styles.css +6 -10
- package/types/gravionlabs-helix-ui.d.ts +1 -1
- package/validators/package.json +3 -2
|
@@ -57,7 +57,7 @@ var HxAccordion = class HxAccordion {
|
|
|
57
57
|
}
|
|
58
58
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
59
59
|
minVersion: "12.0.0",
|
|
60
|
-
version: "22.
|
|
60
|
+
version: "22.3.0",
|
|
61
61
|
ngImport: i0,
|
|
62
62
|
type: HxAccordion,
|
|
63
63
|
deps: [],
|
|
@@ -65,7 +65,7 @@ var HxAccordion = class HxAccordion {
|
|
|
65
65
|
});
|
|
66
66
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
67
67
|
minVersion: "17.1.0",
|
|
68
|
-
version: "22.
|
|
68
|
+
version: "22.3.0",
|
|
69
69
|
type: HxAccordion,
|
|
70
70
|
isStandalone: true,
|
|
71
71
|
selector: "hx-accordion",
|
|
@@ -101,7 +101,7 @@ var HxAccordion = class HxAccordion {
|
|
|
101
101
|
};
|
|
102
102
|
i0.ɵɵngDeclareClassMetadata({
|
|
103
103
|
minVersion: "12.0.0",
|
|
104
|
-
version: "22.
|
|
104
|
+
version: "22.3.0",
|
|
105
105
|
ngImport: i0,
|
|
106
106
|
type: HxAccordion,
|
|
107
107
|
decorators: [{
|
|
@@ -176,7 +176,7 @@ var HxAccordionPanel = class HxAccordionPanel {
|
|
|
176
176
|
}
|
|
177
177
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
178
178
|
minVersion: "12.0.0",
|
|
179
|
-
version: "22.
|
|
179
|
+
version: "22.3.0",
|
|
180
180
|
ngImport: i0,
|
|
181
181
|
type: HxAccordionPanel,
|
|
182
182
|
deps: [],
|
|
@@ -184,7 +184,7 @@ var HxAccordionPanel = class HxAccordionPanel {
|
|
|
184
184
|
});
|
|
185
185
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
186
186
|
minVersion: "17.1.0",
|
|
187
|
-
version: "22.
|
|
187
|
+
version: "22.3.0",
|
|
188
188
|
type: HxAccordionPanel,
|
|
189
189
|
isStandalone: true,
|
|
190
190
|
selector: "hx-accordion-panel",
|
|
@@ -219,7 +219,7 @@ var HxAccordionPanel = class HxAccordionPanel {
|
|
|
219
219
|
};
|
|
220
220
|
i0.ɵɵngDeclareClassMetadata({
|
|
221
221
|
minVersion: "12.0.0",
|
|
222
|
-
version: "22.
|
|
222
|
+
version: "22.3.0",
|
|
223
223
|
ngImport: i0,
|
|
224
224
|
type: HxAccordionPanel,
|
|
225
225
|
decorators: [{
|
|
@@ -261,7 +261,7 @@ var HxAccordionHeader = class HxAccordionHeader {
|
|
|
261
261
|
level = computed(() => Math.min(6, Math.max(1, Math.round(this.panel.accordion.headingLevel()))), ...ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []);
|
|
262
262
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
263
263
|
minVersion: "12.0.0",
|
|
264
|
-
version: "22.
|
|
264
|
+
version: "22.3.0",
|
|
265
265
|
ngImport: i0,
|
|
266
266
|
type: HxAccordionHeader,
|
|
267
267
|
deps: [],
|
|
@@ -269,13 +269,13 @@ var HxAccordionHeader = class HxAccordionHeader {
|
|
|
269
269
|
});
|
|
270
270
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
271
271
|
minVersion: "17.0.0",
|
|
272
|
-
version: "22.
|
|
272
|
+
version: "22.3.0",
|
|
273
273
|
type: HxAccordionHeader,
|
|
274
274
|
isStandalone: true,
|
|
275
275
|
selector: "hx-accordion-header",
|
|
276
276
|
host: { classAttribute: "hx-accordion-header" },
|
|
277
277
|
ngImport: i0,
|
|
278
|
-
template: "<ng-template #button>\n <button\n type=\"button\"\n class=\"hx-accordion-trigger\"\n [id]=\"panel.headerId\"\n [attr.aria-expanded]=\"panel.expanded()\"\n [attr.aria-controls]=\"panel.contentId\"\n [disabled]=\"panel.disabled()\"\n (click)=\"panel.toggle()\"\n >\n <span class=\"hx-accordion-title\"><ng-content /></span>\n <span class=\"hx-accordion-icon\" aria-hidden=\"true\"></span>\n </button>\n</ng-template>\n@switch (level()) {\n @case (1) {
|
|
278
|
+
template: "<ng-template #button>\n <button\n type=\"button\"\n class=\"hx-accordion-trigger\"\n [id]=\"panel.headerId\"\n [attr.aria-expanded]=\"panel.expanded()\"\n [attr.aria-controls]=\"panel.contentId\"\n [disabled]=\"panel.disabled()\"\n (click)=\"panel.toggle()\"\n >\n <span class=\"hx-accordion-title\"><ng-content /></span>\n <span class=\"hx-accordion-icon\" aria-hidden=\"true\"></span>\n </button>\n</ng-template>\n@switch (level()) {\n @case (1) {\n <h1 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h1>\n }\n @case (2) {\n <h2 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h2>\n }\n @case (3) {\n <h3 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h3>\n }\n @case (4) {\n <h4 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h4>\n }\n @case (5) {\n <h5 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h5>\n }\n @default {\n <h6 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h6>\n }\n}\n",
|
|
279
279
|
dependencies: [{
|
|
280
280
|
kind: "directive",
|
|
281
281
|
type: NgTemplateOutlet,
|
|
@@ -291,7 +291,7 @@ var HxAccordionHeader = class HxAccordionHeader {
|
|
|
291
291
|
};
|
|
292
292
|
i0.ɵɵngDeclareClassMetadata({
|
|
293
293
|
minVersion: "12.0.0",
|
|
294
|
-
version: "22.
|
|
294
|
+
version: "22.3.0",
|
|
295
295
|
ngImport: i0,
|
|
296
296
|
type: HxAccordionHeader,
|
|
297
297
|
decorators: [{
|
|
@@ -301,7 +301,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
301
301
|
imports: [NgTemplateOutlet],
|
|
302
302
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
303
303
|
host: { class: "hx-accordion-header" },
|
|
304
|
-
template: "<ng-template #button>\n <button\n type=\"button\"\n class=\"hx-accordion-trigger\"\n [id]=\"panel.headerId\"\n [attr.aria-expanded]=\"panel.expanded()\"\n [attr.aria-controls]=\"panel.contentId\"\n [disabled]=\"panel.disabled()\"\n (click)=\"panel.toggle()\"\n >\n <span class=\"hx-accordion-title\"><ng-content /></span>\n <span class=\"hx-accordion-icon\" aria-hidden=\"true\"></span>\n </button>\n</ng-template>\n@switch (level()) {\n @case (1) {
|
|
304
|
+
template: "<ng-template #button>\n <button\n type=\"button\"\n class=\"hx-accordion-trigger\"\n [id]=\"panel.headerId\"\n [attr.aria-expanded]=\"panel.expanded()\"\n [attr.aria-controls]=\"panel.contentId\"\n [disabled]=\"panel.disabled()\"\n (click)=\"panel.toggle()\"\n >\n <span class=\"hx-accordion-title\"><ng-content /></span>\n <span class=\"hx-accordion-icon\" aria-hidden=\"true\"></span>\n </button>\n</ng-template>\n@switch (level()) {\n @case (1) {\n <h1 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h1>\n }\n @case (2) {\n <h2 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h2>\n }\n @case (3) {\n <h3 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h3>\n }\n @case (4) {\n <h4 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h4>\n }\n @case (5) {\n <h5 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h5>\n }\n @default {\n <h6 class=\"hx-accordion-heading\"><ng-container [ngTemplateOutlet]=\"button\" /></h6>\n }\n}\n"
|
|
305
305
|
}]
|
|
306
306
|
}]
|
|
307
307
|
});
|
|
@@ -309,7 +309,7 @@ var HxAccordionContent = class HxAccordionContent {
|
|
|
309
309
|
panel = inject(HxAccordionPanel);
|
|
310
310
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
311
311
|
minVersion: "12.0.0",
|
|
312
|
-
version: "22.
|
|
312
|
+
version: "22.3.0",
|
|
313
313
|
ngImport: i0,
|
|
314
314
|
type: HxAccordionContent,
|
|
315
315
|
deps: [],
|
|
@@ -317,7 +317,7 @@ var HxAccordionContent = class HxAccordionContent {
|
|
|
317
317
|
});
|
|
318
318
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
319
319
|
minVersion: "14.0.0",
|
|
320
|
-
version: "22.
|
|
320
|
+
version: "22.3.0",
|
|
321
321
|
type: HxAccordionContent,
|
|
322
322
|
isStandalone: true,
|
|
323
323
|
selector: "hx-accordion-content",
|
|
@@ -326,13 +326,13 @@ var HxAccordionContent = class HxAccordionContent {
|
|
|
326
326
|
classAttribute: "hx-accordion-content"
|
|
327
327
|
},
|
|
328
328
|
ngImport: i0,
|
|
329
|
-
template: "<div class=\"hx-accordion-collapse\">\n <div class=\"hx-accordion-collapse-inner\">\n <div
|
|
329
|
+
template: "<div class=\"hx-accordion-collapse\">\n <div class=\"hx-accordion-collapse-inner\">\n <div\n class=\"hx-accordion-body\"\n role=\"region\"\n [id]=\"panel.contentId\"\n [attr.aria-labelledby]=\"panel.headerId\"\n >\n <ng-content />\n </div>\n </div>\n</div>\n",
|
|
330
330
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
331
331
|
});
|
|
332
332
|
};
|
|
333
333
|
i0.ɵɵngDeclareClassMetadata({
|
|
334
334
|
minVersion: "12.0.0",
|
|
335
|
-
version: "22.
|
|
335
|
+
version: "22.3.0",
|
|
336
336
|
ngImport: i0,
|
|
337
337
|
type: HxAccordionContent,
|
|
338
338
|
decorators: [{
|
|
@@ -344,7 +344,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
344
344
|
class: "hx-accordion-content",
|
|
345
345
|
"[attr.inert]": "panel.expanded() ? null : ''"
|
|
346
346
|
},
|
|
347
|
-
template: "<div class=\"hx-accordion-collapse\">\n <div class=\"hx-accordion-collapse-inner\">\n <div
|
|
347
|
+
template: "<div class=\"hx-accordion-collapse\">\n <div class=\"hx-accordion-collapse-inner\">\n <div\n class=\"hx-accordion-body\"\n role=\"region\"\n [id]=\"panel.contentId\"\n [attr.aria-labelledby]=\"panel.headerId\"\n >\n <ng-content />\n </div>\n </div>\n</div>\n"
|
|
348
348
|
}]
|
|
349
349
|
}]
|
|
350
350
|
});
|
|
@@ -598,7 +598,7 @@ var HxAutoComplete = class HxAutoComplete {
|
|
|
598
598
|
}
|
|
599
599
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
600
600
|
minVersion: "12.0.0",
|
|
601
|
-
version: "22.
|
|
601
|
+
version: "22.3.0",
|
|
602
602
|
ngImport: i0,
|
|
603
603
|
type: HxAutoComplete,
|
|
604
604
|
deps: [],
|
|
@@ -606,7 +606,7 @@ var HxAutoComplete = class HxAutoComplete {
|
|
|
606
606
|
});
|
|
607
607
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
608
608
|
minVersion: "17.0.0",
|
|
609
|
-
version: "22.
|
|
609
|
+
version: "22.3.0",
|
|
610
610
|
type: HxAutoComplete,
|
|
611
611
|
isStandalone: true,
|
|
612
612
|
selector: "hx-auto-complete",
|
|
@@ -776,7 +776,7 @@ var HxAutoComplete = class HxAutoComplete {
|
|
|
776
776
|
isSignal: true
|
|
777
777
|
}],
|
|
778
778
|
ngImport: i0,
|
|
779
|
-
template: "<div class=\"hx-auto-complete-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n @if (multiple()) {\n @for (item of chips(); track $index) {\n <span class=\"hx-auto-complete-chip\">\n <span>{{ item.label }}</span>\n <button\n type=\"button\"\n class=\"hx-auto-complete-chip-remove\"\n tabindex=\"-1\"\n [attr.aria-label]=\"'Remove ' + item.label\"\n [disabled]=\"isDisabled()\"\n (click)=\"removeChip($index)\"\n >\n <span class=\"hx-auto-complete-remove-icon\" aria-hidden=\"true\"></span>\n </button>\n </span>\n }\n }\n <input\n #field\n type=\"text\"\n class=\"hx-auto-complete-input\"\n role=\"combobox\"\n autocomplete=\"off\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"multiple() && chips().length ? '' : placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"inputText()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-activedescendant]=\"activeId()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n />\n</div>\n@if (dropdown()) {\n <button\n type=\"button\"\n class=\"hx-auto-complete-dropdown\"\n tabindex=\"-1\"\n aria-label=\"Show suggestions\"\n [disabled]=\"isDisabled()\"\n (click)=\"showAll()\"\n >\n <span class=\"hx-auto-complete-chevron\" aria-hidden=\"true\"></span>\n </button>\n}\n<span class=\"hx-auto-complete-status\" role=\"status\" aria-live=\"polite\">{{ status() }}</span>\n\n<ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-auto-complete-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (detach)=\"open.set(false)\"\n>\n <div class=\"hx-auto-complete-panel\">\n <div
|
|
779
|
+
template: "<div class=\"hx-auto-complete-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n @if (multiple()) {\n @for (item of chips(); track $index) {\n <span class=\"hx-auto-complete-chip\">\n <span>{{ item.label }}</span>\n <button\n type=\"button\"\n class=\"hx-auto-complete-chip-remove\"\n tabindex=\"-1\"\n [attr.aria-label]=\"'Remove ' + item.label\"\n [disabled]=\"isDisabled()\"\n (click)=\"removeChip($index)\"\n >\n <span class=\"hx-auto-complete-remove-icon\" aria-hidden=\"true\"></span>\n </button>\n </span>\n }\n }\n <input\n #field\n type=\"text\"\n class=\"hx-auto-complete-input\"\n role=\"combobox\"\n autocomplete=\"off\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"multiple() && chips().length ? '' : placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"inputText()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-activedescendant]=\"activeId()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n />\n</div>\n@if (dropdown()) {\n <button\n type=\"button\"\n class=\"hx-auto-complete-dropdown\"\n tabindex=\"-1\"\n aria-label=\"Show suggestions\"\n [disabled]=\"isDisabled()\"\n (click)=\"showAll()\"\n >\n <span class=\"hx-auto-complete-chevron\" aria-hidden=\"true\"></span>\n </button>\n}\n<span class=\"hx-auto-complete-status\" role=\"status\" aria-live=\"polite\">{{ status() }}</span>\n\n<ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-auto-complete-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (detach)=\"open.set(false)\"\n>\n <div class=\"hx-auto-complete-panel\">\n <div\n class=\"hx-auto-complete-list\"\n role=\"listbox\"\n [id]=\"panelId\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n [attr.aria-label]=\"ariaLabel() ?? placeholder() ?? null\"\n >\n @for (item of items(); track $index) {\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -- listbox option: the input keeps the focus and handles the keys (aria-activedescendant) -->\n <div\n class=\"hx-auto-complete-option\"\n role=\"option\"\n [id]=\"optionId($index)\"\n [class.hx-auto-complete-option-active]=\"$index === active()\"\n [attr.aria-selected]=\"isSelected(item)\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"choose(item)\"\n (mousemove)=\"active.set($index)\"\n >\n {{ item.label }}\n </div>\n } @empty {\n <div class=\"hx-auto-complete-empty\">{{ emptyMessage() }}</div>\n }\n </div>\n </div>\n</ng-template>\n",
|
|
780
780
|
dependencies: [{
|
|
781
781
|
kind: "directive",
|
|
782
782
|
type: CdkConnectedOverlay,
|
|
@@ -828,7 +828,7 @@ var HxAutoComplete = class HxAutoComplete {
|
|
|
828
828
|
};
|
|
829
829
|
i0.ɵɵngDeclareClassMetadata({
|
|
830
830
|
minVersion: "12.0.0",
|
|
831
|
-
version: "22.
|
|
831
|
+
version: "22.3.0",
|
|
832
832
|
ngImport: i0,
|
|
833
833
|
type: HxAutoComplete,
|
|
834
834
|
decorators: [{
|
|
@@ -853,7 +853,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
853
853
|
"[class.hx-auto-complete-has-dropdown]": "dropdown()",
|
|
854
854
|
"[class.hx-filled]": "filled()"
|
|
855
855
|
},
|
|
856
|
-
template: "<div class=\"hx-auto-complete-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n @if (multiple()) {\n @for (item of chips(); track $index) {\n <span class=\"hx-auto-complete-chip\">\n <span>{{ item.label }}</span>\n <button\n type=\"button\"\n class=\"hx-auto-complete-chip-remove\"\n tabindex=\"-1\"\n [attr.aria-label]=\"'Remove ' + item.label\"\n [disabled]=\"isDisabled()\"\n (click)=\"removeChip($index)\"\n >\n <span class=\"hx-auto-complete-remove-icon\" aria-hidden=\"true\"></span>\n </button>\n </span>\n }\n }\n <input\n #field\n type=\"text\"\n class=\"hx-auto-complete-input\"\n role=\"combobox\"\n autocomplete=\"off\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"multiple() && chips().length ? '' : placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"inputText()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-activedescendant]=\"activeId()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n />\n</div>\n@if (dropdown()) {\n <button\n type=\"button\"\n class=\"hx-auto-complete-dropdown\"\n tabindex=\"-1\"\n aria-label=\"Show suggestions\"\n [disabled]=\"isDisabled()\"\n (click)=\"showAll()\"\n >\n <span class=\"hx-auto-complete-chevron\" aria-hidden=\"true\"></span>\n </button>\n}\n<span class=\"hx-auto-complete-status\" role=\"status\" aria-live=\"polite\">{{ status() }}</span>\n\n<ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-auto-complete-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (detach)=\"open.set(false)\"\n>\n <div class=\"hx-auto-complete-panel\">\n <div
|
|
856
|
+
template: "<div class=\"hx-auto-complete-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n @if (multiple()) {\n @for (item of chips(); track $index) {\n <span class=\"hx-auto-complete-chip\">\n <span>{{ item.label }}</span>\n <button\n type=\"button\"\n class=\"hx-auto-complete-chip-remove\"\n tabindex=\"-1\"\n [attr.aria-label]=\"'Remove ' + item.label\"\n [disabled]=\"isDisabled()\"\n (click)=\"removeChip($index)\"\n >\n <span class=\"hx-auto-complete-remove-icon\" aria-hidden=\"true\"></span>\n </button>\n </span>\n }\n }\n <input\n #field\n type=\"text\"\n class=\"hx-auto-complete-input\"\n role=\"combobox\"\n autocomplete=\"off\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"multiple() && chips().length ? '' : placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"inputText()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-activedescendant]=\"activeId()\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n />\n</div>\n@if (dropdown()) {\n <button\n type=\"button\"\n class=\"hx-auto-complete-dropdown\"\n tabindex=\"-1\"\n aria-label=\"Show suggestions\"\n [disabled]=\"isDisabled()\"\n (click)=\"showAll()\"\n >\n <span class=\"hx-auto-complete-chevron\" aria-hidden=\"true\"></span>\n </button>\n}\n<span class=\"hx-auto-complete-status\" role=\"status\" aria-live=\"polite\">{{ status() }}</span>\n\n<ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-auto-complete-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (detach)=\"open.set(false)\"\n>\n <div class=\"hx-auto-complete-panel\">\n <div\n class=\"hx-auto-complete-list\"\n role=\"listbox\"\n [id]=\"panelId\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n [attr.aria-label]=\"ariaLabel() ?? placeholder() ?? null\"\n >\n @for (item of items(); track $index) {\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -- listbox option: the input keeps the focus and handles the keys (aria-activedescendant) -->\n <div\n class=\"hx-auto-complete-option\"\n role=\"option\"\n [id]=\"optionId($index)\"\n [class.hx-auto-complete-option-active]=\"$index === active()\"\n [attr.aria-selected]=\"isSelected(item)\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"choose(item)\"\n (mousemove)=\"active.set($index)\"\n >\n {{ item.label }}\n </div>\n } @empty {\n <div class=\"hx-auto-complete-empty\">{{ emptyMessage() }}</div>\n }\n </div>\n </div>\n</ng-template>\n"
|
|
857
857
|
}]
|
|
858
858
|
}],
|
|
859
859
|
ctorParameters: () => [],
|
|
@@ -1036,7 +1036,7 @@ var HxAvatar = class HxAvatar {
|
|
|
1036
1036
|
ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
1037
1037
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1038
1038
|
minVersion: "12.0.0",
|
|
1039
|
-
version: "22.
|
|
1039
|
+
version: "22.3.0",
|
|
1040
1040
|
ngImport: i0,
|
|
1041
1041
|
type: HxAvatar,
|
|
1042
1042
|
deps: [],
|
|
@@ -1044,7 +1044,7 @@ var HxAvatar = class HxAvatar {
|
|
|
1044
1044
|
});
|
|
1045
1045
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1046
1046
|
minVersion: "17.0.0",
|
|
1047
|
-
version: "22.
|
|
1047
|
+
version: "22.3.0",
|
|
1048
1048
|
type: HxAvatar,
|
|
1049
1049
|
isStandalone: true,
|
|
1050
1050
|
selector: "hx-avatar",
|
|
@@ -1103,13 +1103,13 @@ var HxAvatar = class HxAvatar {
|
|
|
1103
1103
|
classAttribute: "hx-avatar"
|
|
1104
1104
|
},
|
|
1105
1105
|
ngImport: i0,
|
|
1106
|
-
template: "@if (image()) {\n <img class=\"hx-avatar-image\" [src]=\"image()\" alt=\"\" />\n} @else if (icon()) {\n <span class=\"hx-avatar-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n} @else if (label()) {\n <span
|
|
1106
|
+
template: "@if (image()) {\n <img class=\"hx-avatar-image\" [src]=\"image()\" alt=\"\" />\n} @else if (icon()) {\n <span class=\"hx-avatar-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n} @else if (label()) {\n <span\n class=\"hx-avatar-label\"\n [attr.aria-hidden]=\"ariaLabel() ? 'true' : null\"\n >{{ label() }}</span\n >\n} @else {\n <ng-content />\n}\n",
|
|
1107
1107
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1108
1108
|
});
|
|
1109
1109
|
};
|
|
1110
1110
|
i0.ɵɵngDeclareClassMetadata({
|
|
1111
1111
|
minVersion: "12.0.0",
|
|
1112
|
-
version: "22.
|
|
1112
|
+
version: "22.3.0",
|
|
1113
1113
|
ngImport: i0,
|
|
1114
1114
|
type: HxAvatar,
|
|
1115
1115
|
decorators: [{
|
|
@@ -1125,7 +1125,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1125
1125
|
"[class.hx-avatar-xl]": "size() === 'xlarge'",
|
|
1126
1126
|
"[class.hx-avatar-circle]": "shape() === 'circle'"
|
|
1127
1127
|
},
|
|
1128
|
-
template: "@if (image()) {\n <img class=\"hx-avatar-image\" [src]=\"image()\" alt=\"\" />\n} @else if (icon()) {\n <span class=\"hx-avatar-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n} @else if (label()) {\n <span
|
|
1128
|
+
template: "@if (image()) {\n <img class=\"hx-avatar-image\" [src]=\"image()\" alt=\"\" />\n} @else if (icon()) {\n <span class=\"hx-avatar-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n} @else if (label()) {\n <span\n class=\"hx-avatar-label\"\n [attr.aria-hidden]=\"ariaLabel() ? 'true' : null\"\n >{{ label() }}</span\n >\n} @else {\n <ng-content />\n}\n"
|
|
1129
1129
|
}]
|
|
1130
1130
|
}],
|
|
1131
1131
|
propDecorators: {
|
|
@@ -1183,7 +1183,7 @@ var HxAvatarGroup = class HxAvatarGroup {
|
|
|
1183
1183
|
ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
1184
1184
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1185
1185
|
minVersion: "12.0.0",
|
|
1186
|
-
version: "22.
|
|
1186
|
+
version: "22.3.0",
|
|
1187
1187
|
ngImport: i0,
|
|
1188
1188
|
type: HxAvatarGroup,
|
|
1189
1189
|
deps: [],
|
|
@@ -1191,7 +1191,7 @@ var HxAvatarGroup = class HxAvatarGroup {
|
|
|
1191
1191
|
});
|
|
1192
1192
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1193
1193
|
minVersion: "17.1.0",
|
|
1194
|
-
version: "22.
|
|
1194
|
+
version: "22.3.0",
|
|
1195
1195
|
type: HxAvatarGroup,
|
|
1196
1196
|
isStandalone: true,
|
|
1197
1197
|
selector: "hx-avatar-group",
|
|
@@ -1214,7 +1214,7 @@ var HxAvatarGroup = class HxAvatarGroup {
|
|
|
1214
1214
|
};
|
|
1215
1215
|
i0.ɵɵngDeclareClassMetadata({
|
|
1216
1216
|
minVersion: "12.0.0",
|
|
1217
|
-
version: "22.
|
|
1217
|
+
version: "22.3.0",
|
|
1218
1218
|
ngImport: i0,
|
|
1219
1219
|
type: HxAvatarGroup,
|
|
1220
1220
|
decorators: [{
|
|
@@ -1249,7 +1249,7 @@ var HxBadge = class HxBadge {
|
|
|
1249
1249
|
}
|
|
1250
1250
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1251
1251
|
minVersion: "12.0.0",
|
|
1252
|
-
version: "22.
|
|
1252
|
+
version: "22.3.0",
|
|
1253
1253
|
ngImport: i0,
|
|
1254
1254
|
type: HxBadge,
|
|
1255
1255
|
deps: [],
|
|
@@ -1257,7 +1257,7 @@ var HxBadge = class HxBadge {
|
|
|
1257
1257
|
});
|
|
1258
1258
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1259
1259
|
minVersion: "17.1.0",
|
|
1260
|
-
version: "22.
|
|
1260
|
+
version: "22.3.0",
|
|
1261
1261
|
type: HxBadge,
|
|
1262
1262
|
isStandalone: true,
|
|
1263
1263
|
selector: "hx-badge",
|
|
@@ -1306,7 +1306,7 @@ var HxBadge = class HxBadge {
|
|
|
1306
1306
|
};
|
|
1307
1307
|
i0.ɵɵngDeclareClassMetadata({
|
|
1308
1308
|
minVersion: "12.0.0",
|
|
1309
|
-
version: "22.
|
|
1309
|
+
version: "22.3.0",
|
|
1310
1310
|
ngImport: i0,
|
|
1311
1311
|
type: HxBadge,
|
|
1312
1312
|
decorators: [{
|
|
@@ -1363,7 +1363,7 @@ var HxOverlayBadge = class HxOverlayBadge {
|
|
|
1363
1363
|
size = input("medium", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
1364
1364
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1365
1365
|
minVersion: "12.0.0",
|
|
1366
|
-
version: "22.
|
|
1366
|
+
version: "22.3.0",
|
|
1367
1367
|
ngImport: i0,
|
|
1368
1368
|
type: HxOverlayBadge,
|
|
1369
1369
|
deps: [],
|
|
@@ -1371,7 +1371,7 @@ var HxOverlayBadge = class HxOverlayBadge {
|
|
|
1371
1371
|
});
|
|
1372
1372
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1373
1373
|
minVersion: "17.1.0",
|
|
1374
|
-
version: "22.
|
|
1374
|
+
version: "22.3.0",
|
|
1375
1375
|
type: HxOverlayBadge,
|
|
1376
1376
|
isStandalone: true,
|
|
1377
1377
|
selector: "hx-overlay-badge",
|
|
@@ -1400,7 +1400,7 @@ var HxOverlayBadge = class HxOverlayBadge {
|
|
|
1400
1400
|
},
|
|
1401
1401
|
host: { classAttribute: "hx-overlay-badge" },
|
|
1402
1402
|
ngImport: i0,
|
|
1403
|
-
template: "<ng-content /><hx-badge
|
|
1403
|
+
template: "<ng-content /><hx-badge\n class=\"hx-overlay-badge-badge\"\n [value]=\"value()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n/>\n",
|
|
1404
1404
|
dependencies: [{
|
|
1405
1405
|
kind: "component",
|
|
1406
1406
|
type: HxBadge,
|
|
@@ -1416,7 +1416,7 @@ var HxOverlayBadge = class HxOverlayBadge {
|
|
|
1416
1416
|
};
|
|
1417
1417
|
i0.ɵɵngDeclareClassMetadata({
|
|
1418
1418
|
minVersion: "12.0.0",
|
|
1419
|
-
version: "22.
|
|
1419
|
+
version: "22.3.0",
|
|
1420
1420
|
ngImport: i0,
|
|
1421
1421
|
type: HxOverlayBadge,
|
|
1422
1422
|
decorators: [{
|
|
@@ -1426,7 +1426,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1426
1426
|
imports: [HxBadge],
|
|
1427
1427
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1428
1428
|
host: { class: "hx-overlay-badge" },
|
|
1429
|
-
template: "<ng-content /><hx-badge
|
|
1429
|
+
template: "<ng-content /><hx-badge\n class=\"hx-overlay-badge-badge\"\n [value]=\"value()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n/>\n"
|
|
1430
1430
|
}]
|
|
1431
1431
|
}],
|
|
1432
1432
|
propDecorators: {
|
|
@@ -1465,7 +1465,7 @@ var HxBreadcrumb = class HxBreadcrumb {
|
|
|
1465
1465
|
}
|
|
1466
1466
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1467
1467
|
minVersion: "12.0.0",
|
|
1468
|
-
version: "22.
|
|
1468
|
+
version: "22.3.0",
|
|
1469
1469
|
ngImport: i0,
|
|
1470
1470
|
type: HxBreadcrumb,
|
|
1471
1471
|
deps: [],
|
|
@@ -1473,7 +1473,7 @@ var HxBreadcrumb = class HxBreadcrumb {
|
|
|
1473
1473
|
});
|
|
1474
1474
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1475
1475
|
minVersion: "17.0.0",
|
|
1476
|
-
version: "22.
|
|
1476
|
+
version: "22.3.0",
|
|
1477
1477
|
type: HxBreadcrumb,
|
|
1478
1478
|
isStandalone: true,
|
|
1479
1479
|
selector: "hx-breadcrumb",
|
|
@@ -1502,7 +1502,7 @@ var HxBreadcrumb = class HxBreadcrumb {
|
|
|
1502
1502
|
},
|
|
1503
1503
|
host: { classAttribute: "hx-breadcrumb" },
|
|
1504
1504
|
ngImport: i0,
|
|
1505
|
-
template: "<nav [attr.aria-label]=\"ariaLabel()\">\n <ol class=\"hx-breadcrumb-list\">\n @if (home(); as home) {\n <li class=\"hx-breadcrumb-item\">\n <ng-container
|
|
1505
|
+
template: "<nav [attr.aria-label]=\"ariaLabel()\">\n <ol class=\"hx-breadcrumb-list\">\n @if (home(); as home) {\n <li class=\"hx-breadcrumb-item\">\n <ng-container\n [ngTemplateOutlet]=\"entry\"\n [ngTemplateOutletContext]=\"{ $implicit: home, current: false }\"\n />\n </li>\n }\n @for (item of items(); track $index; let last = $last) {\n @if (home() || $index > 0) {\n <li class=\"hx-breadcrumb-separator\" aria-hidden=\"true\"></li>\n }\n <li class=\"hx-breadcrumb-item\">\n <ng-container\n [ngTemplateOutlet]=\"entry\"\n [ngTemplateOutletContext]=\"{ $implicit: item, current: last }\"\n />\n </li>\n }\n </ol>\n</nav>\n\n<ng-template #entry let-item let-current=\"current\">\n @if (current || item.disabled || (!item.routerLink && !item.url)) {\n <span\n class=\"hx-breadcrumb-link\"\n [attr.aria-current]=\"current ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n >\n @if (item.icon) {\n <span [class]=\"item.icon + ' hx-breadcrumb-icon'\" aria-hidden=\"true\"></span>\n }\n @if (item.label) {\n <span>{{ item.label }}</span>\n }\n </span>\n } @else if (item.routerLink) {\n <a\n class=\"hx-breadcrumb-link\"\n [routerLink]=\"item.routerLink\"\n [attr.target]=\"item.target\"\n [attr.aria-label]=\"item.label ? null : 'Home'\"\n >\n @if (item.icon) {\n <span [class]=\"item.icon + ' hx-breadcrumb-icon'\" aria-hidden=\"true\"></span>\n }\n @if (item.label) {\n <span>{{ item.label }}</span>\n }\n </a>\n } @else {\n <a class=\"hx-breadcrumb-link\" [href]=\"item.url\" [attr.target]=\"item.target\">\n @if (item.icon) {\n <span [class]=\"item.icon + ' hx-breadcrumb-icon'\" aria-hidden=\"true\"></span>\n }\n @if (item.label) {\n <span>{{ item.label }}</span>\n }\n </a>\n }\n</ng-template>\n",
|
|
1506
1506
|
dependencies: [{
|
|
1507
1507
|
kind: "directive",
|
|
1508
1508
|
type: RouterLink,
|
|
@@ -1519,6 +1519,7 @@ var HxBreadcrumb = class HxBreadcrumb {
|
|
|
1519
1519
|
"skipLocationChange",
|
|
1520
1520
|
"replaceUrl",
|
|
1521
1521
|
"browserUrl",
|
|
1522
|
+
"scroll",
|
|
1522
1523
|
"routerLink"
|
|
1523
1524
|
]
|
|
1524
1525
|
}, {
|
|
@@ -1536,7 +1537,7 @@ var HxBreadcrumb = class HxBreadcrumb {
|
|
|
1536
1537
|
};
|
|
1537
1538
|
i0.ɵɵngDeclareClassMetadata({
|
|
1538
1539
|
minVersion: "12.0.0",
|
|
1539
|
-
version: "22.
|
|
1540
|
+
version: "22.3.0",
|
|
1540
1541
|
ngImport: i0,
|
|
1541
1542
|
type: HxBreadcrumb,
|
|
1542
1543
|
decorators: [{
|
|
@@ -1546,7 +1547,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1546
1547
|
imports: [RouterLink, NgTemplateOutlet],
|
|
1547
1548
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1548
1549
|
host: { class: "hx-breadcrumb" },
|
|
1549
|
-
template: "<nav [attr.aria-label]=\"ariaLabel()\">\n <ol class=\"hx-breadcrumb-list\">\n @if (home(); as home) {\n <li class=\"hx-breadcrumb-item\">\n <ng-container
|
|
1550
|
+
template: "<nav [attr.aria-label]=\"ariaLabel()\">\n <ol class=\"hx-breadcrumb-list\">\n @if (home(); as home) {\n <li class=\"hx-breadcrumb-item\">\n <ng-container\n [ngTemplateOutlet]=\"entry\"\n [ngTemplateOutletContext]=\"{ $implicit: home, current: false }\"\n />\n </li>\n }\n @for (item of items(); track $index; let last = $last) {\n @if (home() || $index > 0) {\n <li class=\"hx-breadcrumb-separator\" aria-hidden=\"true\"></li>\n }\n <li class=\"hx-breadcrumb-item\">\n <ng-container\n [ngTemplateOutlet]=\"entry\"\n [ngTemplateOutletContext]=\"{ $implicit: item, current: last }\"\n />\n </li>\n }\n </ol>\n</nav>\n\n<ng-template #entry let-item let-current=\"current\">\n @if (current || item.disabled || (!item.routerLink && !item.url)) {\n <span\n class=\"hx-breadcrumb-link\"\n [attr.aria-current]=\"current ? 'page' : null\"\n [attr.aria-disabled]=\"item.disabled ? 'true' : null\"\n >\n @if (item.icon) {\n <span [class]=\"item.icon + ' hx-breadcrumb-icon'\" aria-hidden=\"true\"></span>\n }\n @if (item.label) {\n <span>{{ item.label }}</span>\n }\n </span>\n } @else if (item.routerLink) {\n <a\n class=\"hx-breadcrumb-link\"\n [routerLink]=\"item.routerLink\"\n [attr.target]=\"item.target\"\n [attr.aria-label]=\"item.label ? null : 'Home'\"\n >\n @if (item.icon) {\n <span [class]=\"item.icon + ' hx-breadcrumb-icon'\" aria-hidden=\"true\"></span>\n }\n @if (item.label) {\n <span>{{ item.label }}</span>\n }\n </a>\n } @else {\n <a class=\"hx-breadcrumb-link\" [href]=\"item.url\" [attr.target]=\"item.target\">\n @if (item.icon) {\n <span [class]=\"item.icon + ' hx-breadcrumb-icon'\" aria-hidden=\"true\"></span>\n }\n @if (item.label) {\n <span>{{ item.label }}</span>\n }\n </a>\n }\n</ng-template>\n"
|
|
1550
1551
|
}]
|
|
1551
1552
|
}],
|
|
1552
1553
|
propDecorators: {
|
|
@@ -1613,7 +1614,7 @@ var HxButton = class HxButton {
|
|
|
1613
1614
|
}
|
|
1614
1615
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1615
1616
|
minVersion: "12.0.0",
|
|
1616
|
-
version: "22.
|
|
1617
|
+
version: "22.3.0",
|
|
1617
1618
|
ngImport: i0,
|
|
1618
1619
|
type: HxButton,
|
|
1619
1620
|
deps: [],
|
|
@@ -1621,7 +1622,7 @@ var HxButton = class HxButton {
|
|
|
1621
1622
|
});
|
|
1622
1623
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1623
1624
|
minVersion: "17.1.0",
|
|
1624
|
-
version: "22.
|
|
1625
|
+
version: "22.3.0",
|
|
1625
1626
|
type: HxButton,
|
|
1626
1627
|
isStandalone: true,
|
|
1627
1628
|
selector: "button[hx-button], a[hx-button]",
|
|
@@ -1712,7 +1713,7 @@ var HxButton = class HxButton {
|
|
|
1712
1713
|
};
|
|
1713
1714
|
i0.ɵɵngDeclareClassMetadata({
|
|
1714
1715
|
minVersion: "12.0.0",
|
|
1715
|
-
version: "22.
|
|
1716
|
+
version: "22.3.0",
|
|
1716
1717
|
ngImport: i0,
|
|
1717
1718
|
type: HxButton,
|
|
1718
1719
|
decorators: [{
|
|
@@ -1815,7 +1816,7 @@ var HxButtonGroup = class HxButtonGroup {
|
|
|
1815
1816
|
ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
1816
1817
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1817
1818
|
minVersion: "12.0.0",
|
|
1818
|
-
version: "22.
|
|
1819
|
+
version: "22.3.0",
|
|
1819
1820
|
ngImport: i0,
|
|
1820
1821
|
type: HxButtonGroup,
|
|
1821
1822
|
deps: [],
|
|
@@ -1823,7 +1824,7 @@ var HxButtonGroup = class HxButtonGroup {
|
|
|
1823
1824
|
});
|
|
1824
1825
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1825
1826
|
minVersion: "17.1.0",
|
|
1826
|
-
version: "22.
|
|
1827
|
+
version: "22.3.0",
|
|
1827
1828
|
type: HxButtonGroup,
|
|
1828
1829
|
isStandalone: true,
|
|
1829
1830
|
selector: "hx-button-group",
|
|
@@ -1846,7 +1847,7 @@ var HxButtonGroup = class HxButtonGroup {
|
|
|
1846
1847
|
};
|
|
1847
1848
|
i0.ɵɵngDeclareClassMetadata({
|
|
1848
1849
|
minVersion: "12.0.0",
|
|
1849
|
-
version: "22.
|
|
1850
|
+
version: "22.3.0",
|
|
1850
1851
|
ngImport: i0,
|
|
1851
1852
|
type: HxButtonGroup,
|
|
1852
1853
|
decorators: [{
|
|
@@ -1881,7 +1882,7 @@ var HxCard = class HxCard {
|
|
|
1881
1882
|
level = computed(() => Math.min(6, Math.max(1, Math.round(this.headingLevel()))), ...ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []);
|
|
1882
1883
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1883
1884
|
minVersion: "12.0.0",
|
|
1884
|
-
version: "22.
|
|
1885
|
+
version: "22.3.0",
|
|
1885
1886
|
ngImport: i0,
|
|
1886
1887
|
type: HxCard,
|
|
1887
1888
|
deps: [],
|
|
@@ -1889,7 +1890,7 @@ var HxCard = class HxCard {
|
|
|
1889
1890
|
});
|
|
1890
1891
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1891
1892
|
minVersion: "17.0.0",
|
|
1892
|
-
version: "22.
|
|
1893
|
+
version: "22.3.0",
|
|
1893
1894
|
type: HxCard,
|
|
1894
1895
|
isStandalone: true,
|
|
1895
1896
|
selector: "hx-card",
|
|
@@ -1918,7 +1919,7 @@ var HxCard = class HxCard {
|
|
|
1918
1919
|
},
|
|
1919
1920
|
host: { classAttribute: "hx-card" },
|
|
1920
1921
|
ngImport: i0,
|
|
1921
|
-
template: "<ng-template #titleText>{{ title() }}<ng-content select=\"[hxCardTitle]\" /></ng-template>\n<div class=\"hx-card-header\"><ng-content select=\"[hxCardHeader]\" /></div>\n<div class=\"hx-card-body\">\n <div class=\"hx-card-caption\">\n @switch (level()) {\n @case (1) {
|
|
1922
|
+
template: "<ng-template #titleText>{{ title() }}<ng-content select=\"[hxCardTitle]\" /></ng-template>\n<div class=\"hx-card-header\"><ng-content select=\"[hxCardHeader]\" /></div>\n<div class=\"hx-card-body\">\n <div class=\"hx-card-caption\">\n @switch (level()) {\n @case (1) {\n <h1 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h1>\n }\n @case (2) {\n <h2 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h2>\n }\n @case (3) {\n <h3 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h3>\n }\n @case (4) {\n <h4 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h4>\n }\n @case (5) {\n <h5 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h5>\n }\n @default {\n <h6 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h6>\n }\n }\n <div class=\"hx-card-subtitle\">{{ subtitle() }}<ng-content select=\"[hxCardSubtitle]\" /></div>\n </div>\n <div class=\"hx-card-content\"><ng-content /></div>\n <div class=\"hx-card-footer\"><ng-content select=\"[hxCardFooter]\" /></div>\n</div>\n",
|
|
1922
1923
|
dependencies: [{
|
|
1923
1924
|
kind: "directive",
|
|
1924
1925
|
type: NgTemplateOutlet,
|
|
@@ -1934,7 +1935,7 @@ var HxCard = class HxCard {
|
|
|
1934
1935
|
};
|
|
1935
1936
|
i0.ɵɵngDeclareClassMetadata({
|
|
1936
1937
|
minVersion: "12.0.0",
|
|
1937
|
-
version: "22.
|
|
1938
|
+
version: "22.3.0",
|
|
1938
1939
|
ngImport: i0,
|
|
1939
1940
|
type: HxCard,
|
|
1940
1941
|
decorators: [{
|
|
@@ -1944,7 +1945,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1944
1945
|
imports: [NgTemplateOutlet],
|
|
1945
1946
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1946
1947
|
host: { class: "hx-card" },
|
|
1947
|
-
template: "<ng-template #titleText>{{ title() }}<ng-content select=\"[hxCardTitle]\" /></ng-template>\n<div class=\"hx-card-header\"><ng-content select=\"[hxCardHeader]\" /></div>\n<div class=\"hx-card-body\">\n <div class=\"hx-card-caption\">\n @switch (level()) {\n @case (1) {
|
|
1948
|
+
template: "<ng-template #titleText>{{ title() }}<ng-content select=\"[hxCardTitle]\" /></ng-template>\n<div class=\"hx-card-header\"><ng-content select=\"[hxCardHeader]\" /></div>\n<div class=\"hx-card-body\">\n <div class=\"hx-card-caption\">\n @switch (level()) {\n @case (1) {\n <h1 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h1>\n }\n @case (2) {\n <h2 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h2>\n }\n @case (3) {\n <h3 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h3>\n }\n @case (4) {\n <h4 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h4>\n }\n @case (5) {\n <h5 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h5>\n }\n @default {\n <h6 class=\"hx-card-title\"><ng-container [ngTemplateOutlet]=\"titleText\" /></h6>\n }\n }\n <div class=\"hx-card-subtitle\">{{ subtitle() }}<ng-content select=\"[hxCardSubtitle]\" /></div>\n </div>\n <div class=\"hx-card-content\"><ng-content /></div>\n <div class=\"hx-card-footer\"><ng-content select=\"[hxCardFooter]\" /></div>\n</div>\n"
|
|
1948
1949
|
}]
|
|
1949
1950
|
}],
|
|
1950
1951
|
propDecorators: {
|
|
@@ -1978,7 +1979,7 @@ var HxCarouselItem = class HxCarouselItem {
|
|
|
1978
1979
|
template = inject(TemplateRef);
|
|
1979
1980
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1980
1981
|
minVersion: "12.0.0",
|
|
1981
|
-
version: "22.
|
|
1982
|
+
version: "22.3.0",
|
|
1982
1983
|
ngImport: i0,
|
|
1983
1984
|
type: HxCarouselItem,
|
|
1984
1985
|
deps: [],
|
|
@@ -1986,7 +1987,7 @@ var HxCarouselItem = class HxCarouselItem {
|
|
|
1986
1987
|
});
|
|
1987
1988
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1988
1989
|
minVersion: "14.0.0",
|
|
1989
|
-
version: "22.
|
|
1990
|
+
version: "22.3.0",
|
|
1990
1991
|
type: HxCarouselItem,
|
|
1991
1992
|
isStandalone: true,
|
|
1992
1993
|
selector: "ng-template[hxCarouselItem]",
|
|
@@ -1995,7 +1996,7 @@ var HxCarouselItem = class HxCarouselItem {
|
|
|
1995
1996
|
};
|
|
1996
1997
|
i0.ɵɵngDeclareClassMetadata({
|
|
1997
1998
|
minVersion: "12.0.0",
|
|
1998
|
-
version: "22.
|
|
1999
|
+
version: "22.3.0",
|
|
1999
2000
|
ngImport: i0,
|
|
2000
2001
|
type: HxCarouselItem,
|
|
2001
2002
|
decorators: [{
|
|
@@ -2161,7 +2162,7 @@ var HxCarousel = class HxCarousel {
|
|
|
2161
2162
|
}
|
|
2162
2163
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2163
2164
|
minVersion: "12.0.0",
|
|
2164
|
-
version: "22.
|
|
2165
|
+
version: "22.3.0",
|
|
2165
2166
|
ngImport: i0,
|
|
2166
2167
|
type: HxCarousel,
|
|
2167
2168
|
deps: [],
|
|
@@ -2169,7 +2170,7 @@ var HxCarousel = class HxCarousel {
|
|
|
2169
2170
|
});
|
|
2170
2171
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2171
2172
|
minVersion: "17.0.0",
|
|
2172
|
-
version: "22.
|
|
2173
|
+
version: "22.3.0",
|
|
2173
2174
|
type: HxCarousel,
|
|
2174
2175
|
isStandalone: true,
|
|
2175
2176
|
selector: "hx-carousel",
|
|
@@ -2307,7 +2308,7 @@ var HxCarousel = class HxCarousel {
|
|
|
2307
2308
|
isSignal: true
|
|
2308
2309
|
}],
|
|
2309
2310
|
ngImport: i0,
|
|
2310
|
-
template: "<section
|
|
2311
|
+
template: "<section\n class=\"hx-carousel-region\"\n role=\"region\"\n aria-roledescription=\"carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-live]=\"autoplayInterval() > 0 && !(hovered() || focused()) ? 'off' : 'polite'\"\n>\n <div class=\"hx-carousel-header\"><ng-content select=\"[hxCarouselHeader]\" /></div>\n <div class=\"hx-carousel-content\">\n @if (showNavigators()) {\n <button\n type=\"button\"\n class=\"hx-carousel-button hx-carousel-prev\"\n [disabled]=\"prevDisabled()\"\n [attr.aria-label]=\"prevLabel()\"\n (click)=\"prev()\"\n ></button>\n }\n <div\n class=\"hx-carousel-viewport\"\n [id]=\"id + '-viewport'\"\n tabindex=\"0\"\n [style.height]=\"orientation() === 'vertical' ? verticalViewPortHeight() : null\"\n (keydown)=\"onKeydown($event)\"\n >\n <div class=\"hx-carousel-track\" [style.transform]=\"transform()\">\n @for (item of value(); track $index) {\n <div\n class=\"hx-carousel-item\"\n role=\"group\"\n aria-roledescription=\"slide\"\n [class.hx-carousel-item-active]=\"isVisible($index)\"\n [attr.aria-label]=\"itemLabel($index)\"\n [attr.aria-hidden]=\"isVisible($index) ? null : 'true'\"\n [attr.inert]=\"isVisible($index) ? null : ''\"\n [style.flex-basis.%]=\"itemSize()\"\n >\n @if (itemTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: $index }\"\n />\n }\n </div>\n }\n </div>\n </div>\n @if (showNavigators()) {\n <button\n type=\"button\"\n class=\"hx-carousel-button hx-carousel-next\"\n [disabled]=\"nextDisabled()\"\n [attr.aria-label]=\"nextLabel()\"\n (click)=\"next()\"\n ></button>\n }\n </div>\n @if (showIndicators() && pageCount() > 1) {\n <div class=\"hx-carousel-indicators\" role=\"tablist\" [attr.aria-label]=\"ariaLabel() + ' pages'\">\n @for (p of pages(); track p) {\n <button\n type=\"button\"\n class=\"hx-carousel-indicator\"\n role=\"tab\"\n [class.hx-carousel-indicator-active]=\"p === currentPage()\"\n [attr.aria-selected]=\"p === currentPage()\"\n [attr.aria-label]=\"pageLabel(p)\"\n [attr.aria-controls]=\"id + '-viewport'\"\n [attr.tabindex]=\"p === currentPage() ? 0 : -1\"\n (click)=\"goTo(p)\"\n (keydown)=\"onIndicatorKeydown($event)\"\n ></button>\n }\n </div>\n }\n <div class=\"hx-carousel-footer\"><ng-content select=\"[hxCarouselFooter]\" /></div>\n</section>\n",
|
|
2311
2312
|
dependencies: [{
|
|
2312
2313
|
kind: "directive",
|
|
2313
2314
|
type: NgTemplateOutlet,
|
|
@@ -2323,7 +2324,7 @@ var HxCarousel = class HxCarousel {
|
|
|
2323
2324
|
};
|
|
2324
2325
|
i0.ɵɵngDeclareClassMetadata({
|
|
2325
2326
|
minVersion: "12.0.0",
|
|
2326
|
-
version: "22.
|
|
2327
|
+
version: "22.3.0",
|
|
2327
2328
|
ngImport: i0,
|
|
2328
2329
|
type: HxCarousel,
|
|
2329
2330
|
decorators: [{
|
|
@@ -2341,7 +2342,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2341
2342
|
"(focusout)": "onFocusOut($event)",
|
|
2342
2343
|
"(window:resize)": "onResize()"
|
|
2343
2344
|
},
|
|
2344
|
-
template: "<section
|
|
2345
|
+
template: "<section\n class=\"hx-carousel-region\"\n role=\"region\"\n aria-roledescription=\"carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-live]=\"autoplayInterval() > 0 && !(hovered() || focused()) ? 'off' : 'polite'\"\n>\n <div class=\"hx-carousel-header\"><ng-content select=\"[hxCarouselHeader]\" /></div>\n <div class=\"hx-carousel-content\">\n @if (showNavigators()) {\n <button\n type=\"button\"\n class=\"hx-carousel-button hx-carousel-prev\"\n [disabled]=\"prevDisabled()\"\n [attr.aria-label]=\"prevLabel()\"\n (click)=\"prev()\"\n ></button>\n }\n <div\n class=\"hx-carousel-viewport\"\n [id]=\"id + '-viewport'\"\n tabindex=\"0\"\n [style.height]=\"orientation() === 'vertical' ? verticalViewPortHeight() : null\"\n (keydown)=\"onKeydown($event)\"\n >\n <div class=\"hx-carousel-track\" [style.transform]=\"transform()\">\n @for (item of value(); track $index) {\n <div\n class=\"hx-carousel-item\"\n role=\"group\"\n aria-roledescription=\"slide\"\n [class.hx-carousel-item-active]=\"isVisible($index)\"\n [attr.aria-label]=\"itemLabel($index)\"\n [attr.aria-hidden]=\"isVisible($index) ? null : 'true'\"\n [attr.inert]=\"isVisible($index) ? null : ''\"\n [style.flex-basis.%]=\"itemSize()\"\n >\n @if (itemTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: $index }\"\n />\n }\n </div>\n }\n </div>\n </div>\n @if (showNavigators()) {\n <button\n type=\"button\"\n class=\"hx-carousel-button hx-carousel-next\"\n [disabled]=\"nextDisabled()\"\n [attr.aria-label]=\"nextLabel()\"\n (click)=\"next()\"\n ></button>\n }\n </div>\n @if (showIndicators() && pageCount() > 1) {\n <div class=\"hx-carousel-indicators\" role=\"tablist\" [attr.aria-label]=\"ariaLabel() + ' pages'\">\n @for (p of pages(); track p) {\n <button\n type=\"button\"\n class=\"hx-carousel-indicator\"\n role=\"tab\"\n [class.hx-carousel-indicator-active]=\"p === currentPage()\"\n [attr.aria-selected]=\"p === currentPage()\"\n [attr.aria-label]=\"pageLabel(p)\"\n [attr.aria-controls]=\"id + '-viewport'\"\n [attr.tabindex]=\"p === currentPage() ? 0 : -1\"\n (click)=\"goTo(p)\"\n (keydown)=\"onIndicatorKeydown($event)\"\n ></button>\n }\n </div>\n }\n <div class=\"hx-carousel-footer\"><ng-content select=\"[hxCarouselFooter]\" /></div>\n</section>\n"
|
|
2345
2346
|
}]
|
|
2346
2347
|
}],
|
|
2347
2348
|
ctorParameters: () => [],
|
|
@@ -2487,7 +2488,7 @@ var HxCheckbox = class HxCheckbox {
|
|
|
2487
2488
|
size = input("medium", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
2488
2489
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2489
2490
|
minVersion: "12.0.0",
|
|
2490
|
-
version: "22.
|
|
2491
|
+
version: "22.3.0",
|
|
2491
2492
|
ngImport: i0,
|
|
2492
2493
|
type: HxCheckbox,
|
|
2493
2494
|
deps: [],
|
|
@@ -2495,7 +2496,7 @@ var HxCheckbox = class HxCheckbox {
|
|
|
2495
2496
|
});
|
|
2496
2497
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
2497
2498
|
minVersion: "17.1.0",
|
|
2498
|
-
version: "22.
|
|
2499
|
+
version: "22.3.0",
|
|
2499
2500
|
type: HxCheckbox,
|
|
2500
2501
|
isStandalone: true,
|
|
2501
2502
|
selector: "input[hx-checkbox]",
|
|
@@ -2519,7 +2520,7 @@ var HxCheckbox = class HxCheckbox {
|
|
|
2519
2520
|
};
|
|
2520
2521
|
i0.ɵɵngDeclareClassMetadata({
|
|
2521
2522
|
minVersion: "12.0.0",
|
|
2522
|
-
version: "22.
|
|
2523
|
+
version: "22.3.0",
|
|
2523
2524
|
ngImport: i0,
|
|
2524
2525
|
type: HxCheckbox,
|
|
2525
2526
|
decorators: [{
|
|
@@ -2561,7 +2562,7 @@ var HxChip = class HxChip {
|
|
|
2561
2562
|
}
|
|
2562
2563
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2563
2564
|
minVersion: "12.0.0",
|
|
2564
|
-
version: "22.
|
|
2565
|
+
version: "22.3.0",
|
|
2565
2566
|
ngImport: i0,
|
|
2566
2567
|
type: HxChip,
|
|
2567
2568
|
deps: [],
|
|
@@ -2569,7 +2570,7 @@ var HxChip = class HxChip {
|
|
|
2569
2570
|
});
|
|
2570
2571
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2571
2572
|
minVersion: "17.0.0",
|
|
2572
|
-
version: "22.
|
|
2573
|
+
version: "22.3.0",
|
|
2573
2574
|
type: HxChip,
|
|
2574
2575
|
isStandalone: true,
|
|
2575
2576
|
selector: "hx-chip",
|
|
@@ -2632,13 +2633,13 @@ var HxChip = class HxChip {
|
|
|
2632
2633
|
classAttribute: "hx-chip"
|
|
2633
2634
|
},
|
|
2634
2635
|
ngImport: i0,
|
|
2635
|
-
template: "@if (image()) {\n <img class=\"hx-chip-image\" [src]=\"image()\" [alt]=\"imageAlt()\" />\n} @else if (icon()) {\n <span class=\"hx-chip-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n}\n<span class=\"hx-chip-label\">{{ label() }}<ng-content /></span>\n@if (removable()) {\n <button
|
|
2636
|
+
template: "@if (image()) {\n <img class=\"hx-chip-image\" [src]=\"image()\" [alt]=\"imageAlt()\" />\n} @else if (icon()) {\n <span class=\"hx-chip-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n}\n<span class=\"hx-chip-label\">{{ label() }}<ng-content /></span>\n@if (removable()) {\n <button\n type=\"button\"\n class=\"hx-chip-remove\"\n [attr.aria-label]=\"removeLabel()\"\n (click)=\"remove.emit()\"\n >\n <span class=\"hx-chip-remove-icon\" aria-hidden=\"true\"></span>\n </button>\n}\n",
|
|
2636
2637
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
2637
2638
|
});
|
|
2638
2639
|
};
|
|
2639
2640
|
i0.ɵɵngDeclareClassMetadata({
|
|
2640
2641
|
minVersion: "12.0.0",
|
|
2641
|
-
version: "22.
|
|
2642
|
+
version: "22.3.0",
|
|
2642
2643
|
ngImport: i0,
|
|
2643
2644
|
type: HxChip,
|
|
2644
2645
|
decorators: [{
|
|
@@ -2655,7 +2656,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2655
2656
|
"(keydown.backspace)": "onKey($event)",
|
|
2656
2657
|
"(keydown.delete)": "onKey($event)"
|
|
2657
2658
|
},
|
|
2658
|
-
template: "@if (image()) {\n <img class=\"hx-chip-image\" [src]=\"image()\" [alt]=\"imageAlt()\" />\n} @else if (icon()) {\n <span class=\"hx-chip-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n}\n<span class=\"hx-chip-label\">{{ label() }}<ng-content /></span>\n@if (removable()) {\n <button
|
|
2659
|
+
template: "@if (image()) {\n <img class=\"hx-chip-image\" [src]=\"image()\" [alt]=\"imageAlt()\" />\n} @else if (icon()) {\n <span class=\"hx-chip-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n}\n<span class=\"hx-chip-label\">{{ label() }}<ng-content /></span>\n@if (removable()) {\n <button\n type=\"button\"\n class=\"hx-chip-remove\"\n [attr.aria-label]=\"removeLabel()\"\n (click)=\"remove.emit()\"\n >\n <span class=\"hx-chip-remove-icon\" aria-hidden=\"true\"></span>\n </button>\n}\n"
|
|
2659
2660
|
}]
|
|
2660
2661
|
}],
|
|
2661
2662
|
propDecorators: {
|
|
@@ -2735,7 +2736,7 @@ var HxDialogFrame = class HxDialogFrame {
|
|
|
2735
2736
|
closeClick = output();
|
|
2736
2737
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2737
2738
|
minVersion: "12.0.0",
|
|
2738
|
-
version: "22.
|
|
2739
|
+
version: "22.3.0",
|
|
2739
2740
|
ngImport: i0,
|
|
2740
2741
|
type: HxDialogFrame,
|
|
2741
2742
|
deps: [],
|
|
@@ -2743,7 +2744,7 @@ var HxDialogFrame = class HxDialogFrame {
|
|
|
2743
2744
|
});
|
|
2744
2745
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2745
2746
|
minVersion: "17.0.0",
|
|
2746
|
-
version: "22.
|
|
2747
|
+
version: "22.3.0",
|
|
2747
2748
|
type: HxDialogFrame,
|
|
2748
2749
|
isStandalone: true,
|
|
2749
2750
|
selector: "hx-dialog-frame",
|
|
@@ -2780,13 +2781,13 @@ var HxDialogFrame = class HxDialogFrame {
|
|
|
2780
2781
|
outputs: { closeClick: "closeClick" },
|
|
2781
2782
|
host: { classAttribute: "hx-dialog" },
|
|
2782
2783
|
ngImport: i0,
|
|
2783
|
-
template: "<h2 class=\"hx-dialog-title\" [id]=\"titleId()\"
|
|
2784
|
+
template: "<h2 class=\"hx-dialog-title\" [id]=\"titleId()\">\n {{ header() }}<ng-content select=\"[hxDialogHeader]\" />\n</h2>\n<div class=\"hx-dialog-content\"><ng-content /></div>\n<div class=\"hx-dialog-footer\"><ng-content select=\"[hxDialogFooter]\" /></div>\n@if (closable()) {\n <button\n type=\"button\"\n class=\"hx-dialog-close\"\n [attr.aria-label]=\"closeLabel()\"\n (click)=\"closeClick.emit()\"\n >\n <span class=\"hx-dialog-close-icon\" aria-hidden=\"true\"></span>\n </button>\n}\n",
|
|
2784
2785
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
2785
2786
|
});
|
|
2786
2787
|
};
|
|
2787
2788
|
i0.ɵɵngDeclareClassMetadata({
|
|
2788
2789
|
minVersion: "12.0.0",
|
|
2789
|
-
version: "22.
|
|
2790
|
+
version: "22.3.0",
|
|
2790
2791
|
ngImport: i0,
|
|
2791
2792
|
type: HxDialogFrame,
|
|
2792
2793
|
decorators: [{
|
|
@@ -2795,7 +2796,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2795
2796
|
selector: "hx-dialog-frame",
|
|
2796
2797
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2797
2798
|
host: { class: "hx-dialog" },
|
|
2798
|
-
template: "<h2 class=\"hx-dialog-title\" [id]=\"titleId()\"
|
|
2799
|
+
template: "<h2 class=\"hx-dialog-title\" [id]=\"titleId()\">\n {{ header() }}<ng-content select=\"[hxDialogHeader]\" />\n</h2>\n<div class=\"hx-dialog-content\"><ng-content /></div>\n<div class=\"hx-dialog-footer\"><ng-content select=\"[hxDialogFooter]\" /></div>\n@if (closable()) {\n <button\n type=\"button\"\n class=\"hx-dialog-close\"\n [attr.aria-label]=\"closeLabel()\"\n (click)=\"closeClick.emit()\"\n >\n <span class=\"hx-dialog-close-icon\" aria-hidden=\"true\"></span>\n </button>\n}\n"
|
|
2799
2800
|
}]
|
|
2800
2801
|
}],
|
|
2801
2802
|
propDecorators: {
|
|
@@ -2925,7 +2926,7 @@ var HxDialog = class HxDialog {
|
|
|
2925
2926
|
}
|
|
2926
2927
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2927
2928
|
minVersion: "12.0.0",
|
|
2928
|
-
version: "22.
|
|
2929
|
+
version: "22.3.0",
|
|
2929
2930
|
ngImport: i0,
|
|
2930
2931
|
type: HxDialog,
|
|
2931
2932
|
deps: [],
|
|
@@ -2933,7 +2934,7 @@ var HxDialog = class HxDialog {
|
|
|
2933
2934
|
});
|
|
2934
2935
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2935
2936
|
minVersion: "17.2.0",
|
|
2936
|
-
version: "22.
|
|
2937
|
+
version: "22.3.0",
|
|
2937
2938
|
type: HxDialog,
|
|
2938
2939
|
isStandalone: true,
|
|
2939
2940
|
selector: "hx-dialog",
|
|
@@ -3037,7 +3038,7 @@ var HxDialog = class HxDialog {
|
|
|
3037
3038
|
isSignal: true
|
|
3038
3039
|
}],
|
|
3039
3040
|
ngImport: i0,
|
|
3040
|
-
template: "<ng-template #panel>\n <hx-dialog-frame
|
|
3041
|
+
template: "<ng-template #panel>\n <hx-dialog-frame\n [header]=\"header()\"\n [titleId]=\"titleId\"\n [closable]=\"closable()\"\n [closeLabel]=\"closeLabel()\"\n (closeClick)=\"visible.set(false)\"\n >\n <ng-container ngProjectAs=\"[hxDialogHeader]\"\n ><ng-content select=\"[hxDialogHeader]\"\n /></ng-container>\n <ng-content />\n <ng-container ngProjectAs=\"[hxDialogFooter]\"\n ><ng-content select=\"[hxDialogFooter]\"\n /></ng-container>\n </hx-dialog-frame>\n</ng-template>\n",
|
|
3041
3042
|
dependencies: [{
|
|
3042
3043
|
kind: "component",
|
|
3043
3044
|
type: HxDialogFrame,
|
|
@@ -3055,7 +3056,7 @@ var HxDialog = class HxDialog {
|
|
|
3055
3056
|
};
|
|
3056
3057
|
i0.ɵɵngDeclareClassMetadata({
|
|
3057
3058
|
minVersion: "12.0.0",
|
|
3058
|
-
version: "22.
|
|
3059
|
+
version: "22.3.0",
|
|
3059
3060
|
ngImport: i0,
|
|
3060
3061
|
type: HxDialog,
|
|
3061
3062
|
decorators: [{
|
|
@@ -3065,7 +3066,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3065
3066
|
imports: [HxDialogFrame],
|
|
3066
3067
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3067
3068
|
host: { class: "hx-dialog-anchor" },
|
|
3068
|
-
template: "<ng-template #panel>\n <hx-dialog-frame
|
|
3069
|
+
template: "<ng-template #panel>\n <hx-dialog-frame\n [header]=\"header()\"\n [titleId]=\"titleId\"\n [closable]=\"closable()\"\n [closeLabel]=\"closeLabel()\"\n (closeClick)=\"visible.set(false)\"\n >\n <ng-container ngProjectAs=\"[hxDialogHeader]\"\n ><ng-content select=\"[hxDialogHeader]\"\n /></ng-container>\n <ng-content />\n <ng-container ngProjectAs=\"[hxDialogFooter]\"\n ><ng-content select=\"[hxDialogFooter]\"\n /></ng-container>\n </hx-dialog-frame>\n</ng-template>\n"
|
|
3069
3070
|
}]
|
|
3070
3071
|
}],
|
|
3071
3072
|
ctorParameters: () => [],
|
|
@@ -3217,7 +3218,7 @@ var HxDialogHost = class HxDialogHost {
|
|
|
3217
3218
|
}
|
|
3218
3219
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3219
3220
|
minVersion: "12.0.0",
|
|
3220
|
-
version: "22.
|
|
3221
|
+
version: "22.3.0",
|
|
3221
3222
|
ngImport: i0,
|
|
3222
3223
|
type: HxDialogHost,
|
|
3223
3224
|
deps: [],
|
|
@@ -3225,7 +3226,7 @@ var HxDialogHost = class HxDialogHost {
|
|
|
3225
3226
|
});
|
|
3226
3227
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3227
3228
|
minVersion: "17.2.0",
|
|
3228
|
-
version: "22.
|
|
3229
|
+
version: "22.3.0",
|
|
3229
3230
|
type: HxDialogHost,
|
|
3230
3231
|
isStandalone: true,
|
|
3231
3232
|
selector: "hx-dialog-host",
|
|
@@ -3268,7 +3269,7 @@ var HxDialogHost = class HxDialogHost {
|
|
|
3268
3269
|
};
|
|
3269
3270
|
i0.ɵɵngDeclareClassMetadata({
|
|
3270
3271
|
minVersion: "12.0.0",
|
|
3271
|
-
version: "22.
|
|
3272
|
+
version: "22.3.0",
|
|
3272
3273
|
ngImport: i0,
|
|
3273
3274
|
type: HxDialogHost,
|
|
3274
3275
|
decorators: [{
|
|
@@ -3334,7 +3335,7 @@ var HxDialogService = class HxDialogService {
|
|
|
3334
3335
|
}
|
|
3335
3336
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3336
3337
|
minVersion: "12.0.0",
|
|
3337
|
-
version: "22.
|
|
3338
|
+
version: "22.3.0",
|
|
3338
3339
|
ngImport: i0,
|
|
3339
3340
|
type: HxDialogService,
|
|
3340
3341
|
deps: [],
|
|
@@ -3342,7 +3343,7 @@ var HxDialogService = class HxDialogService {
|
|
|
3342
3343
|
});
|
|
3343
3344
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
3344
3345
|
minVersion: "12.0.0",
|
|
3345
|
-
version: "22.
|
|
3346
|
+
version: "22.3.0",
|
|
3346
3347
|
ngImport: i0,
|
|
3347
3348
|
type: HxDialogService,
|
|
3348
3349
|
providedIn: "root"
|
|
@@ -3350,7 +3351,7 @@ var HxDialogService = class HxDialogService {
|
|
|
3350
3351
|
};
|
|
3351
3352
|
i0.ɵɵngDeclareClassMetadata({
|
|
3352
3353
|
minVersion: "12.0.0",
|
|
3353
|
-
version: "22.
|
|
3354
|
+
version: "22.3.0",
|
|
3354
3355
|
ngImport: i0,
|
|
3355
3356
|
type: HxDialogService,
|
|
3356
3357
|
decorators: [{
|
|
@@ -3451,7 +3452,7 @@ var HxPopover = class HxPopover {
|
|
|
3451
3452
|
}
|
|
3452
3453
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3453
3454
|
minVersion: "12.0.0",
|
|
3454
|
-
version: "22.
|
|
3455
|
+
version: "22.3.0",
|
|
3455
3456
|
ngImport: i0,
|
|
3456
3457
|
type: HxPopover,
|
|
3457
3458
|
deps: [],
|
|
@@ -3459,7 +3460,7 @@ var HxPopover = class HxPopover {
|
|
|
3459
3460
|
});
|
|
3460
3461
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3461
3462
|
minVersion: "17.2.0",
|
|
3462
|
-
version: "22.
|
|
3463
|
+
version: "22.3.0",
|
|
3463
3464
|
type: HxPopover,
|
|
3464
3465
|
isStandalone: true,
|
|
3465
3466
|
selector: "hx-popover",
|
|
@@ -3574,7 +3575,7 @@ var HxPopover = class HxPopover {
|
|
|
3574
3575
|
};
|
|
3575
3576
|
i0.ɵɵngDeclareClassMetadata({
|
|
3576
3577
|
minVersion: "12.0.0",
|
|
3577
|
-
version: "22.
|
|
3578
|
+
version: "22.3.0",
|
|
3578
3579
|
ngImport: i0,
|
|
3579
3580
|
type: HxPopover,
|
|
3580
3581
|
decorators: [{
|
|
@@ -3678,7 +3679,7 @@ var HxConfirmationService = class HxConfirmationService {
|
|
|
3678
3679
|
}
|
|
3679
3680
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3680
3681
|
minVersion: "12.0.0",
|
|
3681
|
-
version: "22.
|
|
3682
|
+
version: "22.3.0",
|
|
3682
3683
|
ngImport: i0,
|
|
3683
3684
|
type: HxConfirmationService,
|
|
3684
3685
|
deps: [],
|
|
@@ -3686,7 +3687,7 @@ var HxConfirmationService = class HxConfirmationService {
|
|
|
3686
3687
|
});
|
|
3687
3688
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
3688
3689
|
minVersion: "12.0.0",
|
|
3689
|
-
version: "22.
|
|
3690
|
+
version: "22.3.0",
|
|
3690
3691
|
ngImport: i0,
|
|
3691
3692
|
type: HxConfirmationService,
|
|
3692
3693
|
providedIn: "root"
|
|
@@ -3694,7 +3695,7 @@ var HxConfirmationService = class HxConfirmationService {
|
|
|
3694
3695
|
};
|
|
3695
3696
|
i0.ɵɵngDeclareClassMetadata({
|
|
3696
3697
|
minVersion: "12.0.0",
|
|
3697
|
-
version: "22.
|
|
3698
|
+
version: "22.3.0",
|
|
3698
3699
|
ngImport: i0,
|
|
3699
3700
|
type: HxConfirmationService,
|
|
3700
3701
|
decorators: [{
|
|
@@ -3769,7 +3770,7 @@ var HxConfirmDialog = class HxConfirmDialog {
|
|
|
3769
3770
|
}
|
|
3770
3771
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3771
3772
|
minVersion: "12.0.0",
|
|
3772
|
-
version: "22.
|
|
3773
|
+
version: "22.3.0",
|
|
3773
3774
|
ngImport: i0,
|
|
3774
3775
|
type: HxConfirmDialog,
|
|
3775
3776
|
deps: [],
|
|
@@ -3777,7 +3778,7 @@ var HxConfirmDialog = class HxConfirmDialog {
|
|
|
3777
3778
|
});
|
|
3778
3779
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3779
3780
|
minVersion: "17.0.0",
|
|
3780
|
-
version: "22.
|
|
3781
|
+
version: "22.3.0",
|
|
3781
3782
|
type: HxConfirmDialog,
|
|
3782
3783
|
isStandalone: true,
|
|
3783
3784
|
selector: "hx-confirm-dialog",
|
|
@@ -3790,7 +3791,7 @@ var HxConfirmDialog = class HxConfirmDialog {
|
|
|
3790
3791
|
isSignal: true
|
|
3791
3792
|
}],
|
|
3792
3793
|
ngImport: i0,
|
|
3793
|
-
template: "<ng-template #panel>\n @if (current(); as c) {\n <hx-dialog-frame [header]=\"c.header\" [titleId]=\"titleId\" [closable]=\"false\">\n <div class=\"hx-confirm-content\">\n @if (c.icon) {\n <span class=\"hx-confirm-icon\" [class]=\"c.icon\" aria-hidden=\"true\"></span>\n }\n <p class=\"hx-confirm-message\" [id]=\"messageId\">{{ c.message }}</p>\n </div>\n <ng-container ngProjectAs=\"[hxDialogFooter]\">\n <button
|
|
3794
|
+
template: "<ng-template #panel>\n @if (current(); as c) {\n <hx-dialog-frame [header]=\"c.header\" [titleId]=\"titleId\" [closable]=\"false\">\n <div class=\"hx-confirm-content\">\n @if (c.icon) {\n <span class=\"hx-confirm-icon\" [class]=\"c.icon\" aria-hidden=\"true\"></span>\n }\n <p class=\"hx-confirm-message\" [id]=\"messageId\">{{ c.message }}</p>\n </div>\n <ng-container ngProjectAs=\"[hxDialogFooter]\">\n <button\n hx-button\n type=\"button\"\n variant=\"text\"\n severity=\"secondary\"\n class=\"hx-confirm-reject\"\n (click)=\"answer(false)\"\n >\n {{ c.rejectLabel ?? 'No' }}\n </button>\n <button\n hx-button\n type=\"button\"\n class=\"hx-confirm-accept\"\n [severity]=\"c.acceptSeverity ?? 'primary'\"\n (click)=\"answer(true)\"\n >\n {{ c.acceptLabel ?? 'Yes' }}\n </button>\n </ng-container>\n </hx-dialog-frame>\n }\n</ng-template>\n",
|
|
3794
3795
|
dependencies: [{
|
|
3795
3796
|
kind: "component",
|
|
3796
3797
|
type: HxDialogFrame,
|
|
@@ -3823,7 +3824,7 @@ var HxConfirmDialog = class HxConfirmDialog {
|
|
|
3823
3824
|
};
|
|
3824
3825
|
i0.ɵɵngDeclareClassMetadata({
|
|
3825
3826
|
minVersion: "12.0.0",
|
|
3826
|
-
version: "22.
|
|
3827
|
+
version: "22.3.0",
|
|
3827
3828
|
ngImport: i0,
|
|
3828
3829
|
type: HxConfirmDialog,
|
|
3829
3830
|
decorators: [{
|
|
@@ -3833,7 +3834,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3833
3834
|
imports: [HxDialogFrame, HxButton],
|
|
3834
3835
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3835
3836
|
host: { class: "hx-confirm-anchor" },
|
|
3836
|
-
template: "<ng-template #panel>\n @if (current(); as c) {\n <hx-dialog-frame [header]=\"c.header\" [titleId]=\"titleId\" [closable]=\"false\">\n <div class=\"hx-confirm-content\">\n @if (c.icon) {\n <span class=\"hx-confirm-icon\" [class]=\"c.icon\" aria-hidden=\"true\"></span>\n }\n <p class=\"hx-confirm-message\" [id]=\"messageId\">{{ c.message }}</p>\n </div>\n <ng-container ngProjectAs=\"[hxDialogFooter]\">\n <button
|
|
3837
|
+
template: "<ng-template #panel>\n @if (current(); as c) {\n <hx-dialog-frame [header]=\"c.header\" [titleId]=\"titleId\" [closable]=\"false\">\n <div class=\"hx-confirm-content\">\n @if (c.icon) {\n <span class=\"hx-confirm-icon\" [class]=\"c.icon\" aria-hidden=\"true\"></span>\n }\n <p class=\"hx-confirm-message\" [id]=\"messageId\">{{ c.message }}</p>\n </div>\n <ng-container ngProjectAs=\"[hxDialogFooter]\">\n <button\n hx-button\n type=\"button\"\n variant=\"text\"\n severity=\"secondary\"\n class=\"hx-confirm-reject\"\n (click)=\"answer(false)\"\n >\n {{ c.rejectLabel ?? 'No' }}\n </button>\n <button\n hx-button\n type=\"button\"\n class=\"hx-confirm-accept\"\n [severity]=\"c.acceptSeverity ?? 'primary'\"\n (click)=\"answer(true)\"\n >\n {{ c.acceptLabel ?? 'Yes' }}\n </button>\n </ng-container>\n </hx-dialog-frame>\n }\n</ng-template>\n"
|
|
3837
3838
|
}]
|
|
3838
3839
|
}],
|
|
3839
3840
|
ctorParameters: () => [],
|
|
@@ -3874,7 +3875,7 @@ var HxConfirmPopup = class HxConfirmPopup {
|
|
|
3874
3875
|
}
|
|
3875
3876
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3876
3877
|
minVersion: "12.0.0",
|
|
3877
|
-
version: "22.
|
|
3878
|
+
version: "22.3.0",
|
|
3878
3879
|
ngImport: i0,
|
|
3879
3880
|
type: HxConfirmPopup,
|
|
3880
3881
|
deps: [],
|
|
@@ -3882,7 +3883,7 @@ var HxConfirmPopup = class HxConfirmPopup {
|
|
|
3882
3883
|
});
|
|
3883
3884
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3884
3885
|
minVersion: "17.0.0",
|
|
3885
|
-
version: "22.
|
|
3886
|
+
version: "22.3.0",
|
|
3886
3887
|
type: HxConfirmPopup,
|
|
3887
3888
|
isStandalone: true,
|
|
3888
3889
|
selector: "hx-confirm-popup",
|
|
@@ -3895,7 +3896,7 @@ var HxConfirmPopup = class HxConfirmPopup {
|
|
|
3895
3896
|
isSignal: true
|
|
3896
3897
|
}],
|
|
3897
3898
|
ngImport: i0,
|
|
3898
|
-
template: "<hx-popover
|
|
3899
|
+
template: "<hx-popover\n #popover\n role=\"alertdialog\"\n panelClass=\"hx-confirm-popup\"\n ariaLabel=\"Confirmation\"\n [ariaDescribedBy]=\"messageId\"\n (hidden)=\"onHidden()\"\n>\n @if (current(); as c) {\n <div class=\"hx-confirm-popup-content\">\n @if (c.icon) {\n <span class=\"hx-confirm-popup-icon\" [class]=\"c.icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-confirm-popup-message\" [id]=\"messageId\">{{ c.message }}</span>\n </div>\n <div class=\"hx-confirm-popup-footer\">\n <button\n hx-button\n type=\"button\"\n variant=\"text\"\n severity=\"secondary\"\n size=\"small\"\n class=\"hx-confirm-reject\"\n (click)=\"answer(false)\"\n >\n {{ c.rejectLabel ?? 'No' }}\n </button>\n <button\n hx-button\n type=\"button\"\n size=\"small\"\n class=\"hx-confirm-accept\"\n [severity]=\"c.acceptSeverity ?? 'primary'\"\n (click)=\"answer(true)\"\n >\n {{ c.acceptLabel ?? 'Yes' }}\n </button>\n </div>\n }\n</hx-popover>\n",
|
|
3899
3900
|
dependencies: [{
|
|
3900
3901
|
kind: "component",
|
|
3901
3902
|
type: HxPopover,
|
|
@@ -3931,7 +3932,7 @@ var HxConfirmPopup = class HxConfirmPopup {
|
|
|
3931
3932
|
};
|
|
3932
3933
|
i0.ɵɵngDeclareClassMetadata({
|
|
3933
3934
|
minVersion: "12.0.0",
|
|
3934
|
-
version: "22.
|
|
3935
|
+
version: "22.3.0",
|
|
3935
3936
|
ngImport: i0,
|
|
3936
3937
|
type: HxConfirmPopup,
|
|
3937
3938
|
decorators: [{
|
|
@@ -3941,7 +3942,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3941
3942
|
imports: [HxPopover, HxButton],
|
|
3942
3943
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3943
3944
|
host: { class: "hx-confirm-anchor" },
|
|
3944
|
-
template: "<hx-popover
|
|
3945
|
+
template: "<hx-popover\n #popover\n role=\"alertdialog\"\n panelClass=\"hx-confirm-popup\"\n ariaLabel=\"Confirmation\"\n [ariaDescribedBy]=\"messageId\"\n (hidden)=\"onHidden()\"\n>\n @if (current(); as c) {\n <div class=\"hx-confirm-popup-content\">\n @if (c.icon) {\n <span class=\"hx-confirm-popup-icon\" [class]=\"c.icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-confirm-popup-message\" [id]=\"messageId\">{{ c.message }}</span>\n </div>\n <div class=\"hx-confirm-popup-footer\">\n <button\n hx-button\n type=\"button\"\n variant=\"text\"\n severity=\"secondary\"\n size=\"small\"\n class=\"hx-confirm-reject\"\n (click)=\"answer(false)\"\n >\n {{ c.rejectLabel ?? 'No' }}\n </button>\n <button\n hx-button\n type=\"button\"\n size=\"small\"\n class=\"hx-confirm-accept\"\n [severity]=\"c.acceptSeverity ?? 'primary'\"\n (click)=\"answer(true)\"\n >\n {{ c.acceptLabel ?? 'Yes' }}\n </button>\n </div>\n }\n</hx-popover>\n"
|
|
3945
3946
|
}]
|
|
3946
3947
|
}],
|
|
3947
3948
|
ctorParameters: () => [],
|
|
@@ -3993,7 +3994,7 @@ var HxInput = class HxInput {
|
|
|
3993
3994
|
}
|
|
3994
3995
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3995
3996
|
minVersion: "12.0.0",
|
|
3996
|
-
version: "22.
|
|
3997
|
+
version: "22.3.0",
|
|
3997
3998
|
ngImport: i0,
|
|
3998
3999
|
type: HxInput,
|
|
3999
4000
|
deps: [],
|
|
@@ -4001,7 +4002,7 @@ var HxInput = class HxInput {
|
|
|
4001
4002
|
});
|
|
4002
4003
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
4003
4004
|
minVersion: "17.1.0",
|
|
4004
|
-
version: "22.
|
|
4005
|
+
version: "22.3.0",
|
|
4005
4006
|
type: HxInput,
|
|
4006
4007
|
isStandalone: true,
|
|
4007
4008
|
selector: "input[hx-input], textarea[hx-input]",
|
|
@@ -4052,7 +4053,7 @@ var HxInput = class HxInput {
|
|
|
4052
4053
|
};
|
|
4053
4054
|
i0.ɵɵngDeclareClassMetadata({
|
|
4054
4055
|
minVersion: "12.0.0",
|
|
4055
|
-
version: "22.
|
|
4056
|
+
version: "22.3.0",
|
|
4056
4057
|
ngImport: i0,
|
|
4057
4058
|
type: HxInput,
|
|
4058
4059
|
decorators: [{
|
|
@@ -4290,7 +4291,7 @@ var HxSelect = class HxSelect {
|
|
|
4290
4291
|
}
|
|
4291
4292
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4292
4293
|
minVersion: "12.0.0",
|
|
4293
|
-
version: "22.
|
|
4294
|
+
version: "22.3.0",
|
|
4294
4295
|
ngImport: i0,
|
|
4295
4296
|
type: HxSelect,
|
|
4296
4297
|
deps: [],
|
|
@@ -4298,7 +4299,7 @@ var HxSelect = class HxSelect {
|
|
|
4298
4299
|
});
|
|
4299
4300
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4300
4301
|
minVersion: "17.0.0",
|
|
4301
|
-
version: "22.
|
|
4302
|
+
version: "22.3.0",
|
|
4302
4303
|
type: HxSelect,
|
|
4303
4304
|
isStandalone: true,
|
|
4304
4305
|
selector: "hx-select",
|
|
@@ -4506,7 +4507,7 @@ var HxSelect = class HxSelect {
|
|
|
4506
4507
|
}
|
|
4507
4508
|
],
|
|
4508
4509
|
ngImport: i0,
|
|
4509
|
-
template: "<button\n #trigger\n type=\"button\"\n class=\"hx-select-trigger\"\n role=\"combobox\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [disabled]=\"isDisabled()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-describedby]=\"ariaDescribedby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"toggle()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"hx-select-label\" [class.hx-select-placeholder]=\"!selected()\">{{\n selected()?.label ?? placeholder()\n }}</span>\n <span class=\"hx-select-chevron\" aria-hidden=\"true\"></span>\n</button>\n@if (canClear()) {\n <button
|
|
4510
|
+
template: "<button\n #trigger\n type=\"button\"\n class=\"hx-select-trigger\"\n role=\"combobox\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [disabled]=\"isDisabled()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-describedby]=\"ariaDescribedby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"toggle()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"hx-select-label\" [class.hx-select-placeholder]=\"!selected()\">{{\n selected()?.label ?? placeholder()\n }}</span>\n <span class=\"hx-select-chevron\" aria-hidden=\"true\"></span>\n</button>\n@if (canClear()) {\n <button\n type=\"button\"\n class=\"hx-select-clear\"\n aria-label=\"Clear selection\"\n (click)=\"clear($event)\"\n >\n <span class=\"hx-select-clear-icon\" aria-hidden=\"true\"></span>\n </button>\n}\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayPanelClass]=\"overlayClass\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"close()\"\n>\n <div class=\"hx-select-panel\">\n @if (filter()) {\n <div class=\"hx-select-header\">\n <input\n #filterField\n type=\"text\"\n class=\"hx-select-filter\"\n autocomplete=\"off\"\n [attr.aria-label]=\"filterPlaceholder()\"\n [attr.aria-controls]=\"panelId\"\n [placeholder]=\"filterPlaceholder()\"\n [value]=\"query()\"\n (input)=\"query.set($any($event.target).value)\"\n (keydown)=\"onFilterKeydown($event)\"\n />\n </div>\n }\n <div\n cdkListbox\n class=\"hx-select-list\"\n [id]=\"panelId\"\n [cdkListboxValue]=\"selectedValues()\"\n [cdkListboxUseActiveDescendant]=\"true\"\n [cdkListboxCompareWith]=\"compareWith()\"\n [attr.aria-label]=\"ariaLabel() ?? placeholder() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (cdkListboxValueChange)=\"onSelect($event)\"\n >\n @for (item of visibleItems(); track item) {\n <div\n class=\"hx-select-option\"\n [cdkOption]=\"item.value\"\n [cdkOptionDisabled]=\"item.disabled\"\n [cdkOptionTypeaheadLabel]=\"item.label\"\n >\n <span class=\"hx-select-check\" aria-hidden=\"true\"></span>\n <span>{{ item.label }}</span>\n </div>\n } @empty {\n <div class=\"hx-select-empty\">\n {{ query().trim() ? emptyFilterMessage() : emptyMessage() }}\n </div>\n }\n </div>\n @if (filter()) {\n <span class=\"hx-select-sr-only\" aria-live=\"polite\">{{ resultsLabel() }}</span>\n }\n </div>\n</ng-template>\n",
|
|
4510
4511
|
dependencies: [
|
|
4511
4512
|
{
|
|
4512
4513
|
kind: "directive",
|
|
@@ -4593,7 +4594,7 @@ var HxSelect = class HxSelect {
|
|
|
4593
4594
|
};
|
|
4594
4595
|
i0.ɵɵngDeclareClassMetadata({
|
|
4595
4596
|
minVersion: "12.0.0",
|
|
4596
|
-
version: "22.
|
|
4597
|
+
version: "22.3.0",
|
|
4597
4598
|
ngImport: i0,
|
|
4598
4599
|
type: HxSelect,
|
|
4599
4600
|
decorators: [{
|
|
@@ -4625,7 +4626,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4625
4626
|
"[class.hx-filled]": "!!selected()",
|
|
4626
4627
|
"(focusout)": "onFocusOut($event)"
|
|
4627
4628
|
},
|
|
4628
|
-
template: "<button\n #trigger\n type=\"button\"\n class=\"hx-select-trigger\"\n role=\"combobox\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [disabled]=\"isDisabled()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-describedby]=\"ariaDescribedby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"toggle()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"hx-select-label\" [class.hx-select-placeholder]=\"!selected()\">{{\n selected()?.label ?? placeholder()\n }}</span>\n <span class=\"hx-select-chevron\" aria-hidden=\"true\"></span>\n</button>\n@if (canClear()) {\n <button
|
|
4629
|
+
template: "<button\n #trigger\n type=\"button\"\n class=\"hx-select-trigger\"\n role=\"combobox\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [disabled]=\"isDisabled()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-describedby]=\"ariaDescribedby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"toggle()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"hx-select-label\" [class.hx-select-placeholder]=\"!selected()\">{{\n selected()?.label ?? placeholder()\n }}</span>\n <span class=\"hx-select-chevron\" aria-hidden=\"true\"></span>\n</button>\n@if (canClear()) {\n <button\n type=\"button\"\n class=\"hx-select-clear\"\n aria-label=\"Clear selection\"\n (click)=\"clear($event)\"\n >\n <span class=\"hx-select-clear-icon\" aria-hidden=\"true\"></span>\n </button>\n}\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayPanelClass]=\"overlayClass\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"close()\"\n>\n <div class=\"hx-select-panel\">\n @if (filter()) {\n <div class=\"hx-select-header\">\n <input\n #filterField\n type=\"text\"\n class=\"hx-select-filter\"\n autocomplete=\"off\"\n [attr.aria-label]=\"filterPlaceholder()\"\n [attr.aria-controls]=\"panelId\"\n [placeholder]=\"filterPlaceholder()\"\n [value]=\"query()\"\n (input)=\"query.set($any($event.target).value)\"\n (keydown)=\"onFilterKeydown($event)\"\n />\n </div>\n }\n <div\n cdkListbox\n class=\"hx-select-list\"\n [id]=\"panelId\"\n [cdkListboxValue]=\"selectedValues()\"\n [cdkListboxUseActiveDescendant]=\"true\"\n [cdkListboxCompareWith]=\"compareWith()\"\n [attr.aria-label]=\"ariaLabel() ?? placeholder() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (cdkListboxValueChange)=\"onSelect($event)\"\n >\n @for (item of visibleItems(); track item) {\n <div\n class=\"hx-select-option\"\n [cdkOption]=\"item.value\"\n [cdkOptionDisabled]=\"item.disabled\"\n [cdkOptionTypeaheadLabel]=\"item.label\"\n >\n <span class=\"hx-select-check\" aria-hidden=\"true\"></span>\n <span>{{ item.label }}</span>\n </div>\n } @empty {\n <div class=\"hx-select-empty\">\n {{ query().trim() ? emptyFilterMessage() : emptyMessage() }}\n </div>\n }\n </div>\n @if (filter()) {\n <span class=\"hx-select-sr-only\" aria-live=\"polite\">{{ resultsLabel() }}</span>\n }\n </div>\n</ng-template>\n"
|
|
4629
4630
|
}]
|
|
4630
4631
|
}],
|
|
4631
4632
|
propDecorators: {
|
|
@@ -4916,7 +4917,7 @@ var HxPaginator = class HxPaginator {
|
|
|
4916
4917
|
}
|
|
4917
4918
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4918
4919
|
minVersion: "12.0.0",
|
|
4919
|
-
version: "22.
|
|
4920
|
+
version: "22.3.0",
|
|
4920
4921
|
ngImport: i0,
|
|
4921
4922
|
type: HxPaginator,
|
|
4922
4923
|
deps: [],
|
|
@@ -4924,7 +4925,7 @@ var HxPaginator = class HxPaginator {
|
|
|
4924
4925
|
});
|
|
4925
4926
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4926
4927
|
minVersion: "17.0.0",
|
|
4927
|
-
version: "22.
|
|
4928
|
+
version: "22.3.0",
|
|
4928
4929
|
type: HxPaginator,
|
|
4929
4930
|
isStandalone: true,
|
|
4930
4931
|
selector: "hx-paginator",
|
|
@@ -5057,7 +5058,7 @@ var HxPaginator = class HxPaginator {
|
|
|
5057
5058
|
},
|
|
5058
5059
|
host: { classAttribute: "hx-paginator" },
|
|
5059
5060
|
ngImport: i0,
|
|
5060
|
-
template: "<nav class=\"hx-paginator-nav\" [attr.aria-label]=\"ariaLabel()\">\n @if (showCurrentPageReport()) {\n <span class=\"hx-paginator-report\" aria-live=\"polite\">{{ report() }}</span>\n }\n <div class=\"hx-paginator-pages\">\n @if (showFirstLastButtons()) {\n <button
|
|
5061
|
+
template: "<nav class=\"hx-paginator-nav\" [attr.aria-label]=\"ariaLabel()\">\n @if (showCurrentPageReport()) {\n <span class=\"hx-paginator-report\" aria-live=\"polite\">{{ report() }}</span>\n }\n <div class=\"hx-paginator-pages\">\n @if (showFirstLastButtons()) {\n <button\n type=\"button\"\n class=\"hx-paginator-button hx-paginator-first\"\n [disabled]=\"isFirst()\"\n [attr.aria-label]=\"firstPageLabel()\"\n [title]=\"firstPageLabel()\"\n (click)=\"goTo(0)\"\n ></button>\n }\n <button\n type=\"button\"\n class=\"hx-paginator-button hx-paginator-prev\"\n [disabled]=\"isFirst()\"\n [attr.aria-label]=\"previousPageLabel()\"\n [title]=\"previousPageLabel()\"\n (click)=\"goTo(page() - 1)\"\n ></button>\n @for (p of links(); track p) {\n <button\n type=\"button\"\n class=\"hx-paginator-button hx-paginator-page\"\n [class.hx-paginator-page-current]=\"p === page()\"\n [attr.aria-label]=\"pageLabel(p)\"\n [attr.aria-current]=\"p === page() ? 'page' : null\"\n (click)=\"goTo(p)\"\n >\n {{ p + 1 }}\n </button>\n }\n <button\n type=\"button\"\n class=\"hx-paginator-button hx-paginator-next\"\n [disabled]=\"isLast()\"\n [attr.aria-label]=\"nextPageLabel()\"\n [title]=\"nextPageLabel()\"\n (click)=\"goTo(page() + 1)\"\n ></button>\n @if (showFirstLastButtons()) {\n <button\n type=\"button\"\n class=\"hx-paginator-button hx-paginator-last\"\n [disabled]=\"isLast()\"\n [attr.aria-label]=\"lastPageLabel()\"\n [title]=\"lastPageLabel()\"\n (click)=\"goTo(pageCount() - 1)\"\n ></button>\n }\n </div>\n @if (rowsOptions().length) {\n <hx-select\n class=\"hx-paginator-rows\"\n [options]=\"rowsOptions()\"\n [value]=\"rowsValue()\"\n (valueChange)=\"setRows($event)\"\n [ariaLabel]=\"rowsPerPageLabel()\"\n />\n }\n</nav>\n",
|
|
5061
5062
|
dependencies: [{
|
|
5062
5063
|
kind: "component",
|
|
5063
5064
|
type: HxSelect,
|
|
@@ -5093,7 +5094,7 @@ var HxPaginator = class HxPaginator {
|
|
|
5093
5094
|
};
|
|
5094
5095
|
i0.ɵɵngDeclareClassMetadata({
|
|
5095
5096
|
minVersion: "12.0.0",
|
|
5096
|
-
version: "22.
|
|
5097
|
+
version: "22.3.0",
|
|
5097
5098
|
ngImport: i0,
|
|
5098
5099
|
type: HxPaginator,
|
|
5099
5100
|
decorators: [{
|
|
@@ -5103,7 +5104,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5103
5104
|
imports: [HxSelect],
|
|
5104
5105
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5105
5106
|
host: { class: "hx-paginator" },
|
|
5106
|
-
template: "<nav class=\"hx-paginator-nav\" [attr.aria-label]=\"ariaLabel()\">\n @if (showCurrentPageReport()) {\n <span class=\"hx-paginator-report\" aria-live=\"polite\">{{ report() }}</span>\n }\n <div class=\"hx-paginator-pages\">\n @if (showFirstLastButtons()) {\n <button
|
|
5107
|
+
template: "<nav class=\"hx-paginator-nav\" [attr.aria-label]=\"ariaLabel()\">\n @if (showCurrentPageReport()) {\n <span class=\"hx-paginator-report\" aria-live=\"polite\">{{ report() }}</span>\n }\n <div class=\"hx-paginator-pages\">\n @if (showFirstLastButtons()) {\n <button\n type=\"button\"\n class=\"hx-paginator-button hx-paginator-first\"\n [disabled]=\"isFirst()\"\n [attr.aria-label]=\"firstPageLabel()\"\n [title]=\"firstPageLabel()\"\n (click)=\"goTo(0)\"\n ></button>\n }\n <button\n type=\"button\"\n class=\"hx-paginator-button hx-paginator-prev\"\n [disabled]=\"isFirst()\"\n [attr.aria-label]=\"previousPageLabel()\"\n [title]=\"previousPageLabel()\"\n (click)=\"goTo(page() - 1)\"\n ></button>\n @for (p of links(); track p) {\n <button\n type=\"button\"\n class=\"hx-paginator-button hx-paginator-page\"\n [class.hx-paginator-page-current]=\"p === page()\"\n [attr.aria-label]=\"pageLabel(p)\"\n [attr.aria-current]=\"p === page() ? 'page' : null\"\n (click)=\"goTo(p)\"\n >\n {{ p + 1 }}\n </button>\n }\n <button\n type=\"button\"\n class=\"hx-paginator-button hx-paginator-next\"\n [disabled]=\"isLast()\"\n [attr.aria-label]=\"nextPageLabel()\"\n [title]=\"nextPageLabel()\"\n (click)=\"goTo(page() + 1)\"\n ></button>\n @if (showFirstLastButtons()) {\n <button\n type=\"button\"\n class=\"hx-paginator-button hx-paginator-last\"\n [disabled]=\"isLast()\"\n [attr.aria-label]=\"lastPageLabel()\"\n [title]=\"lastPageLabel()\"\n (click)=\"goTo(pageCount() - 1)\"\n ></button>\n }\n </div>\n @if (rowsOptions().length) {\n <hx-select\n class=\"hx-paginator-rows\"\n [options]=\"rowsOptions()\"\n [value]=\"rowsValue()\"\n (valueChange)=\"setRows($event)\"\n [ariaLabel]=\"rowsPerPageLabel()\"\n />\n }\n</nav>\n"
|
|
5107
5108
|
}]
|
|
5108
5109
|
}],
|
|
5109
5110
|
propDecorators: {
|
|
@@ -5277,7 +5278,7 @@ var HxProgressBar = class HxProgressBar {
|
|
|
5277
5278
|
}, ...ngDevMode ? [{ debugName: "clamped" }] : /* istanbul ignore next */ []);
|
|
5278
5279
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5279
5280
|
minVersion: "12.0.0",
|
|
5280
|
-
version: "22.
|
|
5281
|
+
version: "22.3.0",
|
|
5281
5282
|
ngImport: i0,
|
|
5282
5283
|
type: HxProgressBar,
|
|
5283
5284
|
deps: [],
|
|
@@ -5285,7 +5286,7 @@ var HxProgressBar = class HxProgressBar {
|
|
|
5285
5286
|
});
|
|
5286
5287
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5287
5288
|
minVersion: "17.0.0",
|
|
5288
|
-
version: "22.
|
|
5289
|
+
version: "22.3.0",
|
|
5289
5290
|
type: HxProgressBar,
|
|
5290
5291
|
isStandalone: true,
|
|
5291
5292
|
selector: "hx-progress-bar",
|
|
@@ -5346,7 +5347,7 @@ var HxProgressBar = class HxProgressBar {
|
|
|
5346
5347
|
};
|
|
5347
5348
|
i0.ɵɵngDeclareClassMetadata({
|
|
5348
5349
|
minVersion: "12.0.0",
|
|
5349
|
-
version: "22.
|
|
5350
|
+
version: "22.3.0",
|
|
5350
5351
|
ngImport: i0,
|
|
5351
5352
|
type: HxProgressBar,
|
|
5352
5353
|
decorators: [{
|
|
@@ -5415,7 +5416,7 @@ var HxProgressSpinner = class HxProgressSpinner {
|
|
|
5415
5416
|
ariaLabel = input("Loading", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
5416
5417
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5417
5418
|
minVersion: "12.0.0",
|
|
5418
|
-
version: "22.
|
|
5419
|
+
version: "22.3.0",
|
|
5419
5420
|
ngImport: i0,
|
|
5420
5421
|
type: HxProgressSpinner,
|
|
5421
5422
|
deps: [],
|
|
@@ -5423,7 +5424,7 @@ var HxProgressSpinner = class HxProgressSpinner {
|
|
|
5423
5424
|
});
|
|
5424
5425
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5425
5426
|
minVersion: "17.1.0",
|
|
5426
|
-
version: "22.
|
|
5427
|
+
version: "22.3.0",
|
|
5427
5428
|
type: HxProgressSpinner,
|
|
5428
5429
|
isStandalone: true,
|
|
5429
5430
|
selector: "hx-progress-spinner",
|
|
@@ -5456,13 +5457,13 @@ var HxProgressSpinner = class HxProgressSpinner {
|
|
|
5456
5457
|
classAttribute: "hx-progress-spinner"
|
|
5457
5458
|
},
|
|
5458
5459
|
ngImport: i0,
|
|
5459
|
-
template: "<svg
|
|
5460
|
+
template: "<svg\n class=\"hx-progress-spinner-svg\"\n viewBox=\"25 25 50 50\"\n aria-hidden=\"true\"\n [style.animation-duration]=\"animationDuration()\"\n>\n <circle\n class=\"hx-progress-spinner-circle\"\n cx=\"50\"\n cy=\"50\"\n r=\"20\"\n fill=\"none\"\n [attr.stroke-width]=\"strokeWidth()\"\n stroke-miterlimit=\"10\"\n [style.animation-duration]=\"animationDuration()\"\n />\n</svg>\n",
|
|
5460
5461
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5461
5462
|
});
|
|
5462
5463
|
};
|
|
5463
5464
|
i0.ɵɵngDeclareClassMetadata({
|
|
5464
5465
|
minVersion: "12.0.0",
|
|
5465
|
-
version: "22.
|
|
5466
|
+
version: "22.3.0",
|
|
5466
5467
|
ngImport: i0,
|
|
5467
5468
|
type: HxProgressSpinner,
|
|
5468
5469
|
decorators: [{
|
|
@@ -5475,7 +5476,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5475
5476
|
role: "progressbar",
|
|
5476
5477
|
"[attr.aria-label]": "ariaLabel()"
|
|
5477
5478
|
},
|
|
5478
|
-
template: "<svg
|
|
5479
|
+
template: "<svg\n class=\"hx-progress-spinner-svg\"\n viewBox=\"25 25 50 50\"\n aria-hidden=\"true\"\n [style.animation-duration]=\"animationDuration()\"\n>\n <circle\n class=\"hx-progress-spinner-circle\"\n cx=\"50\"\n cy=\"50\"\n r=\"20\"\n fill=\"none\"\n [attr.stroke-width]=\"strokeWidth()\"\n stroke-miterlimit=\"10\"\n [style.animation-duration]=\"animationDuration()\"\n />\n</svg>\n"
|
|
5479
5480
|
}]
|
|
5480
5481
|
}],
|
|
5481
5482
|
propDecorators: {
|
|
@@ -5532,7 +5533,7 @@ var HxCell = class HxCell {
|
|
|
5532
5533
|
template = inject(TemplateRef);
|
|
5533
5534
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5534
5535
|
minVersion: "12.0.0",
|
|
5535
|
-
version: "22.
|
|
5536
|
+
version: "22.3.0",
|
|
5536
5537
|
ngImport: i0,
|
|
5537
5538
|
type: HxCell,
|
|
5538
5539
|
deps: [],
|
|
@@ -5540,7 +5541,7 @@ var HxCell = class HxCell {
|
|
|
5540
5541
|
});
|
|
5541
5542
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
5542
5543
|
minVersion: "17.1.0",
|
|
5543
|
-
version: "22.
|
|
5544
|
+
version: "22.3.0",
|
|
5544
5545
|
type: HxCell,
|
|
5545
5546
|
isStandalone: true,
|
|
5546
5547
|
selector: "ng-template[hxCell]",
|
|
@@ -5556,7 +5557,7 @@ var HxCell = class HxCell {
|
|
|
5556
5557
|
};
|
|
5557
5558
|
i0.ɵɵngDeclareClassMetadata({
|
|
5558
5559
|
minVersion: "12.0.0",
|
|
5559
|
-
version: "22.
|
|
5560
|
+
version: "22.3.0",
|
|
5560
5561
|
ngImport: i0,
|
|
5561
5562
|
type: HxCell,
|
|
5562
5563
|
decorators: [{
|
|
@@ -5580,7 +5581,7 @@ var HxColumnHeader = class HxColumnHeader {
|
|
|
5580
5581
|
template = inject(TemplateRef);
|
|
5581
5582
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5582
5583
|
minVersion: "12.0.0",
|
|
5583
|
-
version: "22.
|
|
5584
|
+
version: "22.3.0",
|
|
5584
5585
|
ngImport: i0,
|
|
5585
5586
|
type: HxColumnHeader,
|
|
5586
5587
|
deps: [],
|
|
@@ -5588,7 +5589,7 @@ var HxColumnHeader = class HxColumnHeader {
|
|
|
5588
5589
|
});
|
|
5589
5590
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
5590
5591
|
minVersion: "17.1.0",
|
|
5591
|
-
version: "22.
|
|
5592
|
+
version: "22.3.0",
|
|
5592
5593
|
type: HxColumnHeader,
|
|
5593
5594
|
isStandalone: true,
|
|
5594
5595
|
selector: "ng-template[hxColumnHeader]",
|
|
@@ -5604,7 +5605,7 @@ var HxColumnHeader = class HxColumnHeader {
|
|
|
5604
5605
|
};
|
|
5605
5606
|
i0.ɵɵngDeclareClassMetadata({
|
|
5606
5607
|
minVersion: "12.0.0",
|
|
5607
|
-
version: "22.
|
|
5608
|
+
version: "22.3.0",
|
|
5608
5609
|
ngImport: i0,
|
|
5609
5610
|
type: HxColumnHeader,
|
|
5610
5611
|
decorators: [{
|
|
@@ -5624,7 +5625,7 @@ var HxTableHeader = class HxTableHeader {
|
|
|
5624
5625
|
template = inject(TemplateRef);
|
|
5625
5626
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5626
5627
|
minVersion: "12.0.0",
|
|
5627
|
-
version: "22.
|
|
5628
|
+
version: "22.3.0",
|
|
5628
5629
|
ngImport: i0,
|
|
5629
5630
|
type: HxTableHeader,
|
|
5630
5631
|
deps: [],
|
|
@@ -5632,7 +5633,7 @@ var HxTableHeader = class HxTableHeader {
|
|
|
5632
5633
|
});
|
|
5633
5634
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
5634
5635
|
minVersion: "14.0.0",
|
|
5635
|
-
version: "22.
|
|
5636
|
+
version: "22.3.0",
|
|
5636
5637
|
type: HxTableHeader,
|
|
5637
5638
|
isStandalone: true,
|
|
5638
5639
|
selector: "ng-template[hxTableHeader]",
|
|
@@ -5641,7 +5642,7 @@ var HxTableHeader = class HxTableHeader {
|
|
|
5641
5642
|
};
|
|
5642
5643
|
i0.ɵɵngDeclareClassMetadata({
|
|
5643
5644
|
minVersion: "12.0.0",
|
|
5644
|
-
version: "22.
|
|
5645
|
+
version: "22.3.0",
|
|
5645
5646
|
ngImport: i0,
|
|
5646
5647
|
type: HxTableHeader,
|
|
5647
5648
|
decorators: [{
|
|
@@ -5653,7 +5654,7 @@ var HxTableBody = class HxTableBody {
|
|
|
5653
5654
|
template = inject(TemplateRef);
|
|
5654
5655
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5655
5656
|
minVersion: "12.0.0",
|
|
5656
|
-
version: "22.
|
|
5657
|
+
version: "22.3.0",
|
|
5657
5658
|
ngImport: i0,
|
|
5658
5659
|
type: HxTableBody,
|
|
5659
5660
|
deps: [],
|
|
@@ -5661,7 +5662,7 @@ var HxTableBody = class HxTableBody {
|
|
|
5661
5662
|
});
|
|
5662
5663
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
5663
5664
|
minVersion: "14.0.0",
|
|
5664
|
-
version: "22.
|
|
5665
|
+
version: "22.3.0",
|
|
5665
5666
|
type: HxTableBody,
|
|
5666
5667
|
isStandalone: true,
|
|
5667
5668
|
selector: "ng-template[hxTableBody]",
|
|
@@ -5670,7 +5671,7 @@ var HxTableBody = class HxTableBody {
|
|
|
5670
5671
|
};
|
|
5671
5672
|
i0.ɵɵngDeclareClassMetadata({
|
|
5672
5673
|
minVersion: "12.0.0",
|
|
5673
|
-
version: "22.
|
|
5674
|
+
version: "22.3.0",
|
|
5674
5675
|
ngImport: i0,
|
|
5675
5676
|
type: HxTableBody,
|
|
5676
5677
|
decorators: [{
|
|
@@ -5682,7 +5683,7 @@ var HxTableFooter = class HxTableFooter {
|
|
|
5682
5683
|
template = inject(TemplateRef);
|
|
5683
5684
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5684
5685
|
minVersion: "12.0.0",
|
|
5685
|
-
version: "22.
|
|
5686
|
+
version: "22.3.0",
|
|
5686
5687
|
ngImport: i0,
|
|
5687
5688
|
type: HxTableFooter,
|
|
5688
5689
|
deps: [],
|
|
@@ -5690,7 +5691,7 @@ var HxTableFooter = class HxTableFooter {
|
|
|
5690
5691
|
});
|
|
5691
5692
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
5692
5693
|
minVersion: "14.0.0",
|
|
5693
|
-
version: "22.
|
|
5694
|
+
version: "22.3.0",
|
|
5694
5695
|
type: HxTableFooter,
|
|
5695
5696
|
isStandalone: true,
|
|
5696
5697
|
selector: "ng-template[hxTableFooter]",
|
|
@@ -5699,7 +5700,7 @@ var HxTableFooter = class HxTableFooter {
|
|
|
5699
5700
|
};
|
|
5700
5701
|
i0.ɵɵngDeclareClassMetadata({
|
|
5701
5702
|
minVersion: "12.0.0",
|
|
5702
|
-
version: "22.
|
|
5703
|
+
version: "22.3.0",
|
|
5703
5704
|
ngImport: i0,
|
|
5704
5705
|
type: HxTableFooter,
|
|
5705
5706
|
decorators: [{
|
|
@@ -5711,7 +5712,7 @@ var HxTableCaption = class HxTableCaption {
|
|
|
5711
5712
|
template = inject(TemplateRef);
|
|
5712
5713
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5713
5714
|
minVersion: "12.0.0",
|
|
5714
|
-
version: "22.
|
|
5715
|
+
version: "22.3.0",
|
|
5715
5716
|
ngImport: i0,
|
|
5716
5717
|
type: HxTableCaption,
|
|
5717
5718
|
deps: [],
|
|
@@ -5719,7 +5720,7 @@ var HxTableCaption = class HxTableCaption {
|
|
|
5719
5720
|
});
|
|
5720
5721
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
5721
5722
|
minVersion: "14.0.0",
|
|
5722
|
-
version: "22.
|
|
5723
|
+
version: "22.3.0",
|
|
5723
5724
|
type: HxTableCaption,
|
|
5724
5725
|
isStandalone: true,
|
|
5725
5726
|
selector: "ng-template[hxTableCaption]",
|
|
@@ -5728,7 +5729,7 @@ var HxTableCaption = class HxTableCaption {
|
|
|
5728
5729
|
};
|
|
5729
5730
|
i0.ɵɵngDeclareClassMetadata({
|
|
5730
5731
|
minVersion: "12.0.0",
|
|
5731
|
-
version: "22.
|
|
5732
|
+
version: "22.3.0",
|
|
5732
5733
|
ngImport: i0,
|
|
5733
5734
|
type: HxTableCaption,
|
|
5734
5735
|
decorators: [{
|
|
@@ -5740,7 +5741,7 @@ var HxTableEmpty = class HxTableEmpty {
|
|
|
5740
5741
|
template = inject(TemplateRef);
|
|
5741
5742
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5742
5743
|
minVersion: "12.0.0",
|
|
5743
|
-
version: "22.
|
|
5744
|
+
version: "22.3.0",
|
|
5744
5745
|
ngImport: i0,
|
|
5745
5746
|
type: HxTableEmpty,
|
|
5746
5747
|
deps: [],
|
|
@@ -5748,7 +5749,7 @@ var HxTableEmpty = class HxTableEmpty {
|
|
|
5748
5749
|
});
|
|
5749
5750
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
5750
5751
|
minVersion: "14.0.0",
|
|
5751
|
-
version: "22.
|
|
5752
|
+
version: "22.3.0",
|
|
5752
5753
|
type: HxTableEmpty,
|
|
5753
5754
|
isStandalone: true,
|
|
5754
5755
|
selector: "ng-template[hxTableEmpty]",
|
|
@@ -5757,7 +5758,7 @@ var HxTableEmpty = class HxTableEmpty {
|
|
|
5757
5758
|
};
|
|
5758
5759
|
i0.ɵɵngDeclareClassMetadata({
|
|
5759
5760
|
minVersion: "12.0.0",
|
|
5760
|
-
version: "22.
|
|
5761
|
+
version: "22.3.0",
|
|
5761
5762
|
ngImport: i0,
|
|
5762
5763
|
type: HxTableEmpty,
|
|
5763
5764
|
decorators: [{
|
|
@@ -5769,7 +5770,7 @@ var HxRowExpansion = class HxRowExpansion {
|
|
|
5769
5770
|
template = inject(TemplateRef);
|
|
5770
5771
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5771
5772
|
minVersion: "12.0.0",
|
|
5772
|
-
version: "22.
|
|
5773
|
+
version: "22.3.0",
|
|
5773
5774
|
ngImport: i0,
|
|
5774
5775
|
type: HxRowExpansion,
|
|
5775
5776
|
deps: [],
|
|
@@ -5777,7 +5778,7 @@ var HxRowExpansion = class HxRowExpansion {
|
|
|
5777
5778
|
});
|
|
5778
5779
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
5779
5780
|
minVersion: "14.0.0",
|
|
5780
|
-
version: "22.
|
|
5781
|
+
version: "22.3.0",
|
|
5781
5782
|
type: HxRowExpansion,
|
|
5782
5783
|
isStandalone: true,
|
|
5783
5784
|
selector: "ng-template[hxRowExpansion]",
|
|
@@ -5786,7 +5787,7 @@ var HxRowExpansion = class HxRowExpansion {
|
|
|
5786
5787
|
};
|
|
5787
5788
|
i0.ɵɵngDeclareClassMetadata({
|
|
5788
5789
|
minVersion: "12.0.0",
|
|
5789
|
-
version: "22.
|
|
5790
|
+
version: "22.3.0",
|
|
5790
5791
|
ngImport: i0,
|
|
5791
5792
|
type: HxRowExpansion,
|
|
5792
5793
|
decorators: [{
|
|
@@ -6100,7 +6101,7 @@ var HxDataTable = class HxDataTable {
|
|
|
6100
6101
|
}
|
|
6101
6102
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6102
6103
|
minVersion: "12.0.0",
|
|
6103
|
-
version: "22.
|
|
6104
|
+
version: "22.3.0",
|
|
6104
6105
|
ngImport: i0,
|
|
6105
6106
|
type: HxDataTable,
|
|
6106
6107
|
deps: [],
|
|
@@ -6108,7 +6109,7 @@ var HxDataTable = class HxDataTable {
|
|
|
6108
6109
|
});
|
|
6109
6110
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6110
6111
|
minVersion: "17.0.0",
|
|
6111
|
-
version: "22.
|
|
6112
|
+
version: "22.3.0",
|
|
6112
6113
|
type: HxDataTable,
|
|
6113
6114
|
isStandalone: true,
|
|
6114
6115
|
selector: "hx-data-table",
|
|
@@ -6495,7 +6496,7 @@ var HxDataTable = class HxDataTable {
|
|
|
6495
6496
|
isSignal: true
|
|
6496
6497
|
}],
|
|
6497
6498
|
ngImport: i0,
|
|
6498
|
-
template: "<div class=\"hx-data-table-frame\" [attr.aria-busy]=\"loading() ? 'true' : null\">\n <div\n class=\"hx-table-scroll hx-data-table-scroll\"\n [class.hx-data-table-scrolls]=\"scrolls()\"\n [style.max-height]=\"scrollHeight() ?? null\"\n [attr.role]=\"scrolls() ? 'region' : null\"\n [attr.aria-label]=\"scrolls() ? (ariaLabel() ?? caption() ?? null) : null\"\n [attr.tabindex]=\"scrolls() ? 0 : null\"\n >\n <table\n class=\"hx-table\"\n [class.hx-table-sm]=\"size() === 'small'\"\n [class.hx-table-lg]=\"size() === 'large'\"\n [class.hx-table-striped]=\"stripedRows()\"\n [class.hx-table-gridlines]=\"showGridlines()\"\n [class.hx-table-hoverable]=\"hoverRows()\"\n [class.hx-table-sticky]=\"!!scrollHeight()\"\n >\n @if (hasCaption()) {\n <caption [class.hx-data-table-caption-hidden]=\"captionHidden()\">\n @if (captionTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" />\n } @else {\n {{ caption() ?? ariaLabel() }}\n }\n </caption>\n }\n <thead>\n <tr>\n @if (expanderColumn()) {\n <th scope=\"col\" class=\"hx-data-table-expander-cell\"><span class=\"hx-data-table-caption-hidden\">Row details</span></th>\n }\n @if (checkboxColumn()) {\n <th scope=\"col\" class=\"hx-data-table-select-cell\">\n <input type=\"checkbox\" hx-checkbox [attr.aria-label]=\"selectAllLabel()\" [checked]=\"allSelected()\" [indeterminate]=\"someSelected()\" (change)=\"toggleSelectAll($any($event.target).checked)\" />\n </th>\n }\n @if (headerTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" [ngTemplateOutletContext]=\"{ $implicit: columns() }\" />\n } @else {\n @for (column of columns(); track column.field) {\n <th\n scope=\"col\"\n [class]=\"'hx-data-table-align-' + (column.align ?? 'left')\"\n [class.hx-data-table-sorted]=\"orderOf(column) !== 0\"\n [style.width]=\"column.width ?? null\"\n [attr.aria-sort]=\"ariaSort(column)\"\n [attr.title]=\"column.title ?? null\"\n >\n @let extra = columnHeaders().get(column.field);\n @let menu = filterDisplay() === 'menu' && column.filter;\n @if (extra || menu) {\n <div class=\"hx-data-table-header-content\">\n <ng-container [ngTemplateOutlet]=\"label\" [ngTemplateOutletContext]=\"{ $implicit: column }\" />\n @if (extra) {\n <ng-container [ngTemplateOutlet]=\"extra\" [ngTemplateOutletContext]=\"{ $implicit: column }\" />\n }\n @if (menu) {\n <button\n type=\"button\"\n class=\"hx-data-table-filter-button\"\n [class.hx-data-table-filter-active]=\"!!filters()[column.field]\"\n aria-haspopup=\"dialog\"\n [attr.aria-expanded]=\"activeFilterColumn()?.field === column.field\"\n [attr.aria-label]=\"filterLabelFor(column)\"\n (click)=\"openFilter($event, column)\"\n >\n <span class=\"hx-data-table-filter-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n } @else {\n <ng-container [ngTemplateOutlet]=\"label\" [ngTemplateOutletContext]=\"{ $implicit: column }\" />\n }\n </th>\n }\n }\n </tr>\n @if (filterRow()) {\n <tr class=\"hx-data-table-filter-row\">\n @if (expanderColumn()) { <th></th> }\n @if (checkboxColumn()) { <th></th> }\n @for (column of columns(); track column.field) {\n <th>\n @if (column.filter) {\n <input type=\"text\" hx-input size=\"small\" fluid [attr.aria-label]=\"filterLabelFor(column)\" [value]=\"filters()[column.field] ?? ''\" (input)=\"setFilter(column, $any($event.target).value)\" />\n }\n </th>\n }\n </tr>\n }\n </thead>\n <tbody>\n @for (row of visibleRows(); track trackRow(row, $index); let i = $index) {\n <tr\n [class]=\"rowClassOf(row)\"\n [class.hx-data-table-selectable]=\"selectable()\"\n [attr.aria-selected]=\"selectionMode() ? (isSelected(row) ? 'true' : 'false') : null\"\n [attr.tabindex]=\"selectable() ? 0 : null\"\n (click)=\"selectRow(row, $event)\"\n (keydown.enter)=\"onRowKey(row, $event)\"\n (keydown.space)=\"onRowKey(row, $event)\"\n >\n @if (expanderColumn()) {\n <td class=\"hx-data-table-expander-cell\">\n <button type=\"button\" class=\"hx-data-table-expander\" [class.hx-data-table-expander-open]=\"isExpanded(row, i)\" [attr.aria-expanded]=\"isExpanded(row, i)\" [attr.aria-label]=\"isExpanded(row, i) ? collapseLabel() : expandLabel()\" (click)=\"toggleExpansion(row, i)\"></button>\n </td>\n }\n @if (checkboxColumn()) {\n <td class=\"hx-data-table-select-cell\">\n <input type=\"checkbox\" hx-checkbox [attr.aria-label]=\"selectRowLabel().replace('{row}', '' + (first() + i + 1))\" [checked]=\"isSelected(row)\" (change)=\"toggleRowCheckbox(row, $any($event.target).checked)\" />\n </td>\n }\n @if (bodyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" [ngTemplateOutletContext]=\"{ $implicit: row, index: i, columns: columns() }\" />\n } @else {\n @for (column of columns(); track column.field) {\n <td [class]=\"'hx-data-table-align-' + (column.align ?? 'left')\">\n @if (cells().get(column.field); as cell) {\n <ng-container [ngTemplateOutlet]=\"cell\" [ngTemplateOutletContext]=\"{ $implicit: row, value: valueOf(row, column), index: i }\" />\n } @else {\n {{ valueOf(row, column) ?? emptyValue() }}\n }\n </td>\n }\n }\n </tr>\n @if (expansionTemplate(); as tpl) {\n @if (isExpanded(row, i)) {\n <tr class=\"hx-data-table-expansion\">\n <td [attr.colspan]=\"colspan()\">\n <ng-container [ngTemplateOutlet]=\"tpl.template\" [ngTemplateOutletContext]=\"{ $implicit: row, index: i, columns: columns() }\" />\n </td>\n </tr>\n }\n }\n } @empty {\n <tr class=\"hx-data-table-empty\">\n <td [attr.colspan]=\"colspan()\">\n @if (emptyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" />\n } @else {\n {{ emptyMessage() }}\n }\n </td>\n </tr>\n }\n </tbody>\n @if (footerTemplate(); as tpl) {\n <tfoot>\n <tr>\n @if (expanderColumn()) { <td></td> }\n @if (checkboxColumn()) { <td></td> }\n <ng-container [ngTemplateOutlet]=\"tpl.template\" [ngTemplateOutletContext]=\"{ $implicit: columns() }\" />\n </tr>\n </tfoot>\n }\n </table>\n </div>\n <span class=\"hx-data-table-caption-hidden\" aria-live=\"polite\">{{ announcement() }}</span>\n @if (loading()) {\n <div class=\"hx-data-table-loading\" role=\"status\">\n <hx-progress-spinner ariaLabel=\"Loading\" />\n </div>\n }\n @if (paginator()) {\n <hx-paginator\n class=\"hx-data-table-paginator\"\n [rows]=\"rows()\"\n [first]=\"first()\"\n [totalRecords]=\"total()\"\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\n [showAll]=\"showAll()\"\n (showAllChange)=\"showAll.set($event)\"\n [allLabel]=\"allLabel()\"\n [showCurrentPageReport]=\"showCurrentPageReport()\"\n (pageChange)=\"onPage($event)\"\n />\n }\n</div>\n\n@if (filterDisplay() === 'menu') {\n @let active = activeFilterColumn();\n <hx-popover panelClass=\"hx-data-table-filter-popover\" [ariaLabel]=\"active ? filterLabelFor(active) : undefined\" (hidden)=\"activeFilterColumn.set(null)\">\n @if (active) {\n <div class=\"hx-data-table-filter-menu\">\n <input #filterInput type=\"text\" hx-input size=\"small\" fluid [attr.aria-label]=\"filterLabelFor(active)\" [value]=\"filters()[active.field] ?? ''\" (input)=\"setFilter(active, $any($event.target).value)\" (keydown.enter)=\"filterPopover()?.hide()\" />\n <button hx-button type=\"button\" size=\"small\" variant=\"text\" class=\"hx-data-table-filter-clear\" (click)=\"clearFilter(active)\">{{ clearLabel() }}</button>\n </div>\n }\n </hx-popover>\n}\n\n<ng-template #label let-column>\n @if (column.sortable) {\n <button type=\"button\" class=\"hx-data-table-sort\" (click)=\"sort(column)\">\n <span>{{ column.header }}</span>\n <span class=\"hx-data-table-sort-icon\" [class.hx-data-table-sort-asc]=\"orderOf(column) === 1\" [class.hx-data-table-sort-desc]=\"orderOf(column) === -1\" aria-hidden=\"true\"></span>\n @if (sortRank(column); as rank) {\n <span class=\"hx-data-table-sort-rank\" aria-hidden=\"true\">{{ rank }}</span>\n }\n </button>\n } @else {\n {{ column.header }}\n }\n</ng-template>\n",
|
|
6499
|
+
template: "<div class=\"hx-data-table-frame\" [attr.aria-busy]=\"loading() ? 'true' : null\">\n <div\n class=\"hx-table-scroll hx-data-table-scroll\"\n [class.hx-data-table-scrolls]=\"scrolls()\"\n [style.max-height]=\"scrollHeight() ?? null\"\n [attr.role]=\"scrolls() ? 'region' : null\"\n [attr.aria-label]=\"scrolls() ? (ariaLabel() ?? caption() ?? null) : null\"\n [attr.tabindex]=\"scrolls() ? 0 : null\"\n >\n <table\n class=\"hx-table\"\n [class.hx-table-sm]=\"size() === 'small'\"\n [class.hx-table-lg]=\"size() === 'large'\"\n [class.hx-table-striped]=\"stripedRows()\"\n [class.hx-table-gridlines]=\"showGridlines()\"\n [class.hx-table-hoverable]=\"hoverRows()\"\n [class.hx-table-sticky]=\"!!scrollHeight()\"\n >\n @if (hasCaption()) {\n <caption [class.hx-data-table-caption-hidden]=\"captionHidden()\">\n @if (captionTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" />\n } @else {\n {{ caption() ?? ariaLabel() }}\n }\n </caption>\n }\n <thead>\n <tr>\n @if (expanderColumn()) {\n <th scope=\"col\" class=\"hx-data-table-expander-cell\">\n <span class=\"hx-data-table-caption-hidden\">Row details</span>\n </th>\n }\n @if (checkboxColumn()) {\n <th scope=\"col\" class=\"hx-data-table-select-cell\">\n <input\n type=\"checkbox\"\n hx-checkbox\n [attr.aria-label]=\"selectAllLabel()\"\n [checked]=\"allSelected()\"\n [indeterminate]=\"someSelected()\"\n (change)=\"toggleSelectAll($any($event.target).checked)\"\n />\n </th>\n }\n @if (headerTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: columns() }\"\n />\n } @else {\n @for (column of columns(); track column.field) {\n <th\n scope=\"col\"\n [class]=\"'hx-data-table-align-' + (column.align ?? 'left')\"\n [class.hx-data-table-sorted]=\"orderOf(column) !== 0\"\n [style.width]=\"column.width ?? null\"\n [attr.aria-sort]=\"ariaSort(column)\"\n [attr.title]=\"column.title ?? null\"\n >\n @let extra = columnHeaders().get(column.field);\n @let menu = filterDisplay() === 'menu' && column.filter;\n @if (extra || menu) {\n <div class=\"hx-data-table-header-content\">\n <ng-container\n [ngTemplateOutlet]=\"label\"\n [ngTemplateOutletContext]=\"{ $implicit: column }\"\n />\n @if (extra) {\n <ng-container\n [ngTemplateOutlet]=\"extra\"\n [ngTemplateOutletContext]=\"{ $implicit: column }\"\n />\n }\n @if (menu) {\n <button\n type=\"button\"\n class=\"hx-data-table-filter-button\"\n [class.hx-data-table-filter-active]=\"!!filters()[column.field]\"\n aria-haspopup=\"dialog\"\n [attr.aria-expanded]=\"activeFilterColumn()?.field === column.field\"\n [attr.aria-label]=\"filterLabelFor(column)\"\n (click)=\"openFilter($event, column)\"\n >\n <span class=\"hx-data-table-filter-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n } @else {\n <ng-container\n [ngTemplateOutlet]=\"label\"\n [ngTemplateOutletContext]=\"{ $implicit: column }\"\n />\n }\n </th>\n }\n }\n </tr>\n @if (filterRow()) {\n <tr class=\"hx-data-table-filter-row\">\n @if (expanderColumn()) {\n <th></th>\n }\n @if (checkboxColumn()) {\n <th></th>\n }\n @for (column of columns(); track column.field) {\n <th>\n @if (column.filter) {\n <input\n type=\"text\"\n hx-input\n size=\"small\"\n fluid\n [attr.aria-label]=\"filterLabelFor(column)\"\n [value]=\"filters()[column.field] ?? ''\"\n (input)=\"setFilter(column, $any($event.target).value)\"\n />\n }\n </th>\n }\n </tr>\n }\n </thead>\n <tbody>\n @for (row of visibleRows(); track trackRow(row, $index); let i = $index) {\n <tr\n [class]=\"rowClassOf(row)\"\n [class.hx-data-table-selectable]=\"selectable()\"\n [attr.aria-selected]=\"selectionMode() ? (isSelected(row) ? 'true' : 'false') : null\"\n [attr.tabindex]=\"selectable() ? 0 : null\"\n (click)=\"selectRow(row, $event)\"\n (keydown.enter)=\"onRowKey(row, $event)\"\n (keydown.space)=\"onRowKey(row, $event)\"\n >\n @if (expanderColumn()) {\n <td class=\"hx-data-table-expander-cell\">\n <button\n type=\"button\"\n class=\"hx-data-table-expander\"\n [class.hx-data-table-expander-open]=\"isExpanded(row, i)\"\n [attr.aria-expanded]=\"isExpanded(row, i)\"\n [attr.aria-label]=\"isExpanded(row, i) ? collapseLabel() : expandLabel()\"\n (click)=\"toggleExpansion(row, i)\"\n ></button>\n </td>\n }\n @if (checkboxColumn()) {\n <td class=\"hx-data-table-select-cell\">\n <input\n type=\"checkbox\"\n hx-checkbox\n [attr.aria-label]=\"selectRowLabel().replace('{row}', '' + (first() + i + 1))\"\n [checked]=\"isSelected(row)\"\n (change)=\"toggleRowCheckbox(row, $any($event.target).checked)\"\n />\n </td>\n }\n @if (bodyTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: row, index: i, columns: columns() }\"\n />\n } @else {\n @for (column of columns(); track column.field) {\n <td [class]=\"'hx-data-table-align-' + (column.align ?? 'left')\">\n @if (cells().get(column.field); as cell) {\n <ng-container\n [ngTemplateOutlet]=\"cell\"\n [ngTemplateOutletContext]=\"{ $implicit: row, value: valueOf(row, column), index: i }\"\n />\n } @else {\n {{ valueOf(row, column) ?? emptyValue() }}\n }\n </td>\n }\n }\n </tr>\n @if (expansionTemplate(); as tpl) {\n @if (isExpanded(row, i)) {\n <tr class=\"hx-data-table-expansion\">\n <td [attr.colspan]=\"colspan()\">\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: row, index: i, columns: columns() }\"\n />\n </td>\n </tr>\n }\n }\n } @empty {\n <tr class=\"hx-data-table-empty\">\n <td [attr.colspan]=\"colspan()\">\n @if (emptyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" />\n } @else {\n {{ emptyMessage() }}\n }\n </td>\n </tr>\n }\n </tbody>\n @if (footerTemplate(); as tpl) {\n <tfoot>\n <tr>\n @if (expanderColumn()) {\n <td></td>\n }\n @if (checkboxColumn()) {\n <td></td>\n }\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: columns() }\"\n />\n </tr>\n </tfoot>\n }\n </table>\n </div>\n <span class=\"hx-data-table-caption-hidden\" aria-live=\"polite\">{{ announcement() }}</span>\n @if (loading()) {\n <div class=\"hx-data-table-loading\" role=\"status\">\n <hx-progress-spinner ariaLabel=\"Loading\" />\n </div>\n }\n @if (paginator()) {\n <hx-paginator\n class=\"hx-data-table-paginator\"\n [rows]=\"rows()\"\n [first]=\"first()\"\n [totalRecords]=\"total()\"\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\n [showAll]=\"showAll()\"\n (showAllChange)=\"showAll.set($event)\"\n [allLabel]=\"allLabel()\"\n [showCurrentPageReport]=\"showCurrentPageReport()\"\n (pageChange)=\"onPage($event)\"\n />\n }\n</div>\n\n@if (filterDisplay() === 'menu') {\n @let active = activeFilterColumn();\n <hx-popover\n panelClass=\"hx-data-table-filter-popover\"\n [ariaLabel]=\"active ? filterLabelFor(active) : undefined\"\n (hidden)=\"activeFilterColumn.set(null)\"\n >\n @if (active) {\n <div class=\"hx-data-table-filter-menu\">\n <input\n #filterInput\n type=\"text\"\n hx-input\n size=\"small\"\n fluid\n [attr.aria-label]=\"filterLabelFor(active)\"\n [value]=\"filters()[active.field] ?? ''\"\n (input)=\"setFilter(active, $any($event.target).value)\"\n (keydown.enter)=\"filterPopover()?.hide()\"\n />\n <button\n hx-button\n type=\"button\"\n size=\"small\"\n variant=\"text\"\n class=\"hx-data-table-filter-clear\"\n (click)=\"clearFilter(active)\"\n >\n {{ clearLabel() }}\n </button>\n </div>\n }\n </hx-popover>\n}\n\n<ng-template #label let-column>\n @if (column.sortable) {\n <button type=\"button\" class=\"hx-data-table-sort\" (click)=\"sort(column)\">\n <span>{{ column.header }}</span>\n <span\n class=\"hx-data-table-sort-icon\"\n [class.hx-data-table-sort-asc]=\"orderOf(column) === 1\"\n [class.hx-data-table-sort-desc]=\"orderOf(column) === -1\"\n aria-hidden=\"true\"\n ></span>\n @if (sortRank(column); as rank) {\n <span class=\"hx-data-table-sort-rank\" aria-hidden=\"true\">{{ rank }}</span>\n }\n </button>\n } @else {\n {{ column.header }}\n }\n</ng-template>\n",
|
|
6499
6500
|
dependencies: [
|
|
6500
6501
|
{
|
|
6501
6502
|
kind: "directive",
|
|
@@ -6603,7 +6604,7 @@ var HxDataTable = class HxDataTable {
|
|
|
6603
6604
|
};
|
|
6604
6605
|
i0.ɵɵngDeclareClassMetadata({
|
|
6605
6606
|
minVersion: "12.0.0",
|
|
6606
|
-
version: "22.
|
|
6607
|
+
version: "22.3.0",
|
|
6607
6608
|
ngImport: i0,
|
|
6608
6609
|
type: HxDataTable,
|
|
6609
6610
|
decorators: [{
|
|
@@ -6621,7 +6622,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6621
6622
|
],
|
|
6622
6623
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6623
6624
|
host: { class: "hx-data-table" },
|
|
6624
|
-
template: "<div class=\"hx-data-table-frame\" [attr.aria-busy]=\"loading() ? 'true' : null\">\n <div\n class=\"hx-table-scroll hx-data-table-scroll\"\n [class.hx-data-table-scrolls]=\"scrolls()\"\n [style.max-height]=\"scrollHeight() ?? null\"\n [attr.role]=\"scrolls() ? 'region' : null\"\n [attr.aria-label]=\"scrolls() ? (ariaLabel() ?? caption() ?? null) : null\"\n [attr.tabindex]=\"scrolls() ? 0 : null\"\n >\n <table\n class=\"hx-table\"\n [class.hx-table-sm]=\"size() === 'small'\"\n [class.hx-table-lg]=\"size() === 'large'\"\n [class.hx-table-striped]=\"stripedRows()\"\n [class.hx-table-gridlines]=\"showGridlines()\"\n [class.hx-table-hoverable]=\"hoverRows()\"\n [class.hx-table-sticky]=\"!!scrollHeight()\"\n >\n @if (hasCaption()) {\n <caption [class.hx-data-table-caption-hidden]=\"captionHidden()\">\n @if (captionTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" />\n } @else {\n {{ caption() ?? ariaLabel() }}\n }\n </caption>\n }\n <thead>\n <tr>\n @if (expanderColumn()) {\n <th scope=\"col\" class=\"hx-data-table-expander-cell\"><span class=\"hx-data-table-caption-hidden\">Row details</span></th>\n }\n @if (checkboxColumn()) {\n <th scope=\"col\" class=\"hx-data-table-select-cell\">\n <input type=\"checkbox\" hx-checkbox [attr.aria-label]=\"selectAllLabel()\" [checked]=\"allSelected()\" [indeterminate]=\"someSelected()\" (change)=\"toggleSelectAll($any($event.target).checked)\" />\n </th>\n }\n @if (headerTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" [ngTemplateOutletContext]=\"{ $implicit: columns() }\" />\n } @else {\n @for (column of columns(); track column.field) {\n <th\n scope=\"col\"\n [class]=\"'hx-data-table-align-' + (column.align ?? 'left')\"\n [class.hx-data-table-sorted]=\"orderOf(column) !== 0\"\n [style.width]=\"column.width ?? null\"\n [attr.aria-sort]=\"ariaSort(column)\"\n [attr.title]=\"column.title ?? null\"\n >\n @let extra = columnHeaders().get(column.field);\n @let menu = filterDisplay() === 'menu' && column.filter;\n @if (extra || menu) {\n <div class=\"hx-data-table-header-content\">\n <ng-container [ngTemplateOutlet]=\"label\" [ngTemplateOutletContext]=\"{ $implicit: column }\" />\n @if (extra) {\n <ng-container [ngTemplateOutlet]=\"extra\" [ngTemplateOutletContext]=\"{ $implicit: column }\" />\n }\n @if (menu) {\n <button\n type=\"button\"\n class=\"hx-data-table-filter-button\"\n [class.hx-data-table-filter-active]=\"!!filters()[column.field]\"\n aria-haspopup=\"dialog\"\n [attr.aria-expanded]=\"activeFilterColumn()?.field === column.field\"\n [attr.aria-label]=\"filterLabelFor(column)\"\n (click)=\"openFilter($event, column)\"\n >\n <span class=\"hx-data-table-filter-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n } @else {\n <ng-container [ngTemplateOutlet]=\"label\" [ngTemplateOutletContext]=\"{ $implicit: column }\" />\n }\n </th>\n }\n }\n </tr>\n @if (filterRow()) {\n <tr class=\"hx-data-table-filter-row\">\n @if (expanderColumn()) { <th></th> }\n @if (checkboxColumn()) { <th></th> }\n @for (column of columns(); track column.field) {\n <th>\n @if (column.filter) {\n <input type=\"text\" hx-input size=\"small\" fluid [attr.aria-label]=\"filterLabelFor(column)\" [value]=\"filters()[column.field] ?? ''\" (input)=\"setFilter(column, $any($event.target).value)\" />\n }\n </th>\n }\n </tr>\n }\n </thead>\n <tbody>\n @for (row of visibleRows(); track trackRow(row, $index); let i = $index) {\n <tr\n [class]=\"rowClassOf(row)\"\n [class.hx-data-table-selectable]=\"selectable()\"\n [attr.aria-selected]=\"selectionMode() ? (isSelected(row) ? 'true' : 'false') : null\"\n [attr.tabindex]=\"selectable() ? 0 : null\"\n (click)=\"selectRow(row, $event)\"\n (keydown.enter)=\"onRowKey(row, $event)\"\n (keydown.space)=\"onRowKey(row, $event)\"\n >\n @if (expanderColumn()) {\n <td class=\"hx-data-table-expander-cell\">\n <button type=\"button\" class=\"hx-data-table-expander\" [class.hx-data-table-expander-open]=\"isExpanded(row, i)\" [attr.aria-expanded]=\"isExpanded(row, i)\" [attr.aria-label]=\"isExpanded(row, i) ? collapseLabel() : expandLabel()\" (click)=\"toggleExpansion(row, i)\"></button>\n </td>\n }\n @if (checkboxColumn()) {\n <td class=\"hx-data-table-select-cell\">\n <input type=\"checkbox\" hx-checkbox [attr.aria-label]=\"selectRowLabel().replace('{row}', '' + (first() + i + 1))\" [checked]=\"isSelected(row)\" (change)=\"toggleRowCheckbox(row, $any($event.target).checked)\" />\n </td>\n }\n @if (bodyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" [ngTemplateOutletContext]=\"{ $implicit: row, index: i, columns: columns() }\" />\n } @else {\n @for (column of columns(); track column.field) {\n <td [class]=\"'hx-data-table-align-' + (column.align ?? 'left')\">\n @if (cells().get(column.field); as cell) {\n <ng-container [ngTemplateOutlet]=\"cell\" [ngTemplateOutletContext]=\"{ $implicit: row, value: valueOf(row, column), index: i }\" />\n } @else {\n {{ valueOf(row, column) ?? emptyValue() }}\n }\n </td>\n }\n }\n </tr>\n @if (expansionTemplate(); as tpl) {\n @if (isExpanded(row, i)) {\n <tr class=\"hx-data-table-expansion\">\n <td [attr.colspan]=\"colspan()\">\n <ng-container [ngTemplateOutlet]=\"tpl.template\" [ngTemplateOutletContext]=\"{ $implicit: row, index: i, columns: columns() }\" />\n </td>\n </tr>\n }\n }\n } @empty {\n <tr class=\"hx-data-table-empty\">\n <td [attr.colspan]=\"colspan()\">\n @if (emptyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" />\n } @else {\n {{ emptyMessage() }}\n }\n </td>\n </tr>\n }\n </tbody>\n @if (footerTemplate(); as tpl) {\n <tfoot>\n <tr>\n @if (expanderColumn()) { <td></td> }\n @if (checkboxColumn()) { <td></td> }\n <ng-container [ngTemplateOutlet]=\"tpl.template\" [ngTemplateOutletContext]=\"{ $implicit: columns() }\" />\n </tr>\n </tfoot>\n }\n </table>\n </div>\n <span class=\"hx-data-table-caption-hidden\" aria-live=\"polite\">{{ announcement() }}</span>\n @if (loading()) {\n <div class=\"hx-data-table-loading\" role=\"status\">\n <hx-progress-spinner ariaLabel=\"Loading\" />\n </div>\n }\n @if (paginator()) {\n <hx-paginator\n class=\"hx-data-table-paginator\"\n [rows]=\"rows()\"\n [first]=\"first()\"\n [totalRecords]=\"total()\"\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\n [showAll]=\"showAll()\"\n (showAllChange)=\"showAll.set($event)\"\n [allLabel]=\"allLabel()\"\n [showCurrentPageReport]=\"showCurrentPageReport()\"\n (pageChange)=\"onPage($event)\"\n />\n }\n</div>\n\n@if (filterDisplay() === 'menu') {\n @let active = activeFilterColumn();\n <hx-popover panelClass=\"hx-data-table-filter-popover\" [ariaLabel]=\"active ? filterLabelFor(active) : undefined\" (hidden)=\"activeFilterColumn.set(null)\">\n @if (active) {\n <div class=\"hx-data-table-filter-menu\">\n <input #filterInput type=\"text\" hx-input size=\"small\" fluid [attr.aria-label]=\"filterLabelFor(active)\" [value]=\"filters()[active.field] ?? ''\" (input)=\"setFilter(active, $any($event.target).value)\" (keydown.enter)=\"filterPopover()?.hide()\" />\n <button hx-button type=\"button\" size=\"small\" variant=\"text\" class=\"hx-data-table-filter-clear\" (click)=\"clearFilter(active)\">{{ clearLabel() }}</button>\n </div>\n }\n </hx-popover>\n}\n\n<ng-template #label let-column>\n @if (column.sortable) {\n <button type=\"button\" class=\"hx-data-table-sort\" (click)=\"sort(column)\">\n <span>{{ column.header }}</span>\n <span class=\"hx-data-table-sort-icon\" [class.hx-data-table-sort-asc]=\"orderOf(column) === 1\" [class.hx-data-table-sort-desc]=\"orderOf(column) === -1\" aria-hidden=\"true\"></span>\n @if (sortRank(column); as rank) {\n <span class=\"hx-data-table-sort-rank\" aria-hidden=\"true\">{{ rank }}</span>\n }\n </button>\n } @else {\n {{ column.header }}\n }\n</ng-template>\n"
|
|
6625
|
+
template: "<div class=\"hx-data-table-frame\" [attr.aria-busy]=\"loading() ? 'true' : null\">\n <div\n class=\"hx-table-scroll hx-data-table-scroll\"\n [class.hx-data-table-scrolls]=\"scrolls()\"\n [style.max-height]=\"scrollHeight() ?? null\"\n [attr.role]=\"scrolls() ? 'region' : null\"\n [attr.aria-label]=\"scrolls() ? (ariaLabel() ?? caption() ?? null) : null\"\n [attr.tabindex]=\"scrolls() ? 0 : null\"\n >\n <table\n class=\"hx-table\"\n [class.hx-table-sm]=\"size() === 'small'\"\n [class.hx-table-lg]=\"size() === 'large'\"\n [class.hx-table-striped]=\"stripedRows()\"\n [class.hx-table-gridlines]=\"showGridlines()\"\n [class.hx-table-hoverable]=\"hoverRows()\"\n [class.hx-table-sticky]=\"!!scrollHeight()\"\n >\n @if (hasCaption()) {\n <caption [class.hx-data-table-caption-hidden]=\"captionHidden()\">\n @if (captionTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" />\n } @else {\n {{ caption() ?? ariaLabel() }}\n }\n </caption>\n }\n <thead>\n <tr>\n @if (expanderColumn()) {\n <th scope=\"col\" class=\"hx-data-table-expander-cell\">\n <span class=\"hx-data-table-caption-hidden\">Row details</span>\n </th>\n }\n @if (checkboxColumn()) {\n <th scope=\"col\" class=\"hx-data-table-select-cell\">\n <input\n type=\"checkbox\"\n hx-checkbox\n [attr.aria-label]=\"selectAllLabel()\"\n [checked]=\"allSelected()\"\n [indeterminate]=\"someSelected()\"\n (change)=\"toggleSelectAll($any($event.target).checked)\"\n />\n </th>\n }\n @if (headerTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: columns() }\"\n />\n } @else {\n @for (column of columns(); track column.field) {\n <th\n scope=\"col\"\n [class]=\"'hx-data-table-align-' + (column.align ?? 'left')\"\n [class.hx-data-table-sorted]=\"orderOf(column) !== 0\"\n [style.width]=\"column.width ?? null\"\n [attr.aria-sort]=\"ariaSort(column)\"\n [attr.title]=\"column.title ?? null\"\n >\n @let extra = columnHeaders().get(column.field);\n @let menu = filterDisplay() === 'menu' && column.filter;\n @if (extra || menu) {\n <div class=\"hx-data-table-header-content\">\n <ng-container\n [ngTemplateOutlet]=\"label\"\n [ngTemplateOutletContext]=\"{ $implicit: column }\"\n />\n @if (extra) {\n <ng-container\n [ngTemplateOutlet]=\"extra\"\n [ngTemplateOutletContext]=\"{ $implicit: column }\"\n />\n }\n @if (menu) {\n <button\n type=\"button\"\n class=\"hx-data-table-filter-button\"\n [class.hx-data-table-filter-active]=\"!!filters()[column.field]\"\n aria-haspopup=\"dialog\"\n [attr.aria-expanded]=\"activeFilterColumn()?.field === column.field\"\n [attr.aria-label]=\"filterLabelFor(column)\"\n (click)=\"openFilter($event, column)\"\n >\n <span class=\"hx-data-table-filter-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n } @else {\n <ng-container\n [ngTemplateOutlet]=\"label\"\n [ngTemplateOutletContext]=\"{ $implicit: column }\"\n />\n }\n </th>\n }\n }\n </tr>\n @if (filterRow()) {\n <tr class=\"hx-data-table-filter-row\">\n @if (expanderColumn()) {\n <th></th>\n }\n @if (checkboxColumn()) {\n <th></th>\n }\n @for (column of columns(); track column.field) {\n <th>\n @if (column.filter) {\n <input\n type=\"text\"\n hx-input\n size=\"small\"\n fluid\n [attr.aria-label]=\"filterLabelFor(column)\"\n [value]=\"filters()[column.field] ?? ''\"\n (input)=\"setFilter(column, $any($event.target).value)\"\n />\n }\n </th>\n }\n </tr>\n }\n </thead>\n <tbody>\n @for (row of visibleRows(); track trackRow(row, $index); let i = $index) {\n <tr\n [class]=\"rowClassOf(row)\"\n [class.hx-data-table-selectable]=\"selectable()\"\n [attr.aria-selected]=\"selectionMode() ? (isSelected(row) ? 'true' : 'false') : null\"\n [attr.tabindex]=\"selectable() ? 0 : null\"\n (click)=\"selectRow(row, $event)\"\n (keydown.enter)=\"onRowKey(row, $event)\"\n (keydown.space)=\"onRowKey(row, $event)\"\n >\n @if (expanderColumn()) {\n <td class=\"hx-data-table-expander-cell\">\n <button\n type=\"button\"\n class=\"hx-data-table-expander\"\n [class.hx-data-table-expander-open]=\"isExpanded(row, i)\"\n [attr.aria-expanded]=\"isExpanded(row, i)\"\n [attr.aria-label]=\"isExpanded(row, i) ? collapseLabel() : expandLabel()\"\n (click)=\"toggleExpansion(row, i)\"\n ></button>\n </td>\n }\n @if (checkboxColumn()) {\n <td class=\"hx-data-table-select-cell\">\n <input\n type=\"checkbox\"\n hx-checkbox\n [attr.aria-label]=\"selectRowLabel().replace('{row}', '' + (first() + i + 1))\"\n [checked]=\"isSelected(row)\"\n (change)=\"toggleRowCheckbox(row, $any($event.target).checked)\"\n />\n </td>\n }\n @if (bodyTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: row, index: i, columns: columns() }\"\n />\n } @else {\n @for (column of columns(); track column.field) {\n <td [class]=\"'hx-data-table-align-' + (column.align ?? 'left')\">\n @if (cells().get(column.field); as cell) {\n <ng-container\n [ngTemplateOutlet]=\"cell\"\n [ngTemplateOutletContext]=\"{ $implicit: row, value: valueOf(row, column), index: i }\"\n />\n } @else {\n {{ valueOf(row, column) ?? emptyValue() }}\n }\n </td>\n }\n }\n </tr>\n @if (expansionTemplate(); as tpl) {\n @if (isExpanded(row, i)) {\n <tr class=\"hx-data-table-expansion\">\n <td [attr.colspan]=\"colspan()\">\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: row, index: i, columns: columns() }\"\n />\n </td>\n </tr>\n }\n }\n } @empty {\n <tr class=\"hx-data-table-empty\">\n <td [attr.colspan]=\"colspan()\">\n @if (emptyTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" />\n } @else {\n {{ emptyMessage() }}\n }\n </td>\n </tr>\n }\n </tbody>\n @if (footerTemplate(); as tpl) {\n <tfoot>\n <tr>\n @if (expanderColumn()) {\n <td></td>\n }\n @if (checkboxColumn()) {\n <td></td>\n }\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: columns() }\"\n />\n </tr>\n </tfoot>\n }\n </table>\n </div>\n <span class=\"hx-data-table-caption-hidden\" aria-live=\"polite\">{{ announcement() }}</span>\n @if (loading()) {\n <div class=\"hx-data-table-loading\" role=\"status\">\n <hx-progress-spinner ariaLabel=\"Loading\" />\n </div>\n }\n @if (paginator()) {\n <hx-paginator\n class=\"hx-data-table-paginator\"\n [rows]=\"rows()\"\n [first]=\"first()\"\n [totalRecords]=\"total()\"\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\n [showAll]=\"showAll()\"\n (showAllChange)=\"showAll.set($event)\"\n [allLabel]=\"allLabel()\"\n [showCurrentPageReport]=\"showCurrentPageReport()\"\n (pageChange)=\"onPage($event)\"\n />\n }\n</div>\n\n@if (filterDisplay() === 'menu') {\n @let active = activeFilterColumn();\n <hx-popover\n panelClass=\"hx-data-table-filter-popover\"\n [ariaLabel]=\"active ? filterLabelFor(active) : undefined\"\n (hidden)=\"activeFilterColumn.set(null)\"\n >\n @if (active) {\n <div class=\"hx-data-table-filter-menu\">\n <input\n #filterInput\n type=\"text\"\n hx-input\n size=\"small\"\n fluid\n [attr.aria-label]=\"filterLabelFor(active)\"\n [value]=\"filters()[active.field] ?? ''\"\n (input)=\"setFilter(active, $any($event.target).value)\"\n (keydown.enter)=\"filterPopover()?.hide()\"\n />\n <button\n hx-button\n type=\"button\"\n size=\"small\"\n variant=\"text\"\n class=\"hx-data-table-filter-clear\"\n (click)=\"clearFilter(active)\"\n >\n {{ clearLabel() }}\n </button>\n </div>\n }\n </hx-popover>\n}\n\n<ng-template #label let-column>\n @if (column.sortable) {\n <button type=\"button\" class=\"hx-data-table-sort\" (click)=\"sort(column)\">\n <span>{{ column.header }}</span>\n <span\n class=\"hx-data-table-sort-icon\"\n [class.hx-data-table-sort-asc]=\"orderOf(column) === 1\"\n [class.hx-data-table-sort-desc]=\"orderOf(column) === -1\"\n aria-hidden=\"true\"\n ></span>\n @if (sortRank(column); as rank) {\n <span class=\"hx-data-table-sort-rank\" aria-hidden=\"true\">{{ rank }}</span>\n }\n </button>\n } @else {\n {{ column.header }}\n }\n</ng-template>\n"
|
|
6625
6626
|
}]
|
|
6626
6627
|
}],
|
|
6627
6628
|
propDecorators: {
|
|
@@ -7288,7 +7289,7 @@ var HxCalendar = class HxCalendar {
|
|
|
7288
7289
|
}
|
|
7289
7290
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
7290
7291
|
minVersion: "12.0.0",
|
|
7291
|
-
version: "22.
|
|
7292
|
+
version: "22.3.0",
|
|
7292
7293
|
ngImport: i0,
|
|
7293
7294
|
type: HxCalendar,
|
|
7294
7295
|
deps: [],
|
|
@@ -7296,7 +7297,7 @@ var HxCalendar = class HxCalendar {
|
|
|
7296
7297
|
});
|
|
7297
7298
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
7298
7299
|
minVersion: "17.0.0",
|
|
7299
|
-
version: "22.
|
|
7300
|
+
version: "22.3.0",
|
|
7300
7301
|
type: HxCalendar,
|
|
7301
7302
|
isStandalone: true,
|
|
7302
7303
|
selector: "hx-calendar",
|
|
@@ -7393,13 +7394,13 @@ var HxCalendar = class HxCalendar {
|
|
|
7393
7394
|
},
|
|
7394
7395
|
host: { styleAttribute: "display: contents" },
|
|
7395
7396
|
ngImport: i0,
|
|
7396
|
-
template: "<div class=\"hx-date-picker-header\">\n <button\n type=\"button\"\n class=\"hx-date-picker-nav hx-date-picker-prev\"\n [attr.aria-label]=\"view() === 'day' ? 'Previous month' : view() === 'month' ? 'Previous year' : 'Previous years'\"\n [disabled]=\"disabled()\"\n (click)=\"step(-1)\"\n >\n <span class=\"hx-date-picker-prev-icon\" aria-hidden=\"true\"></span>\n </button>\n <div class=\"hx-date-picker-title\" [id]=\"titleId()\" aria-live=\"polite\">\n @switch (view()) {\n @case ('day') {\n <button
|
|
7397
|
+
template: "<div class=\"hx-date-picker-header\">\n <button\n type=\"button\"\n class=\"hx-date-picker-nav hx-date-picker-prev\"\n [attr.aria-label]=\"view() === 'day' ? 'Previous month' : view() === 'month' ? 'Previous year' : 'Previous years'\"\n [disabled]=\"disabled()\"\n (click)=\"step(-1)\"\n >\n <span class=\"hx-date-picker-prev-icon\" aria-hidden=\"true\"></span>\n </button>\n <div class=\"hx-date-picker-title\" [id]=\"titleId()\" aria-live=\"polite\">\n @switch (view()) {\n @case ('day') {\n <button\n type=\"button\"\n class=\"hx-date-picker-title-button\"\n [disabled]=\"disabled()\"\n (click)=\"view.set('month')\"\n >\n {{ monthName() }}\n </button>\n <button\n type=\"button\"\n class=\"hx-date-picker-title-button\"\n [disabled]=\"disabled()\"\n (click)=\"view.set('year')\"\n >\n {{ viewYear() }}\n </button>\n }\n @case ('month') {\n <button\n type=\"button\"\n class=\"hx-date-picker-title-button\"\n [disabled]=\"disabled()\"\n (click)=\"view.set('year')\"\n >\n {{ viewYear() }}\n </button>\n }\n @default {\n <span class=\"hx-date-picker-title-text\">{{ decade()[0] }} – {{ decade()[11] }}</span>\n }\n }\n </div>\n <button\n type=\"button\"\n class=\"hx-date-picker-nav hx-date-picker-next\"\n [attr.aria-label]=\"view() === 'day' ? 'Next month' : view() === 'month' ? 'Next year' : 'Next years'\"\n [disabled]=\"disabled()\"\n (click)=\"step(1)\"\n >\n <span class=\"hx-date-picker-next-icon\" aria-hidden=\"true\"></span>\n </button>\n</div>\n\n@switch (view()) {\n @case ('day') {\n <table\n class=\"hx-date-picker-grid\"\n role=\"grid\"\n [attr.aria-labelledby]=\"titleId()\"\n [attr.aria-multiselectable]=\"selectionMode() !== 'single' ? 'true' : null\"\n >\n <thead>\n <tr>\n @for (day of weekdays(); track $index) {\n <th scope=\"col\" class=\"hx-date-picker-weekday\" [attr.abbr]=\"day.long\">\n {{ day.short }}\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @for (row of weeks(); track $index) {\n <tr>\n @for (cell of row; track $index) {\n @if (cell) {\n <td\n role=\"gridcell\"\n class=\"hx-date-picker-cell\"\n [attr.aria-selected]=\"isSelected(cell)\"\n >\n <button\n type=\"button\"\n class=\"hx-date-picker-date\"\n [class.hx-date-picker-date-selected]=\"isSelected(cell)\"\n [class.hx-date-picker-date-in-range]=\"isInRange(cell)\"\n [class.hx-date-picker-date-today]=\"isToday(cell)\"\n [attr.data-date]=\"dateKey(cell)\"\n [attr.tabindex]=\"isFocusTarget(cell) ? 0 : -1\"\n [attr.aria-label]=\"dayLabel(cell)\"\n [attr.aria-current]=\"isToday(cell) ? 'date' : null\"\n [attr.aria-disabled]=\"isDateDisabled(cell) ? 'true' : null\"\n [disabled]=\"disabled()\"\n (click)=\"picked.emit(cell)\"\n (keydown)=\"onDayKeydown($event, cell)\"\n >\n {{ cell.getDate() }}\n </button>\n </td>\n } @else {\n <td class=\"hx-date-picker-cell hx-date-picker-cell-empty\" role=\"gridcell\"></td>\n }\n }\n </tr>\n }\n </tbody>\n </table>\n }\n @case ('month') {\n <div class=\"hx-date-picker-months\">\n @for (name of monthNames(); track $index) {\n <button\n type=\"button\"\n class=\"hx-date-picker-month\"\n [class.hx-date-picker-month-selected]=\"$index === focusedDate().getMonth() && viewYear() === focusedDate().getFullYear()\"\n [disabled]=\"disabled()\"\n (click)=\"chooseMonth($index)\"\n >\n {{ name }}\n </button>\n }\n </div>\n }\n @default {\n <div class=\"hx-date-picker-years\">\n @for (year of decade(); track year) {\n <button\n type=\"button\"\n class=\"hx-date-picker-year\"\n [class.hx-date-picker-year-selected]=\"year === focusedDate().getFullYear()\"\n [disabled]=\"disabled()\"\n (click)=\"chooseYear(year)\"\n >\n {{ year }}\n </button>\n }\n </div>\n }\n}\n",
|
|
7397
7398
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
7398
7399
|
});
|
|
7399
7400
|
};
|
|
7400
7401
|
i0.ɵɵngDeclareClassMetadata({
|
|
7401
7402
|
minVersion: "12.0.0",
|
|
7402
|
-
version: "22.
|
|
7403
|
+
version: "22.3.0",
|
|
7403
7404
|
ngImport: i0,
|
|
7404
7405
|
type: HxCalendar,
|
|
7405
7406
|
decorators: [{
|
|
@@ -7408,7 +7409,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7408
7409
|
selector: "hx-calendar",
|
|
7409
7410
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7410
7411
|
host: { style: "display: contents" },
|
|
7411
|
-
template: "<div class=\"hx-date-picker-header\">\n <button\n type=\"button\"\n class=\"hx-date-picker-nav hx-date-picker-prev\"\n [attr.aria-label]=\"view() === 'day' ? 'Previous month' : view() === 'month' ? 'Previous year' : 'Previous years'\"\n [disabled]=\"disabled()\"\n (click)=\"step(-1)\"\n >\n <span class=\"hx-date-picker-prev-icon\" aria-hidden=\"true\"></span>\n </button>\n <div class=\"hx-date-picker-title\" [id]=\"titleId()\" aria-live=\"polite\">\n @switch (view()) {\n @case ('day') {\n <button
|
|
7412
|
+
template: "<div class=\"hx-date-picker-header\">\n <button\n type=\"button\"\n class=\"hx-date-picker-nav hx-date-picker-prev\"\n [attr.aria-label]=\"view() === 'day' ? 'Previous month' : view() === 'month' ? 'Previous year' : 'Previous years'\"\n [disabled]=\"disabled()\"\n (click)=\"step(-1)\"\n >\n <span class=\"hx-date-picker-prev-icon\" aria-hidden=\"true\"></span>\n </button>\n <div class=\"hx-date-picker-title\" [id]=\"titleId()\" aria-live=\"polite\">\n @switch (view()) {\n @case ('day') {\n <button\n type=\"button\"\n class=\"hx-date-picker-title-button\"\n [disabled]=\"disabled()\"\n (click)=\"view.set('month')\"\n >\n {{ monthName() }}\n </button>\n <button\n type=\"button\"\n class=\"hx-date-picker-title-button\"\n [disabled]=\"disabled()\"\n (click)=\"view.set('year')\"\n >\n {{ viewYear() }}\n </button>\n }\n @case ('month') {\n <button\n type=\"button\"\n class=\"hx-date-picker-title-button\"\n [disabled]=\"disabled()\"\n (click)=\"view.set('year')\"\n >\n {{ viewYear() }}\n </button>\n }\n @default {\n <span class=\"hx-date-picker-title-text\">{{ decade()[0] }} – {{ decade()[11] }}</span>\n }\n }\n </div>\n <button\n type=\"button\"\n class=\"hx-date-picker-nav hx-date-picker-next\"\n [attr.aria-label]=\"view() === 'day' ? 'Next month' : view() === 'month' ? 'Next year' : 'Next years'\"\n [disabled]=\"disabled()\"\n (click)=\"step(1)\"\n >\n <span class=\"hx-date-picker-next-icon\" aria-hidden=\"true\"></span>\n </button>\n</div>\n\n@switch (view()) {\n @case ('day') {\n <table\n class=\"hx-date-picker-grid\"\n role=\"grid\"\n [attr.aria-labelledby]=\"titleId()\"\n [attr.aria-multiselectable]=\"selectionMode() !== 'single' ? 'true' : null\"\n >\n <thead>\n <tr>\n @for (day of weekdays(); track $index) {\n <th scope=\"col\" class=\"hx-date-picker-weekday\" [attr.abbr]=\"day.long\">\n {{ day.short }}\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @for (row of weeks(); track $index) {\n <tr>\n @for (cell of row; track $index) {\n @if (cell) {\n <td\n role=\"gridcell\"\n class=\"hx-date-picker-cell\"\n [attr.aria-selected]=\"isSelected(cell)\"\n >\n <button\n type=\"button\"\n class=\"hx-date-picker-date\"\n [class.hx-date-picker-date-selected]=\"isSelected(cell)\"\n [class.hx-date-picker-date-in-range]=\"isInRange(cell)\"\n [class.hx-date-picker-date-today]=\"isToday(cell)\"\n [attr.data-date]=\"dateKey(cell)\"\n [attr.tabindex]=\"isFocusTarget(cell) ? 0 : -1\"\n [attr.aria-label]=\"dayLabel(cell)\"\n [attr.aria-current]=\"isToday(cell) ? 'date' : null\"\n [attr.aria-disabled]=\"isDateDisabled(cell) ? 'true' : null\"\n [disabled]=\"disabled()\"\n (click)=\"picked.emit(cell)\"\n (keydown)=\"onDayKeydown($event, cell)\"\n >\n {{ cell.getDate() }}\n </button>\n </td>\n } @else {\n <td class=\"hx-date-picker-cell hx-date-picker-cell-empty\" role=\"gridcell\"></td>\n }\n }\n </tr>\n }\n </tbody>\n </table>\n }\n @case ('month') {\n <div class=\"hx-date-picker-months\">\n @for (name of monthNames(); track $index) {\n <button\n type=\"button\"\n class=\"hx-date-picker-month\"\n [class.hx-date-picker-month-selected]=\"$index === focusedDate().getMonth() && viewYear() === focusedDate().getFullYear()\"\n [disabled]=\"disabled()\"\n (click)=\"chooseMonth($index)\"\n >\n {{ name }}\n </button>\n }\n </div>\n }\n @default {\n <div class=\"hx-date-picker-years\">\n @for (year of decade(); track year) {\n <button\n type=\"button\"\n class=\"hx-date-picker-year\"\n [class.hx-date-picker-year-selected]=\"year === focusedDate().getFullYear()\"\n [disabled]=\"disabled()\"\n (click)=\"chooseYear(year)\"\n >\n {{ year }}\n </button>\n }\n </div>\n }\n}\n"
|
|
7412
7413
|
}]
|
|
7413
7414
|
}],
|
|
7414
7415
|
propDecorators: {
|
|
@@ -7594,7 +7595,7 @@ var HxRangePresets = class HxRangePresets {
|
|
|
7594
7595
|
}
|
|
7595
7596
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
7596
7597
|
minVersion: "12.0.0",
|
|
7597
|
-
version: "22.
|
|
7598
|
+
version: "22.3.0",
|
|
7598
7599
|
ngImport: i0,
|
|
7599
7600
|
type: HxRangePresets,
|
|
7600
7601
|
deps: [],
|
|
@@ -7602,7 +7603,7 @@ var HxRangePresets = class HxRangePresets {
|
|
|
7602
7603
|
});
|
|
7603
7604
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
7604
7605
|
minVersion: "17.0.0",
|
|
7605
|
-
version: "22.
|
|
7606
|
+
version: "22.3.0",
|
|
7606
7607
|
type: HxRangePresets,
|
|
7607
7608
|
isStandalone: true,
|
|
7608
7609
|
selector: "hx-range-presets",
|
|
@@ -7703,7 +7704,7 @@ var HxRangePresets = class HxRangePresets {
|
|
|
7703
7704
|
};
|
|
7704
7705
|
i0.ɵɵngDeclareClassMetadata({
|
|
7705
7706
|
minVersion: "12.0.0",
|
|
7706
|
-
version: "22.
|
|
7707
|
+
version: "22.3.0",
|
|
7707
7708
|
ngImport: i0,
|
|
7708
7709
|
type: HxRangePresets,
|
|
7709
7710
|
decorators: [{
|
|
@@ -8076,7 +8077,7 @@ var HxDatePicker = class HxDatePicker {
|
|
|
8076
8077
|
}
|
|
8077
8078
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
8078
8079
|
minVersion: "12.0.0",
|
|
8079
|
-
version: "22.
|
|
8080
|
+
version: "22.3.0",
|
|
8080
8081
|
ngImport: i0,
|
|
8081
8082
|
type: HxDatePicker,
|
|
8082
8083
|
deps: [],
|
|
@@ -8084,7 +8085,7 @@ var HxDatePicker = class HxDatePicker {
|
|
|
8084
8085
|
});
|
|
8085
8086
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
8086
8087
|
minVersion: "17.0.0",
|
|
8087
|
-
version: "22.
|
|
8088
|
+
version: "22.3.0",
|
|
8088
8089
|
type: HxDatePicker,
|
|
8089
8090
|
isStandalone: true,
|
|
8090
8091
|
selector: "hx-date-picker",
|
|
@@ -8293,7 +8294,7 @@ var HxDatePicker = class HxDatePicker {
|
|
|
8293
8294
|
isSignal: true
|
|
8294
8295
|
}],
|
|
8295
8296
|
ngImport: i0,
|
|
8296
|
-
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"calendar\" />\n} @else {\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? 'Choose date'\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n >\n <ng-container [ngTemplateOutlet]=\"calendar\" />\n @if (showButtonBar()) {\n <div class=\"hx-date-picker-buttonbar\">\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"selectToday()\"
|
|
8297
|
+
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"calendar\" />\n} @else {\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? 'Choose date'\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n >\n <ng-container [ngTemplateOutlet]=\"calendar\" />\n @if (showButtonBar()) {\n <div class=\"hx-date-picker-buttonbar\">\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"selectToday()\">\n {{ todayLabel() }}\n </button>\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"clear()\">\n {{ clearLabel() }}\n </button>\n </div>\n }\n </div>\n </ng-template>\n}\n\n<ng-template #calendar>\n <div\n class=\"hx-date-picker-panel\"\n role=\"group\"\n [attr.aria-label]=\"ariaLabel() ?? 'Calendar'\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onFocusOut($event)\"\n >\n @if (shownPresets().length > 0) {\n <hx-range-presets\n [presets]=\"shownPresets()\"\n [display]=\"presetDisplay()\"\n [label]=\"presetsLabel()\"\n [disabled]=\"isDisabled()\"\n [selected]=\"selectedPreset()\"\n [describedBy]=\"presetError() ? presetErrorId : null\"\n (chosen)=\"applyPreset($event)\"\n />\n @if (presetError()) {\n <p class=\"hx-date-picker-error\" role=\"alert\" [id]=\"presetErrorId\">\n {{ presetRefusedLabel() }}\n </p>\n }\n }\n <hx-calendar\n [(focusedDate)]=\"focusedDate\"\n [(view)]=\"view\"\n [selectedDates]=\"selectedDates()\"\n [selectionMode]=\"selectionMode()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [disabledDates]=\"disabledDates()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [titleId]=\"titleId\"\n [today]=\"today\"\n (picked)=\"pick($event)\"\n />\n </div>\n</ng-template>\n",
|
|
8297
8298
|
dependencies: [
|
|
8298
8299
|
{
|
|
8299
8300
|
kind: "directive",
|
|
@@ -8396,7 +8397,7 @@ var HxDatePicker = class HxDatePicker {
|
|
|
8396
8397
|
};
|
|
8397
8398
|
i0.ɵɵngDeclareClassMetadata({
|
|
8398
8399
|
minVersion: "12.0.0",
|
|
8399
|
-
version: "22.
|
|
8400
|
+
version: "22.3.0",
|
|
8400
8401
|
ngImport: i0,
|
|
8401
8402
|
type: HxDatePicker,
|
|
8402
8403
|
decorators: [{
|
|
@@ -8426,7 +8427,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8426
8427
|
"[class.hx-filled]": "!inline() && text() !== \"\"",
|
|
8427
8428
|
"(focusout)": "onHostFocusOut($event)"
|
|
8428
8429
|
},
|
|
8429
|
-
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"calendar\" />\n} @else {\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? 'Choose date'\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n >\n <ng-container [ngTemplateOutlet]=\"calendar\" />\n @if (showButtonBar()) {\n <div class=\"hx-date-picker-buttonbar\">\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"selectToday()\"
|
|
8430
|
+
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"calendar\" />\n} @else {\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? 'Choose date'\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n >\n <ng-container [ngTemplateOutlet]=\"calendar\" />\n @if (showButtonBar()) {\n <div class=\"hx-date-picker-buttonbar\">\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"selectToday()\">\n {{ todayLabel() }}\n </button>\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"clear()\">\n {{ clearLabel() }}\n </button>\n </div>\n }\n </div>\n </ng-template>\n}\n\n<ng-template #calendar>\n <div\n class=\"hx-date-picker-panel\"\n role=\"group\"\n [attr.aria-label]=\"ariaLabel() ?? 'Calendar'\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onFocusOut($event)\"\n >\n @if (shownPresets().length > 0) {\n <hx-range-presets\n [presets]=\"shownPresets()\"\n [display]=\"presetDisplay()\"\n [label]=\"presetsLabel()\"\n [disabled]=\"isDisabled()\"\n [selected]=\"selectedPreset()\"\n [describedBy]=\"presetError() ? presetErrorId : null\"\n (chosen)=\"applyPreset($event)\"\n />\n @if (presetError()) {\n <p class=\"hx-date-picker-error\" role=\"alert\" [id]=\"presetErrorId\">\n {{ presetRefusedLabel() }}\n </p>\n }\n }\n <hx-calendar\n [(focusedDate)]=\"focusedDate\"\n [(view)]=\"view\"\n [selectedDates]=\"selectedDates()\"\n [selectionMode]=\"selectionMode()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [disabledDates]=\"disabledDates()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [titleId]=\"titleId\"\n [today]=\"today\"\n (picked)=\"pick($event)\"\n />\n </div>\n</ng-template>\n"
|
|
8430
8431
|
}]
|
|
8431
8432
|
}],
|
|
8432
8433
|
ctorParameters: () => [],
|
|
@@ -9548,7 +9549,7 @@ var HxDateRangeQuickSelect = class HxDateRangeQuickSelect {
|
|
|
9548
9549
|
}
|
|
9549
9550
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
9550
9551
|
minVersion: "12.0.0",
|
|
9551
|
-
version: "22.
|
|
9552
|
+
version: "22.3.0",
|
|
9552
9553
|
ngImport: i0,
|
|
9553
9554
|
type: HxDateRangeQuickSelect,
|
|
9554
9555
|
deps: [],
|
|
@@ -9556,7 +9557,7 @@ var HxDateRangeQuickSelect = class HxDateRangeQuickSelect {
|
|
|
9556
9557
|
});
|
|
9557
9558
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
9558
9559
|
minVersion: "17.0.0",
|
|
9559
|
-
version: "22.
|
|
9560
|
+
version: "22.3.0",
|
|
9560
9561
|
type: HxDateRangeQuickSelect,
|
|
9561
9562
|
isStandalone: true,
|
|
9562
9563
|
selector: "hx-date-range-quick-select",
|
|
@@ -9732,7 +9733,7 @@ var HxDateRangeQuickSelect = class HxDateRangeQuickSelect {
|
|
|
9732
9733
|
}
|
|
9733
9734
|
],
|
|
9734
9735
|
ngImport: i0,
|
|
9735
|
-
template: "<div\n class=\"hx-date-picker hx-date-picker-has-icon hx-date-range-quick-select-control\"\n [class.hx-date-picker-open]=\"open()\"\n [class.hx-date-picker-disabled]=\"isDisabled()\"\n [class.hx-date-picker-invalid]=\"invalid()\"\n>\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n readonly\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"close()\"\n >\n @let l = texts();\n <div\n class=\"hx-date-picker-popup hx-date-range-quick-select-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <section class=\"hx-date-range-quick-select-section\" [attr.aria-labelledby]=\"popupId + '-quick'\">\n <span class=\"hx-date-range-quick-select-caption\" [id]=\"popupId + '-quick'\">{{ l.quickSelect }}</span>\n <div class=\"hx-date-range-quick-select-row\">\n <hx-select\n #quickFirst\n class=\"hx-date-range-quick-select-direction\"\n [options]=\"directionOptions()\"\n [ariaLabel]=\"l.direction\"\n [value]=\"quickDirection()\"\n (valueChange)=\"setQuickDirection($event)\"\n />\n <input\n hx-input\n type=\"number\"\n min=\"1\"\n step=\"1\"\n class=\"hx-date-range-quick-select-amount\"\n [attr.aria-label]=\"l.amount\"\n [attr.aria-invalid]=\"quickError() ? 'true' : null\"\n [attr.aria-describedby]=\"quickError() ? quickErrorId : null\"\n [value]=\"quickAmount()\"\n (input)=\"setQuickAmount($event)\"\n (keydown.enter)=\"$event.preventDefault(); applyQuick()\"\n />\n <hx-select\n class=\"hx-date-range-quick-select-unit\"\n [options]=\"unitOptions()\"\n [ariaLabel]=\"l.unit\"\n [value]=\"quickUnit()\"\n (valueChange)=\"setQuickUnit($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-button hx-date-range-quick-select-apply\"\n [attr.aria-describedby]=\"quickError() ? quickErrorId : null\"\n (click)=\"applyQuick()\"\n >\n {{ l.apply }}\n </button>\n </div>\n </section>\n @if (commonlyUsed().length > 0) {\n <section class=\"hx-date-range-quick-select-section\" [attr.aria-labelledby]=\"popupId + '-common'\">\n <span class=\"hx-date-range-quick-select-caption\" [id]=\"popupId + '-common'\">{{ l.commonlyUsed }}</span>\n <ul class=\"hx-date-range-quick-select-ranges hx-date-range-quick-select-common\">\n @for (range of commonlyUsed(); track $index) {\n <li>\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"applyRange(range)\">{{ range.label }}</button>\n </li>\n }\n </ul>\n </section>\n }\n @if (recentItems().length > 0) {\n <section class=\"hx-date-range-quick-select-section\" [attr.aria-labelledby]=\"popupId + '-recent'\">\n <span class=\"hx-date-range-quick-select-caption\" [id]=\"popupId + '-recent'\">{{ l.recentlyUsed }}</span>\n <ul class=\"hx-date-range-quick-select-ranges hx-date-range-quick-select-recent\">\n @for (item of recentItems(); track item.range.from + ' ' + item.range.to) {\n <li>\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"applyRange(item.range)\">{{ item.label }}</button>\n </li>\n }\n </ul>\n </section>\n }\n <!-- one line per side; a click opens the editor of that side (Absolute / Relative / Now) below -->\n <div class=\"hx-date-range-quick-select-summary\" role=\"group\" [attr.aria-label]=\"l.range\">\n @for (s of sideKeys; track s) {\n <button\n #sideButton\n type=\"button\"\n class=\"hx-date-range-quick-select-side-line\"\n [class]=\"'hx-date-range-quick-select-side-line-' + s\"\n [id]=\"sideButtonId(s)\"\n [attr.aria-expanded]=\"openSide() === s\"\n [attr.aria-controls]=\"openSide() === s ? editorId(s) : null\"\n (click)=\"toggleSide(s)\"\n >\n <span class=\"hx-date-range-quick-select-side-name\">{{ s === 'from' ? l.start : l.end }}</span>&ngsp;\n <span class=\"hx-date-range-quick-select-side-value\">{{ sideSummary(s) }}</span>\n </button>\n }\n </div>\n @if (openSide(); as s) {\n @let state = sides()[s];\n @let sideName = s === 'from' ? l.start : l.end;\n <section\n class=\"hx-date-range-quick-select-editor\"\n [class]=\"'hx-date-range-quick-select-editor-' + s\"\n [id]=\"editorId(s)\"\n [attr.aria-labelledby]=\"sideButtonId(s)\"\n >\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- composite widget: focus moves over its items (roving tabindex or aria-activedescendant) -->\n <div\n class=\"hx-date-range-quick-select-tabs\"\n role=\"tablist\"\n [attr.aria-labelledby]=\"sideButtonId(s)\"\n (keydown)=\"onTabKeydown(s, $event)\"\n >\n @for (mode of sideModes; track mode) {\n <button\n #sideTab\n type=\"button\"\n role=\"tab\"\n class=\"hx-date-range-quick-select-tab\"\n [id]=\"tabId(s, mode)\"\n [attr.aria-selected]=\"state.mode === mode\"\n [attr.aria-controls]=\"panelId(s)\"\n [attr.tabindex]=\"state.mode === mode ? 0 : -1\"\n (click)=\"setSideMode(s, mode)\"\n >\n {{ mode === 'absolute' ? l.absolute : mode === 'relative' ? l.relative : l.now }}\n </button>\n }\n </div>\n <div\n class=\"hx-date-range-quick-select-tabpanel\"\n role=\"tabpanel\"\n tabindex=\"0\"\n [id]=\"panelId(s)\"\n [attr.aria-labelledby]=\"tabId(s, state.mode)\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n >\n @switch (state.mode) {\n @case ('absolute') {\n <input\n hx-input\n fluid\n type=\"text\"\n autocomplete=\"off\"\n class=\"hx-date-range-quick-select-side-date\"\n [attr.aria-label]=\"sideName + ' ' + l.date\"\n [attr.aria-invalid]=\"sideError() ? 'true' : null\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n [value]=\"sideText(s)\"\n (change)=\"setAbsoluteSide(s, $event)\"\n (keydown.enter)=\"$event.preventDefault(); setAbsoluteSide(s, $event)\"\n />\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <span class=\"hx-date-range-quick-select-resolved-date\">{{ sideResolvedText(s) }}</span>\n </p>\n <div class=\"hx-date-range-quick-select-calendar\" role=\"group\" [attr.aria-label]=\"sideName + ' ' + l.date\">\n <hx-calendar\n [(focusedDate)]=\"calendarFocus\"\n [(view)]=\"calendarView\"\n [selectedDates]=\"sideDays(s)\"\n selectionMode=\"single\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [titleId]=\"calendarTitleId\"\n [today]=\"today()\"\n (picked)=\"pickDay(s, $event)\"\n />\n </div>\n }\n @case ('relative') {\n <div class=\"hx-date-range-quick-select-row\">\n <input\n hx-input\n type=\"number\"\n min=\"0\"\n step=\"1\"\n class=\"hx-date-range-quick-select-side-amount\"\n [attr.aria-label]=\"l.amount\"\n [attr.aria-invalid]=\"sideError() ? 'true' : null\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n [value]=\"state.amount ?? ''\"\n (input)=\"setSideAmount(s, $event)\"\n />\n <hx-select\n class=\"hx-date-range-quick-select-side-unit\"\n [options]=\"relativeOptions()\"\n [ariaLabel]=\"l.unit\"\n [value]=\"sideUnitValue(s)\"\n (valueChange)=\"setSideUnit(s, $event)\"\n />\n </div>\n <label class=\"hx-date-range-quick-select-side-round\">\n <input type=\"checkbox\" hx-checkbox [checked]=\"state.round\" (change)=\"setSideRound(s, $event)\" />\n {{ sideRoundLabel(s) }}\n </label>\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <code class=\"hx-date-range-quick-select-expression\">{{ sideExpressionText(s) }}</code>&ngsp;\n <span class=\"hx-date-range-quick-select-resolved-date\">{{ sideResolvedText(s) }}</span>\n </p>\n }\n @case ('now') {\n <p class=\"hx-date-range-quick-select-now-hint\">{{ l.nowHint }}</p>\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <span class=\"hx-date-range-quick-select-resolved-date\">{{ sideResolvedText(s) }}</span>\n </p>\n }\n }\n </div>\n </section>\n }\n @if (quickError() || sideError()) {\n <p class=\"hx-date-range-quick-select-error\" role=\"alert\" [id]=\"quickErrorId\">{{ l.incompleteRange }}</p>\n }\n </div>\n </ng-template>\n</div>\n",
|
|
9736
|
+
template: "<div\n class=\"hx-date-picker hx-date-picker-has-icon hx-date-range-quick-select-control\"\n [class.hx-date-picker-open]=\"open()\"\n [class.hx-date-picker-disabled]=\"isDisabled()\"\n [class.hx-date-picker-invalid]=\"invalid()\"\n>\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n readonly\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"close()\"\n >\n @let l = texts();\n <div\n class=\"hx-date-picker-popup hx-date-range-quick-select-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <section\n class=\"hx-date-range-quick-select-section\"\n [attr.aria-labelledby]=\"popupId + '-quick'\"\n >\n <span\n class=\"hx-date-range-quick-select-caption\"\n [id]=\"popupId + '-quick'\"\n >{{ l.quickSelect }}</span\n >\n <div class=\"hx-date-range-quick-select-row\">\n <hx-select\n #quickFirst\n class=\"hx-date-range-quick-select-direction\"\n [options]=\"directionOptions()\"\n [ariaLabel]=\"l.direction\"\n [value]=\"quickDirection()\"\n (valueChange)=\"setQuickDirection($event)\"\n />\n <input\n hx-input\n type=\"number\"\n min=\"1\"\n step=\"1\"\n class=\"hx-date-range-quick-select-amount\"\n [attr.aria-label]=\"l.amount\"\n [attr.aria-invalid]=\"quickError() ? 'true' : null\"\n [attr.aria-describedby]=\"quickError() ? quickErrorId : null\"\n [value]=\"quickAmount()\"\n (input)=\"setQuickAmount($event)\"\n (keydown.enter)=\"$event.preventDefault(); applyQuick()\"\n />\n <hx-select\n class=\"hx-date-range-quick-select-unit\"\n [options]=\"unitOptions()\"\n [ariaLabel]=\"l.unit\"\n [value]=\"quickUnit()\"\n (valueChange)=\"setQuickUnit($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-button hx-date-range-quick-select-apply\"\n [attr.aria-describedby]=\"quickError() ? quickErrorId : null\"\n (click)=\"applyQuick()\"\n >\n {{ l.apply }}\n </button>\n </div>\n </section>\n @if (commonlyUsed().length > 0) {\n <section\n class=\"hx-date-range-quick-select-section\"\n [attr.aria-labelledby]=\"popupId + '-common'\"\n >\n <span\n class=\"hx-date-range-quick-select-caption\"\n [id]=\"popupId + '-common'\"\n >{{ l.commonlyUsed }}</span\n >\n <ul class=\"hx-date-range-quick-select-ranges hx-date-range-quick-select-common\">\n @for (range of commonlyUsed(); track $index) {\n <li>\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"applyRange(range)\">\n {{ range.label }}\n </button>\n </li>\n }\n </ul>\n </section>\n }\n @if (recentItems().length > 0) {\n <section\n class=\"hx-date-range-quick-select-section\"\n [attr.aria-labelledby]=\"popupId + '-recent'\"\n >\n <span\n class=\"hx-date-range-quick-select-caption\"\n [id]=\"popupId + '-recent'\"\n >{{ l.recentlyUsed }}</span\n >\n <ul class=\"hx-date-range-quick-select-ranges hx-date-range-quick-select-recent\">\n @for (item of recentItems(); track item.range.from + ' ' + item.range.to) {\n <li>\n <button\n type=\"button\"\n class=\"hx-date-picker-button\"\n (click)=\"applyRange(item.range)\"\n >\n {{ item.label }}\n </button>\n </li>\n }\n </ul>\n </section>\n }\n <!-- one line per side; a click opens the editor of that side (Absolute / Relative / Now) below -->\n <div class=\"hx-date-range-quick-select-summary\" role=\"group\" [attr.aria-label]=\"l.range\">\n @for (s of sideKeys; track s) {\n <button\n #sideButton\n type=\"button\"\n class=\"hx-date-range-quick-select-side-line\"\n [class]=\"'hx-date-range-quick-select-side-line-' + s\"\n [id]=\"sideButtonId(s)\"\n [attr.aria-expanded]=\"openSide() === s\"\n [attr.aria-controls]=\"openSide() === s ? editorId(s) : null\"\n (click)=\"toggleSide(s)\"\n >\n <span\n class=\"hx-date-range-quick-select-side-name\"\n >{{ s === 'from' ? l.start : l.end }}</span\n >&ngsp;\n <span class=\"hx-date-range-quick-select-side-value\">{{ sideSummary(s) }}</span>\n </button>\n }\n </div>\n @if (openSide(); as s) {\n @let state = sides()[s];\n @let sideName = s === 'from' ? l.start : l.end;\n <section\n class=\"hx-date-range-quick-select-editor\"\n [class]=\"'hx-date-range-quick-select-editor-' + s\"\n [id]=\"editorId(s)\"\n [attr.aria-labelledby]=\"sideButtonId(s)\"\n >\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- composite widget: focus moves over its items (roving tabindex or aria-activedescendant) -->\n <div\n class=\"hx-date-range-quick-select-tabs\"\n role=\"tablist\"\n [attr.aria-labelledby]=\"sideButtonId(s)\"\n (keydown)=\"onTabKeydown(s, $event)\"\n >\n @for (mode of sideModes; track mode) {\n <button\n #sideTab\n type=\"button\"\n role=\"tab\"\n class=\"hx-date-range-quick-select-tab\"\n [id]=\"tabId(s, mode)\"\n [attr.aria-selected]=\"state.mode === mode\"\n [attr.aria-controls]=\"panelId(s)\"\n [attr.tabindex]=\"state.mode === mode ? 0 : -1\"\n (click)=\"setSideMode(s, mode)\"\n >\n {{ mode === 'absolute' ? l.absolute : mode === 'relative' ? l.relative : l.now }}\n </button>\n }\n </div>\n <div\n class=\"hx-date-range-quick-select-tabpanel\"\n role=\"tabpanel\"\n tabindex=\"0\"\n [id]=\"panelId(s)\"\n [attr.aria-labelledby]=\"tabId(s, state.mode)\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n >\n @switch (state.mode) {\n @case ('absolute') {\n <input\n hx-input\n fluid\n type=\"text\"\n autocomplete=\"off\"\n class=\"hx-date-range-quick-select-side-date\"\n [attr.aria-label]=\"sideName + ' ' + l.date\"\n [attr.aria-invalid]=\"sideError() ? 'true' : null\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n [value]=\"sideText(s)\"\n (change)=\"setAbsoluteSide(s, $event)\"\n (keydown.enter)=\"$event.preventDefault(); setAbsoluteSide(s, $event)\"\n />\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <span\n class=\"hx-date-range-quick-select-resolved-date\"\n >{{ sideResolvedText(s) }}</span\n >\n </p>\n <div\n class=\"hx-date-range-quick-select-calendar\"\n role=\"group\"\n [attr.aria-label]=\"sideName + ' ' + l.date\"\n >\n <hx-calendar\n [(focusedDate)]=\"calendarFocus\"\n [(view)]=\"calendarView\"\n [selectedDates]=\"sideDays(s)\"\n selectionMode=\"single\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [titleId]=\"calendarTitleId\"\n [today]=\"today()\"\n (picked)=\"pickDay(s, $event)\"\n />\n </div>\n }\n @case ('relative') {\n <div class=\"hx-date-range-quick-select-row\">\n <input\n hx-input\n type=\"number\"\n min=\"0\"\n step=\"1\"\n class=\"hx-date-range-quick-select-side-amount\"\n [attr.aria-label]=\"l.amount\"\n [attr.aria-invalid]=\"sideError() ? 'true' : null\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n [value]=\"state.amount ?? ''\"\n (input)=\"setSideAmount(s, $event)\"\n />\n <hx-select\n class=\"hx-date-range-quick-select-side-unit\"\n [options]=\"relativeOptions()\"\n [ariaLabel]=\"l.unit\"\n [value]=\"sideUnitValue(s)\"\n (valueChange)=\"setSideUnit(s, $event)\"\n />\n </div>\n <label class=\"hx-date-range-quick-select-side-round\">\n <input\n type=\"checkbox\"\n hx-checkbox\n [checked]=\"state.round\"\n (change)=\"setSideRound(s, $event)\"\n />\n {{ sideRoundLabel(s) }}\n </label>\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <code\n class=\"hx-date-range-quick-select-expression\"\n >{{ sideExpressionText(s) }}</code\n >&ngsp;\n <span\n class=\"hx-date-range-quick-select-resolved-date\"\n >{{ sideResolvedText(s) }}</span\n >\n </p>\n }\n @case ('now') {\n <p class=\"hx-date-range-quick-select-now-hint\">{{ l.nowHint }}</p>\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <span\n class=\"hx-date-range-quick-select-resolved-date\"\n >{{ sideResolvedText(s) }}</span\n >\n </p>\n }\n }\n </div>\n </section>\n }\n @if (quickError() || sideError()) {\n <p class=\"hx-date-range-quick-select-error\" role=\"alert\" [id]=\"quickErrorId\">\n {{ l.incompleteRange }}\n </p>\n }\n </div>\n </ng-template>\n</div>\n",
|
|
9736
9737
|
dependencies: [
|
|
9737
9738
|
{
|
|
9738
9739
|
kind: "directive",
|
|
@@ -9860,7 +9861,7 @@ var HxDateRangeQuickSelect = class HxDateRangeQuickSelect {
|
|
|
9860
9861
|
};
|
|
9861
9862
|
i0.ɵɵngDeclareClassMetadata({
|
|
9862
9863
|
minVersion: "12.0.0",
|
|
9863
|
-
version: "22.
|
|
9864
|
+
version: "22.3.0",
|
|
9864
9865
|
ngImport: i0,
|
|
9865
9866
|
type: HxDateRangeQuickSelect,
|
|
9866
9867
|
decorators: [{
|
|
@@ -9885,7 +9886,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9885
9886
|
class: "hx-date-range-quick-select",
|
|
9886
9887
|
"(focusout)": "onHostFocusOut($event)"
|
|
9887
9888
|
},
|
|
9888
|
-
template: "<div\n class=\"hx-date-picker hx-date-picker-has-icon hx-date-range-quick-select-control\"\n [class.hx-date-picker-open]=\"open()\"\n [class.hx-date-picker-disabled]=\"isDisabled()\"\n [class.hx-date-picker-invalid]=\"invalid()\"\n>\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n readonly\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"close()\"\n >\n @let l = texts();\n <div\n class=\"hx-date-picker-popup hx-date-range-quick-select-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <section class=\"hx-date-range-quick-select-section\" [attr.aria-labelledby]=\"popupId + '-quick'\">\n <span class=\"hx-date-range-quick-select-caption\" [id]=\"popupId + '-quick'\">{{ l.quickSelect }}</span>\n <div class=\"hx-date-range-quick-select-row\">\n <hx-select\n #quickFirst\n class=\"hx-date-range-quick-select-direction\"\n [options]=\"directionOptions()\"\n [ariaLabel]=\"l.direction\"\n [value]=\"quickDirection()\"\n (valueChange)=\"setQuickDirection($event)\"\n />\n <input\n hx-input\n type=\"number\"\n min=\"1\"\n step=\"1\"\n class=\"hx-date-range-quick-select-amount\"\n [attr.aria-label]=\"l.amount\"\n [attr.aria-invalid]=\"quickError() ? 'true' : null\"\n [attr.aria-describedby]=\"quickError() ? quickErrorId : null\"\n [value]=\"quickAmount()\"\n (input)=\"setQuickAmount($event)\"\n (keydown.enter)=\"$event.preventDefault(); applyQuick()\"\n />\n <hx-select\n class=\"hx-date-range-quick-select-unit\"\n [options]=\"unitOptions()\"\n [ariaLabel]=\"l.unit\"\n [value]=\"quickUnit()\"\n (valueChange)=\"setQuickUnit($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-button hx-date-range-quick-select-apply\"\n [attr.aria-describedby]=\"quickError() ? quickErrorId : null\"\n (click)=\"applyQuick()\"\n >\n {{ l.apply }}\n </button>\n </div>\n </section>\n @if (commonlyUsed().length > 0) {\n <section class=\"hx-date-range-quick-select-section\" [attr.aria-labelledby]=\"popupId + '-common'\">\n <span class=\"hx-date-range-quick-select-caption\" [id]=\"popupId + '-common'\">{{ l.commonlyUsed }}</span>\n <ul class=\"hx-date-range-quick-select-ranges hx-date-range-quick-select-common\">\n @for (range of commonlyUsed(); track $index) {\n <li>\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"applyRange(range)\">{{ range.label }}</button>\n </li>\n }\n </ul>\n </section>\n }\n @if (recentItems().length > 0) {\n <section class=\"hx-date-range-quick-select-section\" [attr.aria-labelledby]=\"popupId + '-recent'\">\n <span class=\"hx-date-range-quick-select-caption\" [id]=\"popupId + '-recent'\">{{ l.recentlyUsed }}</span>\n <ul class=\"hx-date-range-quick-select-ranges hx-date-range-quick-select-recent\">\n @for (item of recentItems(); track item.range.from + ' ' + item.range.to) {\n <li>\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"applyRange(item.range)\">{{ item.label }}</button>\n </li>\n }\n </ul>\n </section>\n }\n <!-- one line per side; a click opens the editor of that side (Absolute / Relative / Now) below -->\n <div class=\"hx-date-range-quick-select-summary\" role=\"group\" [attr.aria-label]=\"l.range\">\n @for (s of sideKeys; track s) {\n <button\n #sideButton\n type=\"button\"\n class=\"hx-date-range-quick-select-side-line\"\n [class]=\"'hx-date-range-quick-select-side-line-' + s\"\n [id]=\"sideButtonId(s)\"\n [attr.aria-expanded]=\"openSide() === s\"\n [attr.aria-controls]=\"openSide() === s ? editorId(s) : null\"\n (click)=\"toggleSide(s)\"\n >\n <span class=\"hx-date-range-quick-select-side-name\">{{ s === 'from' ? l.start : l.end }}</span>&ngsp;\n <span class=\"hx-date-range-quick-select-side-value\">{{ sideSummary(s) }}</span>\n </button>\n }\n </div>\n @if (openSide(); as s) {\n @let state = sides()[s];\n @let sideName = s === 'from' ? l.start : l.end;\n <section\n class=\"hx-date-range-quick-select-editor\"\n [class]=\"'hx-date-range-quick-select-editor-' + s\"\n [id]=\"editorId(s)\"\n [attr.aria-labelledby]=\"sideButtonId(s)\"\n >\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- composite widget: focus moves over its items (roving tabindex or aria-activedescendant) -->\n <div\n class=\"hx-date-range-quick-select-tabs\"\n role=\"tablist\"\n [attr.aria-labelledby]=\"sideButtonId(s)\"\n (keydown)=\"onTabKeydown(s, $event)\"\n >\n @for (mode of sideModes; track mode) {\n <button\n #sideTab\n type=\"button\"\n role=\"tab\"\n class=\"hx-date-range-quick-select-tab\"\n [id]=\"tabId(s, mode)\"\n [attr.aria-selected]=\"state.mode === mode\"\n [attr.aria-controls]=\"panelId(s)\"\n [attr.tabindex]=\"state.mode === mode ? 0 : -1\"\n (click)=\"setSideMode(s, mode)\"\n >\n {{ mode === 'absolute' ? l.absolute : mode === 'relative' ? l.relative : l.now }}\n </button>\n }\n </div>\n <div\n class=\"hx-date-range-quick-select-tabpanel\"\n role=\"tabpanel\"\n tabindex=\"0\"\n [id]=\"panelId(s)\"\n [attr.aria-labelledby]=\"tabId(s, state.mode)\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n >\n @switch (state.mode) {\n @case ('absolute') {\n <input\n hx-input\n fluid\n type=\"text\"\n autocomplete=\"off\"\n class=\"hx-date-range-quick-select-side-date\"\n [attr.aria-label]=\"sideName + ' ' + l.date\"\n [attr.aria-invalid]=\"sideError() ? 'true' : null\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n [value]=\"sideText(s)\"\n (change)=\"setAbsoluteSide(s, $event)\"\n (keydown.enter)=\"$event.preventDefault(); setAbsoluteSide(s, $event)\"\n />\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <span class=\"hx-date-range-quick-select-resolved-date\">{{ sideResolvedText(s) }}</span>\n </p>\n <div class=\"hx-date-range-quick-select-calendar\" role=\"group\" [attr.aria-label]=\"sideName + ' ' + l.date\">\n <hx-calendar\n [(focusedDate)]=\"calendarFocus\"\n [(view)]=\"calendarView\"\n [selectedDates]=\"sideDays(s)\"\n selectionMode=\"single\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [titleId]=\"calendarTitleId\"\n [today]=\"today()\"\n (picked)=\"pickDay(s, $event)\"\n />\n </div>\n }\n @case ('relative') {\n <div class=\"hx-date-range-quick-select-row\">\n <input\n hx-input\n type=\"number\"\n min=\"0\"\n step=\"1\"\n class=\"hx-date-range-quick-select-side-amount\"\n [attr.aria-label]=\"l.amount\"\n [attr.aria-invalid]=\"sideError() ? 'true' : null\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n [value]=\"state.amount ?? ''\"\n (input)=\"setSideAmount(s, $event)\"\n />\n <hx-select\n class=\"hx-date-range-quick-select-side-unit\"\n [options]=\"relativeOptions()\"\n [ariaLabel]=\"l.unit\"\n [value]=\"sideUnitValue(s)\"\n (valueChange)=\"setSideUnit(s, $event)\"\n />\n </div>\n <label class=\"hx-date-range-quick-select-side-round\">\n <input type=\"checkbox\" hx-checkbox [checked]=\"state.round\" (change)=\"setSideRound(s, $event)\" />\n {{ sideRoundLabel(s) }}\n </label>\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <code class=\"hx-date-range-quick-select-expression\">{{ sideExpressionText(s) }}</code>&ngsp;\n <span class=\"hx-date-range-quick-select-resolved-date\">{{ sideResolvedText(s) }}</span>\n </p>\n }\n @case ('now') {\n <p class=\"hx-date-range-quick-select-now-hint\">{{ l.nowHint }}</p>\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <span class=\"hx-date-range-quick-select-resolved-date\">{{ sideResolvedText(s) }}</span>\n </p>\n }\n }\n </div>\n </section>\n }\n @if (quickError() || sideError()) {\n <p class=\"hx-date-range-quick-select-error\" role=\"alert\" [id]=\"quickErrorId\">{{ l.incompleteRange }}</p>\n }\n </div>\n </ng-template>\n</div>\n"
|
|
9889
|
+
template: "<div\n class=\"hx-date-picker hx-date-picker-has-icon hx-date-range-quick-select-control\"\n [class.hx-date-picker-open]=\"open()\"\n [class.hx-date-picker-disabled]=\"isDisabled()\"\n [class.hx-date-picker-invalid]=\"invalid()\"\n>\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n readonly\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"close()\"\n >\n @let l = texts();\n <div\n class=\"hx-date-picker-popup hx-date-range-quick-select-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <section\n class=\"hx-date-range-quick-select-section\"\n [attr.aria-labelledby]=\"popupId + '-quick'\"\n >\n <span\n class=\"hx-date-range-quick-select-caption\"\n [id]=\"popupId + '-quick'\"\n >{{ l.quickSelect }}</span\n >\n <div class=\"hx-date-range-quick-select-row\">\n <hx-select\n #quickFirst\n class=\"hx-date-range-quick-select-direction\"\n [options]=\"directionOptions()\"\n [ariaLabel]=\"l.direction\"\n [value]=\"quickDirection()\"\n (valueChange)=\"setQuickDirection($event)\"\n />\n <input\n hx-input\n type=\"number\"\n min=\"1\"\n step=\"1\"\n class=\"hx-date-range-quick-select-amount\"\n [attr.aria-label]=\"l.amount\"\n [attr.aria-invalid]=\"quickError() ? 'true' : null\"\n [attr.aria-describedby]=\"quickError() ? quickErrorId : null\"\n [value]=\"quickAmount()\"\n (input)=\"setQuickAmount($event)\"\n (keydown.enter)=\"$event.preventDefault(); applyQuick()\"\n />\n <hx-select\n class=\"hx-date-range-quick-select-unit\"\n [options]=\"unitOptions()\"\n [ariaLabel]=\"l.unit\"\n [value]=\"quickUnit()\"\n (valueChange)=\"setQuickUnit($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-button hx-date-range-quick-select-apply\"\n [attr.aria-describedby]=\"quickError() ? quickErrorId : null\"\n (click)=\"applyQuick()\"\n >\n {{ l.apply }}\n </button>\n </div>\n </section>\n @if (commonlyUsed().length > 0) {\n <section\n class=\"hx-date-range-quick-select-section\"\n [attr.aria-labelledby]=\"popupId + '-common'\"\n >\n <span\n class=\"hx-date-range-quick-select-caption\"\n [id]=\"popupId + '-common'\"\n >{{ l.commonlyUsed }}</span\n >\n <ul class=\"hx-date-range-quick-select-ranges hx-date-range-quick-select-common\">\n @for (range of commonlyUsed(); track $index) {\n <li>\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"applyRange(range)\">\n {{ range.label }}\n </button>\n </li>\n }\n </ul>\n </section>\n }\n @if (recentItems().length > 0) {\n <section\n class=\"hx-date-range-quick-select-section\"\n [attr.aria-labelledby]=\"popupId + '-recent'\"\n >\n <span\n class=\"hx-date-range-quick-select-caption\"\n [id]=\"popupId + '-recent'\"\n >{{ l.recentlyUsed }}</span\n >\n <ul class=\"hx-date-range-quick-select-ranges hx-date-range-quick-select-recent\">\n @for (item of recentItems(); track item.range.from + ' ' + item.range.to) {\n <li>\n <button\n type=\"button\"\n class=\"hx-date-picker-button\"\n (click)=\"applyRange(item.range)\"\n >\n {{ item.label }}\n </button>\n </li>\n }\n </ul>\n </section>\n }\n <!-- one line per side; a click opens the editor of that side (Absolute / Relative / Now) below -->\n <div class=\"hx-date-range-quick-select-summary\" role=\"group\" [attr.aria-label]=\"l.range\">\n @for (s of sideKeys; track s) {\n <button\n #sideButton\n type=\"button\"\n class=\"hx-date-range-quick-select-side-line\"\n [class]=\"'hx-date-range-quick-select-side-line-' + s\"\n [id]=\"sideButtonId(s)\"\n [attr.aria-expanded]=\"openSide() === s\"\n [attr.aria-controls]=\"openSide() === s ? editorId(s) : null\"\n (click)=\"toggleSide(s)\"\n >\n <span\n class=\"hx-date-range-quick-select-side-name\"\n >{{ s === 'from' ? l.start : l.end }}</span\n >&ngsp;\n <span class=\"hx-date-range-quick-select-side-value\">{{ sideSummary(s) }}</span>\n </button>\n }\n </div>\n @if (openSide(); as s) {\n @let state = sides()[s];\n @let sideName = s === 'from' ? l.start : l.end;\n <section\n class=\"hx-date-range-quick-select-editor\"\n [class]=\"'hx-date-range-quick-select-editor-' + s\"\n [id]=\"editorId(s)\"\n [attr.aria-labelledby]=\"sideButtonId(s)\"\n >\n <!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- composite widget: focus moves over its items (roving tabindex or aria-activedescendant) -->\n <div\n class=\"hx-date-range-quick-select-tabs\"\n role=\"tablist\"\n [attr.aria-labelledby]=\"sideButtonId(s)\"\n (keydown)=\"onTabKeydown(s, $event)\"\n >\n @for (mode of sideModes; track mode) {\n <button\n #sideTab\n type=\"button\"\n role=\"tab\"\n class=\"hx-date-range-quick-select-tab\"\n [id]=\"tabId(s, mode)\"\n [attr.aria-selected]=\"state.mode === mode\"\n [attr.aria-controls]=\"panelId(s)\"\n [attr.tabindex]=\"state.mode === mode ? 0 : -1\"\n (click)=\"setSideMode(s, mode)\"\n >\n {{ mode === 'absolute' ? l.absolute : mode === 'relative' ? l.relative : l.now }}\n </button>\n }\n </div>\n <div\n class=\"hx-date-range-quick-select-tabpanel\"\n role=\"tabpanel\"\n tabindex=\"0\"\n [id]=\"panelId(s)\"\n [attr.aria-labelledby]=\"tabId(s, state.mode)\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n >\n @switch (state.mode) {\n @case ('absolute') {\n <input\n hx-input\n fluid\n type=\"text\"\n autocomplete=\"off\"\n class=\"hx-date-range-quick-select-side-date\"\n [attr.aria-label]=\"sideName + ' ' + l.date\"\n [attr.aria-invalid]=\"sideError() ? 'true' : null\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n [value]=\"sideText(s)\"\n (change)=\"setAbsoluteSide(s, $event)\"\n (keydown.enter)=\"$event.preventDefault(); setAbsoluteSide(s, $event)\"\n />\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <span\n class=\"hx-date-range-quick-select-resolved-date\"\n >{{ sideResolvedText(s) }}</span\n >\n </p>\n <div\n class=\"hx-date-range-quick-select-calendar\"\n role=\"group\"\n [attr.aria-label]=\"sideName + ' ' + l.date\"\n >\n <hx-calendar\n [(focusedDate)]=\"calendarFocus\"\n [(view)]=\"calendarView\"\n [selectedDates]=\"sideDays(s)\"\n selectionMode=\"single\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [titleId]=\"calendarTitleId\"\n [today]=\"today()\"\n (picked)=\"pickDay(s, $event)\"\n />\n </div>\n }\n @case ('relative') {\n <div class=\"hx-date-range-quick-select-row\">\n <input\n hx-input\n type=\"number\"\n min=\"0\"\n step=\"1\"\n class=\"hx-date-range-quick-select-side-amount\"\n [attr.aria-label]=\"l.amount\"\n [attr.aria-invalid]=\"sideError() ? 'true' : null\"\n [attr.aria-describedby]=\"sideError() ? quickErrorId : null\"\n [value]=\"state.amount ?? ''\"\n (input)=\"setSideAmount(s, $event)\"\n />\n <hx-select\n class=\"hx-date-range-quick-select-side-unit\"\n [options]=\"relativeOptions()\"\n [ariaLabel]=\"l.unit\"\n [value]=\"sideUnitValue(s)\"\n (valueChange)=\"setSideUnit(s, $event)\"\n />\n </div>\n <label class=\"hx-date-range-quick-select-side-round\">\n <input\n type=\"checkbox\"\n hx-checkbox\n [checked]=\"state.round\"\n (change)=\"setSideRound(s, $event)\"\n />\n {{ sideRoundLabel(s) }}\n </label>\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <code\n class=\"hx-date-range-quick-select-expression\"\n >{{ sideExpressionText(s) }}</code\n >&ngsp;\n <span\n class=\"hx-date-range-quick-select-resolved-date\"\n >{{ sideResolvedText(s) }}</span\n >\n </p>\n }\n @case ('now') {\n <p class=\"hx-date-range-quick-select-now-hint\">{{ l.nowHint }}</p>\n <p class=\"hx-date-range-quick-select-side-resolved\">\n <span\n class=\"hx-date-range-quick-select-resolved-date\"\n >{{ sideResolvedText(s) }}</span\n >\n </p>\n }\n }\n </div>\n </section>\n }\n @if (quickError() || sideError()) {\n <p class=\"hx-date-range-quick-select-error\" role=\"alert\" [id]=\"quickErrorId\">\n {{ l.incompleteRange }}\n </p>\n }\n </div>\n </ng-template>\n</div>\n"
|
|
9889
9890
|
}]
|
|
9890
9891
|
}],
|
|
9891
9892
|
ctorParameters: () => [],
|
|
@@ -10216,7 +10217,7 @@ var HxTimeRow = class HxTimeRow {
|
|
|
10216
10217
|
}
|
|
10217
10218
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
10218
10219
|
minVersion: "12.0.0",
|
|
10219
|
-
version: "22.
|
|
10220
|
+
version: "22.3.0",
|
|
10220
10221
|
ngImport: i0,
|
|
10221
10222
|
type: HxTimeRow,
|
|
10222
10223
|
deps: [],
|
|
@@ -10224,7 +10225,7 @@ var HxTimeRow = class HxTimeRow {
|
|
|
10224
10225
|
});
|
|
10225
10226
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
10226
10227
|
minVersion: "17.0.0",
|
|
10227
|
-
version: "22.
|
|
10228
|
+
version: "22.3.0",
|
|
10228
10229
|
type: HxTimeRow,
|
|
10229
10230
|
isStandalone: true,
|
|
10230
10231
|
selector: "hx-time-row",
|
|
@@ -10331,13 +10332,13 @@ var HxTimeRow = class HxTimeRow {
|
|
|
10331
10332
|
outputs: { timeChange: "timeChange" },
|
|
10332
10333
|
host: { styleAttribute: "display: contents" },
|
|
10333
10334
|
ngImport: i0,
|
|
10334
|
-
template: "<div class=\"hx-date-picker-time\" role=\"group\" [attr.aria-label]=\"timeLabel()\">\n @for (column of columns(); track column.unit) {\n @if (column.unit !== 'hour' && column.unit !== 'period') {\n <span class=\"hx-date-picker-time-separator\" aria-hidden=\"true\">:</span>\n }\n <div class=\"hx-date-picker-time-column\">\n <button
|
|
10335
|
+
template: "<div class=\"hx-date-picker-time\" role=\"group\" [attr.aria-label]=\"timeLabel()\">\n @for (column of columns(); track column.unit) {\n @if (column.unit !== 'hour' && column.unit !== 'period') {\n <span class=\"hx-date-picker-time-separator\" aria-hidden=\"true\">:</span>\n }\n <div class=\"hx-date-picker-time-column\">\n <button\n type=\"button\"\n class=\"hx-date-picker-time-button\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n [disabled]=\"disabled()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"stepTime(column, 1)\"\n >\n <span class=\"hx-date-picker-time-up-icon\" aria-hidden=\"true\"></span>\n </button>\n <div\n class=\"hx-date-picker-time-spin\"\n role=\"spinbutton\"\n [attr.tabindex]=\"disabled() ? -1 : 0\"\n [attr.aria-label]=\"column.label\"\n [attr.aria-valuenow]=\"column.now\"\n [attr.aria-valuemin]=\"column.min\"\n [attr.aria-valuemax]=\"column.max\"\n [attr.aria-valuetext]=\"column.valueText\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n (keydown)=\"onTimeKeydown($event, column)\"\n >\n {{ column.text }}\n </div>\n <button\n type=\"button\"\n class=\"hx-date-picker-time-button\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n [disabled]=\"disabled()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"stepTime(column, -1)\"\n >\n <span class=\"hx-date-picker-time-down-icon\" aria-hidden=\"true\"></span>\n </button>\n </div>\n }\n</div>\n",
|
|
10335
10336
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
10336
10337
|
});
|
|
10337
10338
|
};
|
|
10338
10339
|
i0.ɵɵngDeclareClassMetadata({
|
|
10339
10340
|
minVersion: "12.0.0",
|
|
10340
|
-
version: "22.
|
|
10341
|
+
version: "22.3.0",
|
|
10341
10342
|
ngImport: i0,
|
|
10342
10343
|
type: HxTimeRow,
|
|
10343
10344
|
decorators: [{
|
|
@@ -10346,7 +10347,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
10346
10347
|
selector: "hx-time-row",
|
|
10347
10348
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10348
10349
|
host: { style: "display: contents" },
|
|
10349
|
-
template: "<div class=\"hx-date-picker-time\" role=\"group\" [attr.aria-label]=\"timeLabel()\">\n @for (column of columns(); track column.unit) {\n @if (column.unit !== 'hour' && column.unit !== 'period') {\n <span class=\"hx-date-picker-time-separator\" aria-hidden=\"true\">:</span>\n }\n <div class=\"hx-date-picker-time-column\">\n <button
|
|
10350
|
+
template: "<div class=\"hx-date-picker-time\" role=\"group\" [attr.aria-label]=\"timeLabel()\">\n @for (column of columns(); track column.unit) {\n @if (column.unit !== 'hour' && column.unit !== 'period') {\n <span class=\"hx-date-picker-time-separator\" aria-hidden=\"true\">:</span>\n }\n <div class=\"hx-date-picker-time-column\">\n <button\n type=\"button\"\n class=\"hx-date-picker-time-button\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n [disabled]=\"disabled()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"stepTime(column, 1)\"\n >\n <span class=\"hx-date-picker-time-up-icon\" aria-hidden=\"true\"></span>\n </button>\n <div\n class=\"hx-date-picker-time-spin\"\n role=\"spinbutton\"\n [attr.tabindex]=\"disabled() ? -1 : 0\"\n [attr.aria-label]=\"column.label\"\n [attr.aria-valuenow]=\"column.now\"\n [attr.aria-valuemin]=\"column.min\"\n [attr.aria-valuemax]=\"column.max\"\n [attr.aria-valuetext]=\"column.valueText\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n (keydown)=\"onTimeKeydown($event, column)\"\n >\n {{ column.text }}\n </div>\n <button\n type=\"button\"\n class=\"hx-date-picker-time-button\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n [disabled]=\"disabled()\"\n (mousedown)=\"$event.preventDefault()\"\n (click)=\"stepTime(column, -1)\"\n >\n <span class=\"hx-date-picker-time-down-icon\" aria-hidden=\"true\"></span>\n </button>\n </div>\n }\n</div>\n"
|
|
10350
10351
|
}]
|
|
10351
10352
|
}],
|
|
10352
10353
|
propDecorators: {
|
|
@@ -10760,7 +10761,7 @@ var HxDateTimePicker = class HxDateTimePicker {
|
|
|
10760
10761
|
}
|
|
10761
10762
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
10762
10763
|
minVersion: "12.0.0",
|
|
10763
|
-
version: "22.
|
|
10764
|
+
version: "22.3.0",
|
|
10764
10765
|
ngImport: i0,
|
|
10765
10766
|
type: HxDateTimePicker,
|
|
10766
10767
|
deps: [],
|
|
@@ -10768,7 +10769,7 @@ var HxDateTimePicker = class HxDateTimePicker {
|
|
|
10768
10769
|
});
|
|
10769
10770
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
10770
10771
|
minVersion: "17.0.0",
|
|
10771
|
-
version: "22.
|
|
10772
|
+
version: "22.3.0",
|
|
10772
10773
|
type: HxDateTimePicker,
|
|
10773
10774
|
isStandalone: true,
|
|
10774
10775
|
selector: "hx-date-time-picker",
|
|
@@ -11019,7 +11020,7 @@ var HxDateTimePicker = class HxDateTimePicker {
|
|
|
11019
11020
|
isSignal: true
|
|
11020
11021
|
}],
|
|
11021
11022
|
ngImport: i0,
|
|
11022
|
-
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"panel\" />\n} @else {\n <div class=\"hx-date-time-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-date-time-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-date-time-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-time-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-time-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-time-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"panel\" />\n @if (showButtonBar()) {\n <div class=\"hx-date-time-picker-buttonbar\">\n <button type=\"button\" class=\"hx-date-time-picker-button\" (click)=\"selectToday()\"
|
|
11023
|
+
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"panel\" />\n} @else {\n <div class=\"hx-date-time-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-date-time-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-date-time-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-time-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-time-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-time-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"panel\" />\n @if (showButtonBar()) {\n <div class=\"hx-date-time-picker-buttonbar\">\n <button type=\"button\" class=\"hx-date-time-picker-button\" (click)=\"selectToday()\">\n {{ todayLabel() }}\n </button>\n <button type=\"button\" class=\"hx-date-time-picker-button\" (click)=\"clear()\">\n {{ clearLabel() }}\n </button>\n </div>\n }\n </div>\n </ng-template>\n}\n\n<ng-template #panel>\n <div\n class=\"hx-date-time-picker-panel\"\n role=\"group\"\n [attr.aria-label]=\"inline() ? (ariaLabel() ?? chooseLabel()) : null\"\n [attr.aria-labelledby]=\"inline() ? (ariaLabelledby() ?? null) : null\"\n (focusout)=\"onInlineFocusOut($event)\"\n >\n <hx-calendar\n [(focusedDate)]=\"focusedDate\"\n [(view)]=\"view\"\n [selectedDates]=\"selectedDates()\"\n selectionMode=\"single\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [disabledDates]=\"disabledDates()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [titleId]=\"titleId\"\n [today]=\"today\"\n (picked)=\"pick($event)\"\n />\n <hx-time-row\n [time]=\"time()\"\n [hour12]=\"hour12()\"\n [showMinutes]=\"showMinutes()\"\n [showSeconds]=\"showSeconds()\"\n [stepHour]=\"stepHour()\"\n [stepMinute]=\"stepMinute()\"\n [stepSecond]=\"stepSecond()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [timeLabel]=\"timeLabel()\"\n [hourLabel]=\"hourLabel()\"\n [minuteLabel]=\"minuteLabel()\"\n [secondLabel]=\"secondLabel()\"\n [periodLabel]=\"periodLabel()\"\n (timeChange)=\"setTime($event)\"\n />\n </div>\n</ng-template>\n",
|
|
11023
11024
|
dependencies: [
|
|
11024
11025
|
{
|
|
11025
11026
|
kind: "directive",
|
|
@@ -11130,7 +11131,7 @@ var HxDateTimePicker = class HxDateTimePicker {
|
|
|
11130
11131
|
};
|
|
11131
11132
|
i0.ɵɵngDeclareClassMetadata({
|
|
11132
11133
|
minVersion: "12.0.0",
|
|
11133
|
-
version: "22.
|
|
11134
|
+
version: "22.3.0",
|
|
11134
11135
|
ngImport: i0,
|
|
11135
11136
|
type: HxDateTimePicker,
|
|
11136
11137
|
decorators: [{
|
|
@@ -11160,7 +11161,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
11160
11161
|
"[class.hx-filled]": "!inline() && text() !== \"\"",
|
|
11161
11162
|
"(focusout)": "onHostFocusOut($event)"
|
|
11162
11163
|
},
|
|
11163
|
-
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"panel\" />\n} @else {\n <div class=\"hx-date-time-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-date-time-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-date-time-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-time-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-time-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-time-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"panel\" />\n @if (showButtonBar()) {\n <div class=\"hx-date-time-picker-buttonbar\">\n <button type=\"button\" class=\"hx-date-time-picker-button\" (click)=\"selectToday()\"
|
|
11164
|
+
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"panel\" />\n} @else {\n <div class=\"hx-date-time-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-date-time-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-date-time-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-time-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-time-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-time-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"panel\" />\n @if (showButtonBar()) {\n <div class=\"hx-date-time-picker-buttonbar\">\n <button type=\"button\" class=\"hx-date-time-picker-button\" (click)=\"selectToday()\">\n {{ todayLabel() }}\n </button>\n <button type=\"button\" class=\"hx-date-time-picker-button\" (click)=\"clear()\">\n {{ clearLabel() }}\n </button>\n </div>\n }\n </div>\n </ng-template>\n}\n\n<ng-template #panel>\n <div\n class=\"hx-date-time-picker-panel\"\n role=\"group\"\n [attr.aria-label]=\"inline() ? (ariaLabel() ?? chooseLabel()) : null\"\n [attr.aria-labelledby]=\"inline() ? (ariaLabelledby() ?? null) : null\"\n (focusout)=\"onInlineFocusOut($event)\"\n >\n <hx-calendar\n [(focusedDate)]=\"focusedDate\"\n [(view)]=\"view\"\n [selectedDates]=\"selectedDates()\"\n selectionMode=\"single\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [disabledDates]=\"disabledDates()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [titleId]=\"titleId\"\n [today]=\"today\"\n (picked)=\"pick($event)\"\n />\n <hx-time-row\n [time]=\"time()\"\n [hour12]=\"hour12()\"\n [showMinutes]=\"showMinutes()\"\n [showSeconds]=\"showSeconds()\"\n [stepHour]=\"stepHour()\"\n [stepMinute]=\"stepMinute()\"\n [stepSecond]=\"stepSecond()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [timeLabel]=\"timeLabel()\"\n [hourLabel]=\"hourLabel()\"\n [minuteLabel]=\"minuteLabel()\"\n [secondLabel]=\"secondLabel()\"\n [periodLabel]=\"periodLabel()\"\n (timeChange)=\"setTime($event)\"\n />\n </div>\n</ng-template>\n"
|
|
11164
11165
|
}]
|
|
11165
11166
|
}],
|
|
11166
11167
|
ctorParameters: () => [],
|
|
@@ -11662,7 +11663,7 @@ var HxTimePicker = class HxTimePicker {
|
|
|
11662
11663
|
}
|
|
11663
11664
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
11664
11665
|
minVersion: "12.0.0",
|
|
11665
|
-
version: "22.
|
|
11666
|
+
version: "22.3.0",
|
|
11666
11667
|
ngImport: i0,
|
|
11667
11668
|
type: HxTimePicker,
|
|
11668
11669
|
deps: [],
|
|
@@ -11670,7 +11671,7 @@ var HxTimePicker = class HxTimePicker {
|
|
|
11670
11671
|
});
|
|
11671
11672
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
11672
11673
|
minVersion: "17.0.0",
|
|
11673
|
-
version: "22.
|
|
11674
|
+
version: "22.3.0",
|
|
11674
11675
|
type: HxTimePicker,
|
|
11675
11676
|
isStandalone: true,
|
|
11676
11677
|
selector: "hx-time-picker",
|
|
@@ -11907,7 +11908,7 @@ var HxTimePicker = class HxTimePicker {
|
|
|
11907
11908
|
isSignal: true
|
|
11908
11909
|
}],
|
|
11909
11910
|
ngImport: i0,
|
|
11910
|
-
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"row\" />\n} @else {\n <div class=\"hx-time-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-time-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-time-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-time-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-time-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-time-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"row\" />\n @if (showButtonBar()) {\n <div class=\"hx-time-picker-buttonbar\">\n <button type=\"button\" class=\"hx-time-picker-button\" (click)=\"selectNow()\"
|
|
11911
|
+
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"row\" />\n} @else {\n <div class=\"hx-time-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-time-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-time-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-time-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-time-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-time-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"row\" />\n @if (showButtonBar()) {\n <div class=\"hx-time-picker-buttonbar\">\n <button type=\"button\" class=\"hx-time-picker-button\" (click)=\"selectNow()\">\n {{ nowLabel() }}\n </button>\n <button type=\"button\" class=\"hx-time-picker-button\" (click)=\"clear()\">\n {{ clearLabel() }}\n </button>\n </div>\n }\n </div>\n </ng-template>\n}\n\n<ng-template #row>\n <div\n class=\"hx-time-picker-panel\"\n [attr.role]=\"inline() ? 'group' : null\"\n [attr.aria-label]=\"inline() ? (ariaLabel() ?? timeLabel()) : null\"\n [attr.aria-labelledby]=\"inline() ? (ariaLabelledby() ?? null) : null\"\n (focusout)=\"onInlineFocusOut($event)\"\n >\n <hx-time-row\n [time]=\"time()\"\n [hour12]=\"hour12()\"\n [showMinutes]=\"showMinutes()\"\n [showSeconds]=\"showSeconds()\"\n [stepHour]=\"stepHour()\"\n [stepMinute]=\"stepMinute()\"\n [stepSecond]=\"stepSecond()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [timeLabel]=\"timeLabel()\"\n [hourLabel]=\"hourLabel()\"\n [minuteLabel]=\"minuteLabel()\"\n [secondLabel]=\"secondLabel()\"\n [periodLabel]=\"periodLabel()\"\n (timeChange)=\"setTime($event)\"\n />\n </div>\n</ng-template>\n",
|
|
11911
11912
|
dependencies: [
|
|
11912
11913
|
{
|
|
11913
11914
|
kind: "directive",
|
|
@@ -11994,7 +11995,7 @@ var HxTimePicker = class HxTimePicker {
|
|
|
11994
11995
|
};
|
|
11995
11996
|
i0.ɵɵngDeclareClassMetadata({
|
|
11996
11997
|
minVersion: "12.0.0",
|
|
11997
|
-
version: "22.
|
|
11998
|
+
version: "22.3.0",
|
|
11998
11999
|
ngImport: i0,
|
|
11999
12000
|
type: HxTimePicker,
|
|
12000
12001
|
decorators: [{
|
|
@@ -12023,7 +12024,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
12023
12024
|
"[class.hx-filled]": "!inline() && text() !== \"\"",
|
|
12024
12025
|
"(focusout)": "onHostFocusOut($event)"
|
|
12025
12026
|
},
|
|
12026
|
-
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"row\" />\n} @else {\n <div class=\"hx-time-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-time-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-time-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-time-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-time-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-time-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"row\" />\n @if (showButtonBar()) {\n <div class=\"hx-time-picker-buttonbar\">\n <button type=\"button\" class=\"hx-time-picker-button\" (click)=\"selectNow()\"
|
|
12027
|
+
template: "@if (inline()) {\n <ng-container [ngTemplateOutlet]=\"row\" />\n} @else {\n <div class=\"hx-time-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n class=\"hx-time-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"show()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n @if (showIcon()) {\n <button\n type=\"button\"\n class=\"hx-time-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-time-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-time-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-time-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"row\" />\n @if (showButtonBar()) {\n <div class=\"hx-time-picker-buttonbar\">\n <button type=\"button\" class=\"hx-time-picker-button\" (click)=\"selectNow()\">\n {{ nowLabel() }}\n </button>\n <button type=\"button\" class=\"hx-time-picker-button\" (click)=\"clear()\">\n {{ clearLabel() }}\n </button>\n </div>\n }\n </div>\n </ng-template>\n}\n\n<ng-template #row>\n <div\n class=\"hx-time-picker-panel\"\n [attr.role]=\"inline() ? 'group' : null\"\n [attr.aria-label]=\"inline() ? (ariaLabel() ?? timeLabel()) : null\"\n [attr.aria-labelledby]=\"inline() ? (ariaLabelledby() ?? null) : null\"\n (focusout)=\"onInlineFocusOut($event)\"\n >\n <hx-time-row\n [time]=\"time()\"\n [hour12]=\"hour12()\"\n [showMinutes]=\"showMinutes()\"\n [showSeconds]=\"showSeconds()\"\n [stepHour]=\"stepHour()\"\n [stepMinute]=\"stepMinute()\"\n [stepSecond]=\"stepSecond()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n [timeLabel]=\"timeLabel()\"\n [hourLabel]=\"hourLabel()\"\n [minuteLabel]=\"minuteLabel()\"\n [secondLabel]=\"secondLabel()\"\n [periodLabel]=\"periodLabel()\"\n (timeChange)=\"setTime($event)\"\n />\n </div>\n</ng-template>\n"
|
|
12027
12028
|
}]
|
|
12028
12029
|
}],
|
|
12029
12030
|
propDecorators: {
|
|
@@ -12658,7 +12659,7 @@ var HxDateTimeRangePicker = class HxDateTimeRangePicker {
|
|
|
12658
12659
|
}
|
|
12659
12660
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
12660
12661
|
minVersion: "12.0.0",
|
|
12661
|
-
version: "22.
|
|
12662
|
+
version: "22.3.0",
|
|
12662
12663
|
ngImport: i0,
|
|
12663
12664
|
type: HxDateTimeRangePicker,
|
|
12664
12665
|
deps: [],
|
|
@@ -12666,7 +12667,7 @@ var HxDateTimeRangePicker = class HxDateTimeRangePicker {
|
|
|
12666
12667
|
});
|
|
12667
12668
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
12668
12669
|
minVersion: "17.0.0",
|
|
12669
|
-
version: "22.
|
|
12670
|
+
version: "22.3.0",
|
|
12670
12671
|
type: HxDateTimeRangePicker,
|
|
12671
12672
|
isStandalone: true,
|
|
12672
12673
|
selector: "hx-date-time-range-picker",
|
|
@@ -12940,7 +12941,7 @@ var HxDateTimeRangePicker = class HxDateTimeRangePicker {
|
|
|
12940
12941
|
}
|
|
12941
12942
|
],
|
|
12942
12943
|
ngImport: i0,
|
|
12943
|
-
template: "<div\n class=\"hx-date-picker hx-date-picker-has-icon hx-date-time-range-picker-control\"\n [class.hx-date-picker-open]=\"open()\"\n [class.hx-date-picker-disabled]=\"isDisabled()\"\n [class.hx-date-picker-invalid]=\"invalid()\"\n>\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n [readOnly]=\"!typeable()\"\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"onFieldClick()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-picker-popup hx-date-time-range-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n @if (presets().length > 0) {\n <hx-range-presets\n [presets]=\"presets()\"\n [display]=\"presetDisplay()\"\n [label]=\"presetsLabel()\"\n [disabled]=\"isDisabled()\"\n [selected]=\"selectedPreset()\"\n (chosen)=\"selectPreset($event)\"\n />\n }\n <div class=\"hx-date-time-range-picker-body\">\n @if (!timeOnly()) {\n <hx-date-picker\n class=\"hx-date-time-range-picker-days\"\n inline\n selectionMode=\"range\"\n [ariaLabel]=\"chooseLabel()\"\n [value]=\"days()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [locale]=\"locale()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [disabledDates]=\"disabledDates()\"\n (valueChange)=\"setDays($event)\"\n />\n }\n @if (showTime() || timeOnly()) {\n <div class=\"hx-date-time-range-picker-times\">\n <div class=\"hx-date-time-range-picker-time\">\n <span
|
|
12944
|
+
template: "<div\n class=\"hx-date-picker hx-date-picker-has-icon hx-date-time-range-picker-control\"\n [class.hx-date-picker-open]=\"open()\"\n [class.hx-date-picker-disabled]=\"isDisabled()\"\n [class.hx-date-picker-invalid]=\"invalid()\"\n>\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n [readOnly]=\"!typeable()\"\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"onFieldClick()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-picker-popup hx-date-time-range-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n @if (presets().length > 0) {\n <hx-range-presets\n [presets]=\"presets()\"\n [display]=\"presetDisplay()\"\n [label]=\"presetsLabel()\"\n [disabled]=\"isDisabled()\"\n [selected]=\"selectedPreset()\"\n (chosen)=\"selectPreset($event)\"\n />\n }\n <div class=\"hx-date-time-range-picker-body\">\n @if (!timeOnly()) {\n <hx-date-picker\n class=\"hx-date-time-range-picker-days\"\n inline\n selectionMode=\"range\"\n [ariaLabel]=\"chooseLabel()\"\n [value]=\"days()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [locale]=\"locale()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [disabledDates]=\"disabledDates()\"\n (valueChange)=\"setDays($event)\"\n />\n }\n @if (showTime() || timeOnly()) {\n <div class=\"hx-date-time-range-picker-times\">\n <div class=\"hx-date-time-range-picker-time\">\n <span\n class=\"hx-date-time-range-picker-caption\"\n aria-hidden=\"true\"\n >{{ fromLabel() }}</span\n >\n <hx-time-picker\n inline\n class=\"hx-date-time-range-picker-from\"\n [ariaLabel]=\"fromLabel()\"\n [value]=\"fromValue()\"\n [hourFormat]=\"hourFormat()\"\n [showMinutes]=\"showMinutes()\"\n [showSeconds]=\"showSeconds()\"\n [stepHour]=\"stepHour()\"\n [stepMinute]=\"stepMinute()\"\n [stepSecond]=\"stepSecond()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n (valueChange)=\"setFromTime($event)\"\n />\n </div>\n <div class=\"hx-date-time-range-picker-time\">\n <span\n class=\"hx-date-time-range-picker-caption\"\n aria-hidden=\"true\"\n >{{ toLabel() }}</span\n >\n <hx-time-picker\n inline\n class=\"hx-date-time-range-picker-to\"\n [ariaLabel]=\"toLabel()\"\n [value]=\"toValue()\"\n [hourFormat]=\"hourFormat()\"\n [showMinutes]=\"showMinutes()\"\n [showSeconds]=\"showSeconds()\"\n [stepHour]=\"stepHour()\"\n [stepMinute]=\"stepMinute()\"\n [stepSecond]=\"stepSecond()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n (valueChange)=\"setToTime($event)\"\n />\n </div>\n </div>\n }\n </div>\n <div class=\"hx-date-picker-buttonbar hx-date-time-range-picker-footer\">\n @if (showButtonBar()) {\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"clear()\">\n {{ clearLabel() }}\n </button>\n }\n <span class=\"hx-date-time-range-picker-spacer\"></span>\n <button\n type=\"button\"\n class=\"hx-date-picker-button hx-date-time-range-picker-cancel\"\n (click)=\"close(true)\"\n >\n {{ cancelLabel() }}\n </button>\n <button\n type=\"button\"\n class=\"hx-date-picker-button hx-date-time-range-picker-submit\"\n (click)=\"submit()\"\n >\n {{ submitLabel() }}\n </button>\n </div>\n </div>\n </ng-template>\n</div>\n",
|
|
12944
12945
|
dependencies: [
|
|
12945
12946
|
{
|
|
12946
12947
|
kind: "directive",
|
|
@@ -13077,7 +13078,7 @@ var HxDateTimeRangePicker = class HxDateTimeRangePicker {
|
|
|
13077
13078
|
};
|
|
13078
13079
|
i0.ɵɵngDeclareClassMetadata({
|
|
13079
13080
|
minVersion: "12.0.0",
|
|
13080
|
-
version: "22.
|
|
13081
|
+
version: "22.3.0",
|
|
13081
13082
|
ngImport: i0,
|
|
13082
13083
|
type: HxDateTimeRangePicker,
|
|
13083
13084
|
decorators: [{
|
|
@@ -13101,7 +13102,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
13101
13102
|
class: "hx-date-time-range-picker",
|
|
13102
13103
|
"(focusout)": "onHostFocusOut($event)"
|
|
13103
13104
|
},
|
|
13104
|
-
template: "<div\n class=\"hx-date-picker hx-date-picker-has-icon hx-date-time-range-picker-control\"\n [class.hx-date-picker-open]=\"open()\"\n [class.hx-date-picker-disabled]=\"isDisabled()\"\n [class.hx-date-picker-invalid]=\"invalid()\"\n>\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n [readOnly]=\"!typeable()\"\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"onFieldClick()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-picker-popup hx-date-time-range-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n @if (presets().length > 0) {\n <hx-range-presets\n [presets]=\"presets()\"\n [display]=\"presetDisplay()\"\n [label]=\"presetsLabel()\"\n [disabled]=\"isDisabled()\"\n [selected]=\"selectedPreset()\"\n (chosen)=\"selectPreset($event)\"\n />\n }\n <div class=\"hx-date-time-range-picker-body\">\n @if (!timeOnly()) {\n <hx-date-picker\n class=\"hx-date-time-range-picker-days\"\n inline\n selectionMode=\"range\"\n [ariaLabel]=\"chooseLabel()\"\n [value]=\"days()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [locale]=\"locale()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [disabledDates]=\"disabledDates()\"\n (valueChange)=\"setDays($event)\"\n />\n }\n @if (showTime() || timeOnly()) {\n <div class=\"hx-date-time-range-picker-times\">\n <div class=\"hx-date-time-range-picker-time\">\n <span
|
|
13105
|
+
template: "<div\n class=\"hx-date-picker hx-date-picker-has-icon hx-date-time-range-picker-control\"\n [class.hx-date-picker-open]=\"open()\"\n [class.hx-date-picker-disabled]=\"isDisabled()\"\n [class.hx-date-picker-invalid]=\"invalid()\"\n>\n <div class=\"hx-date-picker-field\" cdkOverlayOrigin #origin=\"cdkOverlayOrigin\">\n <input\n #field\n type=\"text\"\n [readOnly]=\"!typeable()\"\n class=\"hx-date-picker-input\"\n autocomplete=\"off\"\n aria-haspopup=\"dialog\"\n [attr.id]=\"inputId() ?? null\"\n [placeholder]=\"placeholder()\"\n [disabled]=\"isDisabled()\"\n [value]=\"text()\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? popupId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (input)=\"onTyping($event)\"\n (change)=\"commitTyping()\"\n (click)=\"onFieldClick()\"\n (keydown)=\"onFieldKeydown($event)\"\n />\n <button\n type=\"button\"\n class=\"hx-date-picker-trigger\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"chooseLabel()\"\n [attr.aria-expanded]=\"open()\"\n [disabled]=\"isDisabled()\"\n (click)=\"toggle()\"\n >\n <span class=\"hx-date-picker-trigger-icon\" aria-hidden=\"true\"></span>\n </button>\n </div>\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-date-picker-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayPush]=\"true\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <div\n class=\"hx-date-picker-popup hx-date-time-range-picker-popup\"\n role=\"dialog\"\n aria-modal=\"false\"\n [id]=\"popupId\"\n [attr.aria-label]=\"ariaLabel() ?? chooseLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (focusout)=\"onPopupFocusOut($event)\"\n >\n @if (presets().length > 0) {\n <hx-range-presets\n [presets]=\"presets()\"\n [display]=\"presetDisplay()\"\n [label]=\"presetsLabel()\"\n [disabled]=\"isDisabled()\"\n [selected]=\"selectedPreset()\"\n (chosen)=\"selectPreset($event)\"\n />\n }\n <div class=\"hx-date-time-range-picker-body\">\n @if (!timeOnly()) {\n <hx-date-picker\n class=\"hx-date-time-range-picker-days\"\n inline\n selectionMode=\"range\"\n [ariaLabel]=\"chooseLabel()\"\n [value]=\"days()\"\n [minDate]=\"minDate()\"\n [maxDate]=\"maxDate()\"\n [locale]=\"locale()\"\n [firstDayOfWeek]=\"firstDayOfWeek()\"\n [disabledDates]=\"disabledDates()\"\n (valueChange)=\"setDays($event)\"\n />\n }\n @if (showTime() || timeOnly()) {\n <div class=\"hx-date-time-range-picker-times\">\n <div class=\"hx-date-time-range-picker-time\">\n <span\n class=\"hx-date-time-range-picker-caption\"\n aria-hidden=\"true\"\n >{{ fromLabel() }}</span\n >\n <hx-time-picker\n inline\n class=\"hx-date-time-range-picker-from\"\n [ariaLabel]=\"fromLabel()\"\n [value]=\"fromValue()\"\n [hourFormat]=\"hourFormat()\"\n [showMinutes]=\"showMinutes()\"\n [showSeconds]=\"showSeconds()\"\n [stepHour]=\"stepHour()\"\n [stepMinute]=\"stepMinute()\"\n [stepSecond]=\"stepSecond()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n (valueChange)=\"setFromTime($event)\"\n />\n </div>\n <div class=\"hx-date-time-range-picker-time\">\n <span\n class=\"hx-date-time-range-picker-caption\"\n aria-hidden=\"true\"\n >{{ toLabel() }}</span\n >\n <hx-time-picker\n inline\n class=\"hx-date-time-range-picker-to\"\n [ariaLabel]=\"toLabel()\"\n [value]=\"toValue()\"\n [hourFormat]=\"hourFormat()\"\n [showMinutes]=\"showMinutes()\"\n [showSeconds]=\"showSeconds()\"\n [stepHour]=\"stepHour()\"\n [stepMinute]=\"stepMinute()\"\n [stepSecond]=\"stepSecond()\"\n [locale]=\"locale()\"\n [disabled]=\"isDisabled()\"\n (valueChange)=\"setToTime($event)\"\n />\n </div>\n </div>\n }\n </div>\n <div class=\"hx-date-picker-buttonbar hx-date-time-range-picker-footer\">\n @if (showButtonBar()) {\n <button type=\"button\" class=\"hx-date-picker-button\" (click)=\"clear()\">\n {{ clearLabel() }}\n </button>\n }\n <span class=\"hx-date-time-range-picker-spacer\"></span>\n <button\n type=\"button\"\n class=\"hx-date-picker-button hx-date-time-range-picker-cancel\"\n (click)=\"close(true)\"\n >\n {{ cancelLabel() }}\n </button>\n <button\n type=\"button\"\n class=\"hx-date-picker-button hx-date-time-range-picker-submit\"\n (click)=\"submit()\"\n >\n {{ submitLabel() }}\n </button>\n </div>\n </div>\n </ng-template>\n</div>\n"
|
|
13105
13106
|
}]
|
|
13106
13107
|
}],
|
|
13107
13108
|
ctorParameters: () => [],
|
|
@@ -13397,7 +13398,7 @@ var HxDivider = class HxDivider {
|
|
|
13397
13398
|
align = input(...ngDevMode ? [void 0, { debugName: "align" }] : /* istanbul ignore next */ []);
|
|
13398
13399
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
13399
13400
|
minVersion: "12.0.0",
|
|
13400
|
-
version: "22.
|
|
13401
|
+
version: "22.3.0",
|
|
13401
13402
|
ngImport: i0,
|
|
13402
13403
|
type: HxDivider,
|
|
13403
13404
|
deps: [],
|
|
@@ -13405,7 +13406,7 @@ var HxDivider = class HxDivider {
|
|
|
13405
13406
|
});
|
|
13406
13407
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
13407
13408
|
minVersion: "17.1.0",
|
|
13408
|
-
version: "22.
|
|
13409
|
+
version: "22.3.0",
|
|
13409
13410
|
type: HxDivider,
|
|
13410
13411
|
isStandalone: true,
|
|
13411
13412
|
selector: "hx-divider",
|
|
@@ -13453,7 +13454,7 @@ var HxDivider = class HxDivider {
|
|
|
13453
13454
|
};
|
|
13454
13455
|
i0.ɵɵngDeclareClassMetadata({
|
|
13455
13456
|
minVersion: "12.0.0",
|
|
13456
|
-
version: "22.
|
|
13457
|
+
version: "22.3.0",
|
|
13457
13458
|
ngImport: i0,
|
|
13458
13459
|
type: HxDivider,
|
|
13459
13460
|
decorators: [{
|
|
@@ -13605,7 +13606,7 @@ var HxDrawer = class HxDrawer {
|
|
|
13605
13606
|
}
|
|
13606
13607
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
13607
13608
|
minVersion: "12.0.0",
|
|
13608
|
-
version: "22.
|
|
13609
|
+
version: "22.3.0",
|
|
13609
13610
|
ngImport: i0,
|
|
13610
13611
|
type: HxDrawer,
|
|
13611
13612
|
deps: [],
|
|
@@ -13613,7 +13614,7 @@ var HxDrawer = class HxDrawer {
|
|
|
13613
13614
|
});
|
|
13614
13615
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
13615
13616
|
minVersion: "17.2.0",
|
|
13616
|
-
version: "22.
|
|
13617
|
+
version: "22.3.0",
|
|
13617
13618
|
type: HxDrawer,
|
|
13618
13619
|
isStandalone: true,
|
|
13619
13620
|
selector: "hx-drawer",
|
|
@@ -13724,7 +13725,7 @@ var HxDrawer = class HxDrawer {
|
|
|
13724
13725
|
isSignal: true
|
|
13725
13726
|
}],
|
|
13726
13727
|
ngImport: i0,
|
|
13727
|
-
template: "<ng-template #panel>\n <hx-dialog-frame
|
|
13728
|
+
template: "<ng-template #panel>\n <hx-dialog-frame\n class=\"hx-drawer\"\n [header]=\"header()\"\n [titleId]=\"titleId\"\n [closable]=\"closable()\"\n [closeLabel]=\"closeLabel()\"\n (closeClick)=\"visible.set(false)\"\n >\n <ng-container ngProjectAs=\"[hxDialogHeader]\"\n ><ng-content select=\"[hxDialogHeader]\"\n /></ng-container>\n <ng-content />\n <ng-container ngProjectAs=\"[hxDialogFooter]\"\n ><ng-content select=\"[hxDialogFooter]\"\n /></ng-container>\n </hx-dialog-frame>\n</ng-template>\n",
|
|
13728
13729
|
dependencies: [{
|
|
13729
13730
|
kind: "component",
|
|
13730
13731
|
type: HxDialogFrame,
|
|
@@ -13742,7 +13743,7 @@ var HxDrawer = class HxDrawer {
|
|
|
13742
13743
|
};
|
|
13743
13744
|
i0.ɵɵngDeclareClassMetadata({
|
|
13744
13745
|
minVersion: "12.0.0",
|
|
13745
|
-
version: "22.
|
|
13746
|
+
version: "22.3.0",
|
|
13746
13747
|
ngImport: i0,
|
|
13747
13748
|
type: HxDrawer,
|
|
13748
13749
|
decorators: [{
|
|
@@ -13752,7 +13753,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
13752
13753
|
imports: [HxDialogFrame],
|
|
13753
13754
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13754
13755
|
host: { class: "hx-drawer-anchor" },
|
|
13755
|
-
template: "<ng-template #panel>\n <hx-dialog-frame
|
|
13756
|
+
template: "<ng-template #panel>\n <hx-dialog-frame\n class=\"hx-drawer\"\n [header]=\"header()\"\n [titleId]=\"titleId\"\n [closable]=\"closable()\"\n [closeLabel]=\"closeLabel()\"\n (closeClick)=\"visible.set(false)\"\n >\n <ng-container ngProjectAs=\"[hxDialogHeader]\"\n ><ng-content select=\"[hxDialogHeader]\"\n /></ng-container>\n <ng-content />\n <ng-container ngProjectAs=\"[hxDialogFooter]\"\n ><ng-content select=\"[hxDialogFooter]\"\n /></ng-container>\n </hx-dialog-frame>\n</ng-template>\n"
|
|
13756
13757
|
}]
|
|
13757
13758
|
}],
|
|
13758
13759
|
ctorParameters: () => [],
|
|
@@ -13894,7 +13895,7 @@ var HxFieldset = class HxFieldset {
|
|
|
13894
13895
|
}
|
|
13895
13896
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
13896
13897
|
minVersion: "12.0.0",
|
|
13897
|
-
version: "22.
|
|
13898
|
+
version: "22.3.0",
|
|
13898
13899
|
ngImport: i0,
|
|
13899
13900
|
type: HxFieldset,
|
|
13900
13901
|
deps: [],
|
|
@@ -13902,7 +13903,7 @@ var HxFieldset = class HxFieldset {
|
|
|
13902
13903
|
});
|
|
13903
13904
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
13904
13905
|
minVersion: "17.0.0",
|
|
13905
|
-
version: "22.
|
|
13906
|
+
version: "22.3.0",
|
|
13906
13907
|
type: HxFieldset,
|
|
13907
13908
|
isStandalone: true,
|
|
13908
13909
|
selector: "hx-fieldset",
|
|
@@ -13944,7 +13945,7 @@ var HxFieldset = class HxFieldset {
|
|
|
13944
13945
|
};
|
|
13945
13946
|
i0.ɵɵngDeclareClassMetadata({
|
|
13946
13947
|
minVersion: "12.0.0",
|
|
13947
|
-
version: "22.
|
|
13948
|
+
version: "22.3.0",
|
|
13948
13949
|
ngImport: i0,
|
|
13949
13950
|
type: HxFieldset,
|
|
13950
13951
|
decorators: [{
|
|
@@ -14113,7 +14114,7 @@ var HxFileUpload = class HxFileUpload {
|
|
|
14113
14114
|
}
|
|
14114
14115
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
14115
14116
|
minVersion: "12.0.0",
|
|
14116
|
-
version: "22.
|
|
14117
|
+
version: "22.3.0",
|
|
14117
14118
|
ngImport: i0,
|
|
14118
14119
|
type: HxFileUpload,
|
|
14119
14120
|
deps: [],
|
|
@@ -14121,7 +14122,7 @@ var HxFileUpload = class HxFileUpload {
|
|
|
14121
14122
|
});
|
|
14122
14123
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
14123
14124
|
minVersion: "17.0.0",
|
|
14124
|
-
version: "22.
|
|
14125
|
+
version: "22.3.0",
|
|
14125
14126
|
type: HxFileUpload,
|
|
14126
14127
|
isStandalone: true,
|
|
14127
14128
|
selector: "hx-file-upload",
|
|
@@ -14268,7 +14269,7 @@ var HxFileUpload = class HxFileUpload {
|
|
|
14268
14269
|
isSignal: true
|
|
14269
14270
|
}],
|
|
14270
14271
|
ngImport: i0,
|
|
14271
|
-
template: "@if (mode() === 'basic') {\n <label
|
|
14272
|
+
template: "@if (mode() === 'basic') {\n <label\n class=\"hx-button hx-file-upload-choose\"\n [class.hx-button-disabled]=\"disabled()\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n >\n <input\n #picker\n type=\"file\"\n class=\"hx-file-upload-input\"\n [accept]=\"accept()\"\n [multiple]=\"multiple()\"\n [disabled]=\"disabled()\"\n (change)=\"onPick($event)\"\n />\n {{ chooseLabel() }}\n </label>\n @if (files().length) {\n <span class=\"hx-file-upload-names\">{{ names() }}</span>\n }\n} @else {\n <div class=\"hx-file-upload-header\">\n <label\n class=\"hx-button hx-file-upload-choose\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n >\n <input\n #picker\n type=\"file\"\n class=\"hx-file-upload-input\"\n [accept]=\"accept()\"\n [multiple]=\"multiple()\"\n [disabled]=\"disabled()\"\n (change)=\"onPick($event)\"\n />\n {{ chooseLabel() }}\n </label>\n @if (showUploadButton()) {\n <button\n hx-button\n type=\"button\"\n severity=\"secondary\"\n [disabled]=\"disabled() || !files().length\"\n (click)=\"doUpload()\"\n >\n {{ uploadLabel() }}\n </button>\n }\n @if (showCancelButton()) {\n <button\n hx-button\n type=\"button\"\n severity=\"secondary\"\n [disabled]=\"disabled() || !files().length\"\n (click)=\"cancel()\"\n >\n {{ cancelLabel() }}\n </button>\n }\n </div>\n <div\n class=\"hx-file-upload-content\"\n (dragenter)=\"onDrag($event, true)\"\n (dragover)=\"onDrag($event, true)\"\n (dragleave)=\"onDrag($event, false)\"\n (drop)=\"onDrop($event)\"\n >\n @if (progress() !== null && progress() !== undefined) {\n <div\n class=\"hx-file-upload-progress\"\n role=\"progressbar\"\n aria-label=\"Upload progress\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"progress()\"\n >\n <div class=\"hx-file-upload-progress-bar\" [style.width.%]=\"progress()\"></div>\n </div>\n }\n <div class=\"hx-file-upload-messages\" [id]=\"messagesId\" role=\"status\" aria-live=\"polite\">\n @for (message of messages(); track $index) {\n <p class=\"hx-file-upload-message\">{{ message }}</p>\n }\n </div>\n @if (files().length) {\n <ul class=\"hx-file-upload-list\">\n @for (file of files(); track file) {\n <li class=\"hx-file-upload-file\">\n <span class=\"hx-file-upload-file-info\">\n <span class=\"hx-file-upload-file-name\">{{ file.name }}</span>\n <span class=\"hx-file-upload-file-size\">{{ size(file) }}</span>\n </span>\n <button\n hx-button\n type=\"button\"\n variant=\"outlined\"\n severity=\"danger\"\n size=\"small\"\n [attr.aria-label]=\"'Remove ' + file.name\"\n [disabled]=\"disabled()\"\n (click)=\"removeFile(file)\"\n >\n {{ removeLabel() }}\n </button>\n </li>\n }\n </ul>\n } @else {\n <p class=\"hx-file-upload-empty\">{{ dropLabel() }}</p>\n }\n </div>\n}\n@if (mode() === 'basic') {\n <div class=\"hx-file-upload-messages\" [id]=\"messagesId\" role=\"status\" aria-live=\"polite\">\n @for (message of messages(); track $index) {\n <p class=\"hx-file-upload-message\">{{ message }}</p>\n }\n </div>\n}\n",
|
|
14272
14273
|
dependencies: [{
|
|
14273
14274
|
kind: "directive",
|
|
14274
14275
|
type: HxButton,
|
|
@@ -14290,7 +14291,7 @@ var HxFileUpload = class HxFileUpload {
|
|
|
14290
14291
|
};
|
|
14291
14292
|
i0.ɵɵngDeclareClassMetadata({
|
|
14292
14293
|
minVersion: "12.0.0",
|
|
14293
|
-
version: "22.
|
|
14294
|
+
version: "22.3.0",
|
|
14294
14295
|
ngImport: i0,
|
|
14295
14296
|
type: HxFileUpload,
|
|
14296
14297
|
decorators: [{
|
|
@@ -14305,7 +14306,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
14305
14306
|
"[class.hx-file-upload-disabled]": "disabled()",
|
|
14306
14307
|
"[class.hx-file-upload-highlight]": "dragging()"
|
|
14307
14308
|
},
|
|
14308
|
-
template: "@if (mode() === 'basic') {\n <label
|
|
14309
|
+
template: "@if (mode() === 'basic') {\n <label\n class=\"hx-button hx-file-upload-choose\"\n [class.hx-button-disabled]=\"disabled()\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n >\n <input\n #picker\n type=\"file\"\n class=\"hx-file-upload-input\"\n [accept]=\"accept()\"\n [multiple]=\"multiple()\"\n [disabled]=\"disabled()\"\n (change)=\"onPick($event)\"\n />\n {{ chooseLabel() }}\n </label>\n @if (files().length) {\n <span class=\"hx-file-upload-names\">{{ names() }}</span>\n }\n} @else {\n <div class=\"hx-file-upload-header\">\n <label\n class=\"hx-button hx-file-upload-choose\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n >\n <input\n #picker\n type=\"file\"\n class=\"hx-file-upload-input\"\n [accept]=\"accept()\"\n [multiple]=\"multiple()\"\n [disabled]=\"disabled()\"\n (change)=\"onPick($event)\"\n />\n {{ chooseLabel() }}\n </label>\n @if (showUploadButton()) {\n <button\n hx-button\n type=\"button\"\n severity=\"secondary\"\n [disabled]=\"disabled() || !files().length\"\n (click)=\"doUpload()\"\n >\n {{ uploadLabel() }}\n </button>\n }\n @if (showCancelButton()) {\n <button\n hx-button\n type=\"button\"\n severity=\"secondary\"\n [disabled]=\"disabled() || !files().length\"\n (click)=\"cancel()\"\n >\n {{ cancelLabel() }}\n </button>\n }\n </div>\n <div\n class=\"hx-file-upload-content\"\n (dragenter)=\"onDrag($event, true)\"\n (dragover)=\"onDrag($event, true)\"\n (dragleave)=\"onDrag($event, false)\"\n (drop)=\"onDrop($event)\"\n >\n @if (progress() !== null && progress() !== undefined) {\n <div\n class=\"hx-file-upload-progress\"\n role=\"progressbar\"\n aria-label=\"Upload progress\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [attr.aria-valuenow]=\"progress()\"\n >\n <div class=\"hx-file-upload-progress-bar\" [style.width.%]=\"progress()\"></div>\n </div>\n }\n <div class=\"hx-file-upload-messages\" [id]=\"messagesId\" role=\"status\" aria-live=\"polite\">\n @for (message of messages(); track $index) {\n <p class=\"hx-file-upload-message\">{{ message }}</p>\n }\n </div>\n @if (files().length) {\n <ul class=\"hx-file-upload-list\">\n @for (file of files(); track file) {\n <li class=\"hx-file-upload-file\">\n <span class=\"hx-file-upload-file-info\">\n <span class=\"hx-file-upload-file-name\">{{ file.name }}</span>\n <span class=\"hx-file-upload-file-size\">{{ size(file) }}</span>\n </span>\n <button\n hx-button\n type=\"button\"\n variant=\"outlined\"\n severity=\"danger\"\n size=\"small\"\n [attr.aria-label]=\"'Remove ' + file.name\"\n [disabled]=\"disabled()\"\n (click)=\"removeFile(file)\"\n >\n {{ removeLabel() }}\n </button>\n </li>\n }\n </ul>\n } @else {\n <p class=\"hx-file-upload-empty\">{{ dropLabel() }}</p>\n }\n </div>\n}\n@if (mode() === 'basic') {\n <div class=\"hx-file-upload-messages\" [id]=\"messagesId\" role=\"status\" aria-live=\"polite\">\n @for (message of messages(); track $index) {\n <p class=\"hx-file-upload-message\">{{ message }}</p>\n }\n </div>\n}\n"
|
|
14309
14310
|
}]
|
|
14310
14311
|
}],
|
|
14311
14312
|
propDecorators: {
|
|
@@ -14477,7 +14478,7 @@ var HxFloatLabel = class HxFloatLabel {
|
|
|
14477
14478
|
}
|
|
14478
14479
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
14479
14480
|
minVersion: "12.0.0",
|
|
14480
|
-
version: "22.
|
|
14481
|
+
version: "22.3.0",
|
|
14481
14482
|
ngImport: i0,
|
|
14482
14483
|
type: HxFloatLabel,
|
|
14483
14484
|
deps: [],
|
|
@@ -14485,7 +14486,7 @@ var HxFloatLabel = class HxFloatLabel {
|
|
|
14485
14486
|
});
|
|
14486
14487
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
14487
14488
|
minVersion: "17.1.0",
|
|
14488
|
-
version: "22.
|
|
14489
|
+
version: "22.3.0",
|
|
14489
14490
|
type: HxFloatLabel,
|
|
14490
14491
|
isStandalone: true,
|
|
14491
14492
|
selector: "hx-float-label",
|
|
@@ -14510,7 +14511,7 @@ var HxFloatLabel = class HxFloatLabel {
|
|
|
14510
14511
|
};
|
|
14511
14512
|
i0.ɵɵngDeclareClassMetadata({
|
|
14512
14513
|
minVersion: "12.0.0",
|
|
14513
|
-
version: "22.
|
|
14514
|
+
version: "22.3.0",
|
|
14514
14515
|
ngImport: i0,
|
|
14515
14516
|
type: HxFloatLabel,
|
|
14516
14517
|
decorators: [{
|
|
@@ -14540,7 +14541,7 @@ var HxGalleriaItemTemplate = class HxGalleriaItemTemplate {
|
|
|
14540
14541
|
template = inject(TemplateRef);
|
|
14541
14542
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
14542
14543
|
minVersion: "12.0.0",
|
|
14543
|
-
version: "22.
|
|
14544
|
+
version: "22.3.0",
|
|
14544
14545
|
ngImport: i0,
|
|
14545
14546
|
type: HxGalleriaItemTemplate,
|
|
14546
14547
|
deps: [],
|
|
@@ -14548,7 +14549,7 @@ var HxGalleriaItemTemplate = class HxGalleriaItemTemplate {
|
|
|
14548
14549
|
});
|
|
14549
14550
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
14550
14551
|
minVersion: "14.0.0",
|
|
14551
|
-
version: "22.
|
|
14552
|
+
version: "22.3.0",
|
|
14552
14553
|
type: HxGalleriaItemTemplate,
|
|
14553
14554
|
isStandalone: true,
|
|
14554
14555
|
selector: "ng-template[hxGalleriaItem]",
|
|
@@ -14557,7 +14558,7 @@ var HxGalleriaItemTemplate = class HxGalleriaItemTemplate {
|
|
|
14557
14558
|
};
|
|
14558
14559
|
i0.ɵɵngDeclareClassMetadata({
|
|
14559
14560
|
minVersion: "12.0.0",
|
|
14560
|
-
version: "22.
|
|
14561
|
+
version: "22.3.0",
|
|
14561
14562
|
ngImport: i0,
|
|
14562
14563
|
type: HxGalleriaItemTemplate,
|
|
14563
14564
|
decorators: [{
|
|
@@ -14569,7 +14570,7 @@ var HxGalleriaThumbnail = class HxGalleriaThumbnail {
|
|
|
14569
14570
|
template = inject(TemplateRef);
|
|
14570
14571
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
14571
14572
|
minVersion: "12.0.0",
|
|
14572
|
-
version: "22.
|
|
14573
|
+
version: "22.3.0",
|
|
14573
14574
|
ngImport: i0,
|
|
14574
14575
|
type: HxGalleriaThumbnail,
|
|
14575
14576
|
deps: [],
|
|
@@ -14577,7 +14578,7 @@ var HxGalleriaThumbnail = class HxGalleriaThumbnail {
|
|
|
14577
14578
|
});
|
|
14578
14579
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
14579
14580
|
minVersion: "14.0.0",
|
|
14580
|
-
version: "22.
|
|
14581
|
+
version: "22.3.0",
|
|
14581
14582
|
type: HxGalleriaThumbnail,
|
|
14582
14583
|
isStandalone: true,
|
|
14583
14584
|
selector: "ng-template[hxGalleriaThumbnail]",
|
|
@@ -14586,7 +14587,7 @@ var HxGalleriaThumbnail = class HxGalleriaThumbnail {
|
|
|
14586
14587
|
};
|
|
14587
14588
|
i0.ɵɵngDeclareClassMetadata({
|
|
14588
14589
|
minVersion: "12.0.0",
|
|
14589
|
-
version: "22.
|
|
14590
|
+
version: "22.3.0",
|
|
14590
14591
|
ngImport: i0,
|
|
14591
14592
|
type: HxGalleriaThumbnail,
|
|
14592
14593
|
decorators: [{
|
|
@@ -14598,7 +14599,7 @@ var HxGalleriaCaption = class HxGalleriaCaption {
|
|
|
14598
14599
|
template = inject(TemplateRef);
|
|
14599
14600
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
14600
14601
|
minVersion: "12.0.0",
|
|
14601
|
-
version: "22.
|
|
14602
|
+
version: "22.3.0",
|
|
14602
14603
|
ngImport: i0,
|
|
14603
14604
|
type: HxGalleriaCaption,
|
|
14604
14605
|
deps: [],
|
|
@@ -14606,7 +14607,7 @@ var HxGalleriaCaption = class HxGalleriaCaption {
|
|
|
14606
14607
|
});
|
|
14607
14608
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
14608
14609
|
minVersion: "14.0.0",
|
|
14609
|
-
version: "22.
|
|
14610
|
+
version: "22.3.0",
|
|
14610
14611
|
type: HxGalleriaCaption,
|
|
14611
14612
|
isStandalone: true,
|
|
14612
14613
|
selector: "ng-template[hxGalleriaCaption]",
|
|
@@ -14615,7 +14616,7 @@ var HxGalleriaCaption = class HxGalleriaCaption {
|
|
|
14615
14616
|
};
|
|
14616
14617
|
i0.ɵɵngDeclareClassMetadata({
|
|
14617
14618
|
minVersion: "12.0.0",
|
|
14618
|
-
version: "22.
|
|
14619
|
+
version: "22.3.0",
|
|
14619
14620
|
ngImport: i0,
|
|
14620
14621
|
type: HxGalleriaCaption,
|
|
14621
14622
|
decorators: [{
|
|
@@ -14838,7 +14839,7 @@ var HxGalleria = class HxGalleria {
|
|
|
14838
14839
|
}
|
|
14839
14840
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
14840
14841
|
minVersion: "12.0.0",
|
|
14841
|
-
version: "22.
|
|
14842
|
+
version: "22.3.0",
|
|
14842
14843
|
ngImport: i0,
|
|
14843
14844
|
type: HxGalleria,
|
|
14844
14845
|
deps: [],
|
|
@@ -14846,7 +14847,7 @@ var HxGalleria = class HxGalleria {
|
|
|
14846
14847
|
});
|
|
14847
14848
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
14848
14849
|
minVersion: "17.0.0",
|
|
14849
|
-
version: "22.
|
|
14850
|
+
version: "22.3.0",
|
|
14850
14851
|
type: HxGalleria,
|
|
14851
14852
|
isStandalone: true,
|
|
14852
14853
|
selector: "hx-galleria",
|
|
@@ -15020,7 +15021,7 @@ var HxGalleria = class HxGalleria {
|
|
|
15020
15021
|
isSignal: true
|
|
15021
15022
|
}],
|
|
15022
15023
|
ngImport: i0,
|
|
15023
|
-
template: "<ng-template #content>\n <div\n [class]=\"'hx-galleria hx-galleria-thumbnails-' + thumbnailsPosition() + (fullScreen() ? ' hx-galleria-fullscreen' : '')\"\n (focusin)=\"onFocusIn()\"\n (focusout)=\"onFocusOut($event)\"\n >\n <div class=\"hx-galleria-content\">\n <div
|
|
15024
|
+
template: "<ng-template #content>\n <div\n [class]=\"'hx-galleria hx-galleria-thumbnails-' + thumbnailsPosition() + (fullScreen() ? ' hx-galleria-fullscreen' : '')\"\n (focusin)=\"onFocusIn()\"\n (focusout)=\"onFocusOut($event)\"\n >\n <div class=\"hx-galleria-content\">\n <div\n class=\"hx-galleria-stage\"\n role=\"region\"\n aria-roledescription=\"carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-live]=\"autoplay() && !(hovered() || focused()) ? 'off' : 'polite'\"\n tabindex=\"0\"\n [style.height]=\"fullScreen() ? null : height()\"\n (keydown)=\"onKeydown($event)\"\n >\n @if (current(); as item) {\n <div\n class=\"hx-galleria-item\"\n role=\"group\"\n aria-roledescription=\"slide\"\n [attr.aria-label]=\"itemLabel(index())\"\n >\n @if (itemTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index() }\"\n />\n } @else {\n <img class=\"hx-galleria-image\" [src]=\"item.src\" [alt]=\"item.alt\" />\n }\n </div>\n @if (hasCaption()) {\n <div class=\"hx-galleria-caption\">\n @if (captionTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index() }\"\n />\n } @else {\n @if (item.title) {\n <div class=\"hx-galleria-caption-title\">{{ item.title }}</div>\n }\n @if (item.caption) {\n <div class=\"hx-galleria-caption-text\">{{ item.caption }}</div>\n }\n }\n </div>\n }\n }\n @if (showItemNavigators() && count() > 1) {\n <button\n type=\"button\"\n class=\"hx-galleria-nav hx-galleria-prev\"\n [disabled]=\"prevDisabled()\"\n [attr.aria-label]=\"prevLabel()\"\n (click)=\"prev()\"\n ></button>\n <button\n type=\"button\"\n class=\"hx-galleria-nav hx-galleria-next\"\n [disabled]=\"nextDisabled()\"\n [attr.aria-label]=\"nextLabel()\"\n (click)=\"next()\"\n ></button>\n }\n @if (showIndicators() && count() > 1) {\n <div\n class=\"hx-galleria-indicators\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel() + ' pictures'\"\n >\n @for (i of indices(); track i) {\n <button\n type=\"button\"\n class=\"hx-galleria-indicator\"\n role=\"tab\"\n [class.hx-galleria-indicator-active]=\"i === index()\"\n [attr.aria-selected]=\"i === index()\"\n [attr.aria-label]=\"itemLabel(i)\"\n [attr.tabindex]=\"i === index() ? 0 : -1\"\n (click)=\"goTo(i)\"\n (keydown)=\"onThumbKeydown($event)\"\n ></button>\n }\n </div>\n }\n </div>\n @if (showThumbnails() && count() > 1) {\n <div class=\"hx-galleria-thumbnails\">\n @if (thumbNavigation()) {\n <button\n type=\"button\"\n class=\"hx-galleria-thumbnail-nav hx-galleria-thumbnail-prev\"\n [disabled]=\"thumbPrevDisabled()\"\n [attr.aria-label]=\"prevLabel()\"\n (click)=\"scrollThumbs(-1)\"\n ></button>\n }\n <div\n class=\"hx-galleria-thumbnail-list\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel() + ' thumbnails'\"\n >\n @for (i of thumbs(); track i) {\n <button\n type=\"button\"\n class=\"hx-galleria-thumbnail\"\n role=\"tab\"\n [class.hx-galleria-thumbnail-active]=\"i === index()\"\n [attr.aria-selected]=\"i === index()\"\n [attr.aria-label]=\"value()[i].alt\"\n [attr.tabindex]=\"i === index() ? 0 : -1\"\n (click)=\"goTo(i)\"\n (keydown)=\"onThumbKeydown($event)\"\n >\n @if (thumbnailTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: value()[i], index: i }\"\n />\n } @else {\n <img\n class=\"hx-galleria-thumbnail-image\"\n [src]=\"thumbnailSrc(value()[i])\"\n alt=\"\"\n />\n }\n </button>\n }\n </div>\n @if (thumbNavigation()) {\n <button\n type=\"button\"\n class=\"hx-galleria-thumbnail-nav hx-galleria-thumbnail-next\"\n [disabled]=\"thumbNextDisabled()\"\n [attr.aria-label]=\"nextLabel()\"\n (click)=\"scrollThumbs(1)\"\n ></button>\n }\n </div>\n }\n </div>\n @if (fullScreen()) {\n <button\n type=\"button\"\n class=\"hx-galleria-close\"\n [attr.aria-label]=\"closeLabel()\"\n (click)=\"close()\"\n ></button>\n }\n </div>\n</ng-template>\n@if (!fullScreen()) {\n <ng-container [ngTemplateOutlet]=\"content\" />\n}\n",
|
|
15024
15025
|
dependencies: [{
|
|
15025
15026
|
kind: "directive",
|
|
15026
15027
|
type: NgTemplateOutlet,
|
|
@@ -15036,7 +15037,7 @@ var HxGalleria = class HxGalleria {
|
|
|
15036
15037
|
};
|
|
15037
15038
|
i0.ɵɵngDeclareClassMetadata({
|
|
15038
15039
|
minVersion: "12.0.0",
|
|
15039
|
-
version: "22.
|
|
15040
|
+
version: "22.3.0",
|
|
15040
15041
|
ngImport: i0,
|
|
15041
15042
|
type: HxGalleria,
|
|
15042
15043
|
decorators: [{
|
|
@@ -15050,7 +15051,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
15050
15051
|
"(mouseenter)": "hovered.set(true)",
|
|
15051
15052
|
"(mouseleave)": "hovered.set(false)"
|
|
15052
15053
|
},
|
|
15053
|
-
template: "<ng-template #content>\n <div\n [class]=\"'hx-galleria hx-galleria-thumbnails-' + thumbnailsPosition() + (fullScreen() ? ' hx-galleria-fullscreen' : '')\"\n (focusin)=\"onFocusIn()\"\n (focusout)=\"onFocusOut($event)\"\n >\n <div class=\"hx-galleria-content\">\n <div
|
|
15054
|
+
template: "<ng-template #content>\n <div\n [class]=\"'hx-galleria hx-galleria-thumbnails-' + thumbnailsPosition() + (fullScreen() ? ' hx-galleria-fullscreen' : '')\"\n (focusin)=\"onFocusIn()\"\n (focusout)=\"onFocusOut($event)\"\n >\n <div class=\"hx-galleria-content\">\n <div\n class=\"hx-galleria-stage\"\n role=\"region\"\n aria-roledescription=\"carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-live]=\"autoplay() && !(hovered() || focused()) ? 'off' : 'polite'\"\n tabindex=\"0\"\n [style.height]=\"fullScreen() ? null : height()\"\n (keydown)=\"onKeydown($event)\"\n >\n @if (current(); as item) {\n <div\n class=\"hx-galleria-item\"\n role=\"group\"\n aria-roledescription=\"slide\"\n [attr.aria-label]=\"itemLabel(index())\"\n >\n @if (itemTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index() }\"\n />\n } @else {\n <img class=\"hx-galleria-image\" [src]=\"item.src\" [alt]=\"item.alt\" />\n }\n </div>\n @if (hasCaption()) {\n <div class=\"hx-galleria-caption\">\n @if (captionTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: index() }\"\n />\n } @else {\n @if (item.title) {\n <div class=\"hx-galleria-caption-title\">{{ item.title }}</div>\n }\n @if (item.caption) {\n <div class=\"hx-galleria-caption-text\">{{ item.caption }}</div>\n }\n }\n </div>\n }\n }\n @if (showItemNavigators() && count() > 1) {\n <button\n type=\"button\"\n class=\"hx-galleria-nav hx-galleria-prev\"\n [disabled]=\"prevDisabled()\"\n [attr.aria-label]=\"prevLabel()\"\n (click)=\"prev()\"\n ></button>\n <button\n type=\"button\"\n class=\"hx-galleria-nav hx-galleria-next\"\n [disabled]=\"nextDisabled()\"\n [attr.aria-label]=\"nextLabel()\"\n (click)=\"next()\"\n ></button>\n }\n @if (showIndicators() && count() > 1) {\n <div\n class=\"hx-galleria-indicators\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel() + ' pictures'\"\n >\n @for (i of indices(); track i) {\n <button\n type=\"button\"\n class=\"hx-galleria-indicator\"\n role=\"tab\"\n [class.hx-galleria-indicator-active]=\"i === index()\"\n [attr.aria-selected]=\"i === index()\"\n [attr.aria-label]=\"itemLabel(i)\"\n [attr.tabindex]=\"i === index() ? 0 : -1\"\n (click)=\"goTo(i)\"\n (keydown)=\"onThumbKeydown($event)\"\n ></button>\n }\n </div>\n }\n </div>\n @if (showThumbnails() && count() > 1) {\n <div class=\"hx-galleria-thumbnails\">\n @if (thumbNavigation()) {\n <button\n type=\"button\"\n class=\"hx-galleria-thumbnail-nav hx-galleria-thumbnail-prev\"\n [disabled]=\"thumbPrevDisabled()\"\n [attr.aria-label]=\"prevLabel()\"\n (click)=\"scrollThumbs(-1)\"\n ></button>\n }\n <div\n class=\"hx-galleria-thumbnail-list\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel() + ' thumbnails'\"\n >\n @for (i of thumbs(); track i) {\n <button\n type=\"button\"\n class=\"hx-galleria-thumbnail\"\n role=\"tab\"\n [class.hx-galleria-thumbnail-active]=\"i === index()\"\n [attr.aria-selected]=\"i === index()\"\n [attr.aria-label]=\"value()[i].alt\"\n [attr.tabindex]=\"i === index() ? 0 : -1\"\n (click)=\"goTo(i)\"\n (keydown)=\"onThumbKeydown($event)\"\n >\n @if (thumbnailTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: value()[i], index: i }\"\n />\n } @else {\n <img\n class=\"hx-galleria-thumbnail-image\"\n [src]=\"thumbnailSrc(value()[i])\"\n alt=\"\"\n />\n }\n </button>\n }\n </div>\n @if (thumbNavigation()) {\n <button\n type=\"button\"\n class=\"hx-galleria-thumbnail-nav hx-galleria-thumbnail-next\"\n [disabled]=\"thumbNextDisabled()\"\n [attr.aria-label]=\"nextLabel()\"\n (click)=\"scrollThumbs(1)\"\n ></button>\n }\n </div>\n }\n </div>\n @if (fullScreen()) {\n <button\n type=\"button\"\n class=\"hx-galleria-close\"\n [attr.aria-label]=\"closeLabel()\"\n (click)=\"close()\"\n ></button>\n }\n </div>\n</ng-template>\n@if (!fullScreen()) {\n <ng-container [ngTemplateOutlet]=\"content\" />\n}\n"
|
|
15054
15055
|
}]
|
|
15055
15056
|
}],
|
|
15056
15057
|
ctorParameters: () => [],
|
|
@@ -15227,7 +15228,7 @@ var HxIconField = class HxIconField {
|
|
|
15227
15228
|
iconPosition = input("left", ...ngDevMode ? [{ debugName: "iconPosition" }] : /* istanbul ignore next */ []);
|
|
15228
15229
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
15229
15230
|
minVersion: "12.0.0",
|
|
15230
|
-
version: "22.
|
|
15231
|
+
version: "22.3.0",
|
|
15231
15232
|
ngImport: i0,
|
|
15232
15233
|
type: HxIconField,
|
|
15233
15234
|
deps: [],
|
|
@@ -15235,7 +15236,7 @@ var HxIconField = class HxIconField {
|
|
|
15235
15236
|
});
|
|
15236
15237
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
15237
15238
|
minVersion: "17.1.0",
|
|
15238
|
-
version: "22.
|
|
15239
|
+
version: "22.3.0",
|
|
15239
15240
|
type: HxIconField,
|
|
15240
15241
|
isStandalone: true,
|
|
15241
15242
|
selector: "hx-icon-field",
|
|
@@ -15260,7 +15261,7 @@ var HxIconField = class HxIconField {
|
|
|
15260
15261
|
};
|
|
15261
15262
|
i0.ɵɵngDeclareClassMetadata({
|
|
15262
15263
|
minVersion: "12.0.0",
|
|
15263
|
-
version: "22.
|
|
15264
|
+
version: "22.3.0",
|
|
15264
15265
|
ngImport: i0,
|
|
15265
15266
|
type: HxIconField,
|
|
15266
15267
|
decorators: [{
|
|
@@ -15292,7 +15293,7 @@ var HxInputIcon = class HxInputIcon {
|
|
|
15292
15293
|
}
|
|
15293
15294
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
15294
15295
|
minVersion: "12.0.0",
|
|
15295
|
-
version: "22.
|
|
15296
|
+
version: "22.3.0",
|
|
15296
15297
|
ngImport: i0,
|
|
15297
15298
|
type: HxInputIcon,
|
|
15298
15299
|
deps: [],
|
|
@@ -15300,7 +15301,7 @@ var HxInputIcon = class HxInputIcon {
|
|
|
15300
15301
|
});
|
|
15301
15302
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
15302
15303
|
minVersion: "14.0.0",
|
|
15303
|
-
version: "22.
|
|
15304
|
+
version: "22.3.0",
|
|
15304
15305
|
type: HxInputIcon,
|
|
15305
15306
|
isStandalone: true,
|
|
15306
15307
|
selector: "[hx-input-icon]",
|
|
@@ -15313,7 +15314,7 @@ var HxInputIcon = class HxInputIcon {
|
|
|
15313
15314
|
};
|
|
15314
15315
|
i0.ɵɵngDeclareClassMetadata({
|
|
15315
15316
|
minVersion: "12.0.0",
|
|
15316
|
-
version: "22.
|
|
15317
|
+
version: "22.3.0",
|
|
15317
15318
|
ngImport: i0,
|
|
15318
15319
|
type: HxInputIcon,
|
|
15319
15320
|
decorators: [{
|
|
@@ -15331,7 +15332,7 @@ var HxImageIndicator = class HxImageIndicator {
|
|
|
15331
15332
|
template = inject(TemplateRef);
|
|
15332
15333
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
15333
15334
|
minVersion: "12.0.0",
|
|
15334
|
-
version: "22.
|
|
15335
|
+
version: "22.3.0",
|
|
15335
15336
|
ngImport: i0,
|
|
15336
15337
|
type: HxImageIndicator,
|
|
15337
15338
|
deps: [],
|
|
@@ -15339,7 +15340,7 @@ var HxImageIndicator = class HxImageIndicator {
|
|
|
15339
15340
|
});
|
|
15340
15341
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
15341
15342
|
minVersion: "14.0.0",
|
|
15342
|
-
version: "22.
|
|
15343
|
+
version: "22.3.0",
|
|
15343
15344
|
type: HxImageIndicator,
|
|
15344
15345
|
isStandalone: true,
|
|
15345
15346
|
selector: "ng-template[hxImageIndicator]",
|
|
@@ -15348,7 +15349,7 @@ var HxImageIndicator = class HxImageIndicator {
|
|
|
15348
15349
|
};
|
|
15349
15350
|
i0.ɵɵngDeclareClassMetadata({
|
|
15350
15351
|
minVersion: "12.0.0",
|
|
15351
|
-
version: "22.
|
|
15352
|
+
version: "22.3.0",
|
|
15352
15353
|
ngImport: i0,
|
|
15353
15354
|
type: HxImageIndicator,
|
|
15354
15355
|
decorators: [{
|
|
@@ -15468,7 +15469,7 @@ var HxImage = class HxImage {
|
|
|
15468
15469
|
}
|
|
15469
15470
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
15470
15471
|
minVersion: "12.0.0",
|
|
15471
|
-
version: "22.
|
|
15472
|
+
version: "22.3.0",
|
|
15472
15473
|
ngImport: i0,
|
|
15473
15474
|
type: HxImage,
|
|
15474
15475
|
deps: [],
|
|
@@ -15476,7 +15477,7 @@ var HxImage = class HxImage {
|
|
|
15476
15477
|
});
|
|
15477
15478
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
15478
15479
|
minVersion: "17.0.0",
|
|
15479
|
-
version: "22.
|
|
15480
|
+
version: "22.3.0",
|
|
15480
15481
|
type: HxImage,
|
|
15481
15482
|
isStandalone: true,
|
|
15482
15483
|
selector: "hx-image",
|
|
@@ -15631,7 +15632,7 @@ var HxImage = class HxImage {
|
|
|
15631
15632
|
isSignal: true
|
|
15632
15633
|
}],
|
|
15633
15634
|
ngImport: i0,
|
|
15634
|
-
template: "<img\n [class]=\"'hx-image-img ' + (imageClass() ?? '')\"\n [src]=\"src()\"\n [alt]=\"alt()\"\n [style.width]=\"cssSize(width())\"\n [style.height]=\"cssSize(height())\"\n [ngStyle]=\"imageStyle() ?? null\"\n/>\n@if (preview()) {\n <button
|
|
15635
|
+
template: "<img\n [class]=\"'hx-image-img ' + (imageClass() ?? '')\"\n [src]=\"src()\"\n [alt]=\"alt()\"\n [style.width]=\"cssSize(width())\"\n [style.height]=\"cssSize(height())\"\n [ngStyle]=\"imageStyle() ?? null\"\n/>\n@if (preview()) {\n <button\n type=\"button\"\n class=\"hx-image-preview-mask\"\n [attr.aria-label]=\"previewLabel()\"\n (click)=\"open()\"\n >\n @if (indicatorTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" />\n } @else {\n <span class=\"hx-image-preview-icon\" aria-hidden=\"true\"></span>\n }\n </button>\n}\n\n<ng-template #overlay>\n <div class=\"hx-image-overlay\">\n @if (showToolbar()) {\n <div class=\"hx-image-toolbar\">\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-rotate-left\"\n [attr.aria-label]=\"rotateLeftLabel()\"\n (click)=\"rotate(-90)\"\n ></button>\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-rotate-right\"\n [attr.aria-label]=\"rotateRightLabel()\"\n (click)=\"rotate(90)\"\n ></button>\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-zoom-out\"\n [disabled]=\"zoomOutDisabled()\"\n [attr.aria-label]=\"zoomOutLabel()\"\n (click)=\"zoom(-1)\"\n ></button>\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-zoom-in\"\n [disabled]=\"zoomInDisabled()\"\n [attr.aria-label]=\"zoomInLabel()\"\n (click)=\"zoom(1)\"\n ></button>\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-close\"\n [attr.aria-label]=\"closeLabel()\"\n (click)=\"close()\"\n ></button>\n </div>\n } @else {\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-close hx-image-close-only\"\n [attr.aria-label]=\"closeLabel()\"\n (click)=\"close()\"\n ></button>\n }\n <div class=\"hx-image-stage\">\n <img\n class=\"hx-image-original\"\n [src]=\"previewSrc()\"\n [alt]=\"alt()\"\n [style.transform]=\"transform()\"\n />\n </div>\n </div>\n</ng-template>\n",
|
|
15635
15636
|
dependencies: [{
|
|
15636
15637
|
kind: "directive",
|
|
15637
15638
|
type: NgStyle,
|
|
@@ -15652,7 +15653,7 @@ var HxImage = class HxImage {
|
|
|
15652
15653
|
};
|
|
15653
15654
|
i0.ɵɵngDeclareClassMetadata({
|
|
15654
15655
|
minVersion: "12.0.0",
|
|
15655
|
-
version: "22.
|
|
15656
|
+
version: "22.3.0",
|
|
15656
15657
|
ngImport: i0,
|
|
15657
15658
|
type: HxImage,
|
|
15658
15659
|
decorators: [{
|
|
@@ -15665,7 +15666,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
15665
15666
|
class: "hx-image",
|
|
15666
15667
|
"[class.hx-image-preview]": "preview()"
|
|
15667
15668
|
},
|
|
15668
|
-
template: "<img\n [class]=\"'hx-image-img ' + (imageClass() ?? '')\"\n [src]=\"src()\"\n [alt]=\"alt()\"\n [style.width]=\"cssSize(width())\"\n [style.height]=\"cssSize(height())\"\n [ngStyle]=\"imageStyle() ?? null\"\n/>\n@if (preview()) {\n <button
|
|
15669
|
+
template: "<img\n [class]=\"'hx-image-img ' + (imageClass() ?? '')\"\n [src]=\"src()\"\n [alt]=\"alt()\"\n [style.width]=\"cssSize(width())\"\n [style.height]=\"cssSize(height())\"\n [ngStyle]=\"imageStyle() ?? null\"\n/>\n@if (preview()) {\n <button\n type=\"button\"\n class=\"hx-image-preview-mask\"\n [attr.aria-label]=\"previewLabel()\"\n (click)=\"open()\"\n >\n @if (indicatorTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl.template\" />\n } @else {\n <span class=\"hx-image-preview-icon\" aria-hidden=\"true\"></span>\n }\n </button>\n}\n\n<ng-template #overlay>\n <div class=\"hx-image-overlay\">\n @if (showToolbar()) {\n <div class=\"hx-image-toolbar\">\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-rotate-left\"\n [attr.aria-label]=\"rotateLeftLabel()\"\n (click)=\"rotate(-90)\"\n ></button>\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-rotate-right\"\n [attr.aria-label]=\"rotateRightLabel()\"\n (click)=\"rotate(90)\"\n ></button>\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-zoom-out\"\n [disabled]=\"zoomOutDisabled()\"\n [attr.aria-label]=\"zoomOutLabel()\"\n (click)=\"zoom(-1)\"\n ></button>\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-zoom-in\"\n [disabled]=\"zoomInDisabled()\"\n [attr.aria-label]=\"zoomInLabel()\"\n (click)=\"zoom(1)\"\n ></button>\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-close\"\n [attr.aria-label]=\"closeLabel()\"\n (click)=\"close()\"\n ></button>\n </div>\n } @else {\n <button\n type=\"button\"\n class=\"hx-image-action hx-image-close hx-image-close-only\"\n [attr.aria-label]=\"closeLabel()\"\n (click)=\"close()\"\n ></button>\n }\n <div class=\"hx-image-stage\">\n <img\n class=\"hx-image-original\"\n [src]=\"previewSrc()\"\n [alt]=\"alt()\"\n [style.transform]=\"transform()\"\n />\n </div>\n </div>\n</ng-template>\n"
|
|
15669
15670
|
}]
|
|
15670
15671
|
}],
|
|
15671
15672
|
ctorParameters: () => [],
|
|
@@ -15835,7 +15836,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
15835
15836
|
var HxInputGroup = class HxInputGroup {
|
|
15836
15837
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
15837
15838
|
minVersion: "12.0.0",
|
|
15838
|
-
version: "22.
|
|
15839
|
+
version: "22.3.0",
|
|
15839
15840
|
ngImport: i0,
|
|
15840
15841
|
type: HxInputGroup,
|
|
15841
15842
|
deps: [],
|
|
@@ -15843,7 +15844,7 @@ var HxInputGroup = class HxInputGroup {
|
|
|
15843
15844
|
});
|
|
15844
15845
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
15845
15846
|
minVersion: "14.0.0",
|
|
15846
|
-
version: "22.
|
|
15847
|
+
version: "22.3.0",
|
|
15847
15848
|
type: HxInputGroup,
|
|
15848
15849
|
isStandalone: true,
|
|
15849
15850
|
selector: "hx-input-group",
|
|
@@ -15855,7 +15856,7 @@ var HxInputGroup = class HxInputGroup {
|
|
|
15855
15856
|
};
|
|
15856
15857
|
i0.ɵɵngDeclareClassMetadata({
|
|
15857
15858
|
minVersion: "12.0.0",
|
|
15858
|
-
version: "22.
|
|
15859
|
+
version: "22.3.0",
|
|
15859
15860
|
ngImport: i0,
|
|
15860
15861
|
type: HxInputGroup,
|
|
15861
15862
|
decorators: [{
|
|
@@ -15871,7 +15872,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
15871
15872
|
var HxInputGroupAddon = class HxInputGroupAddon {
|
|
15872
15873
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
15873
15874
|
minVersion: "12.0.0",
|
|
15874
|
-
version: "22.
|
|
15875
|
+
version: "22.3.0",
|
|
15875
15876
|
ngImport: i0,
|
|
15876
15877
|
type: HxInputGroupAddon,
|
|
15877
15878
|
deps: [],
|
|
@@ -15879,7 +15880,7 @@ var HxInputGroupAddon = class HxInputGroupAddon {
|
|
|
15879
15880
|
});
|
|
15880
15881
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
15881
15882
|
minVersion: "14.0.0",
|
|
15882
|
-
version: "22.
|
|
15883
|
+
version: "22.3.0",
|
|
15883
15884
|
type: HxInputGroupAddon,
|
|
15884
15885
|
isStandalone: true,
|
|
15885
15886
|
selector: "hx-input-group-addon",
|
|
@@ -15891,7 +15892,7 @@ var HxInputGroupAddon = class HxInputGroupAddon {
|
|
|
15891
15892
|
};
|
|
15892
15893
|
i0.ɵɵngDeclareClassMetadata({
|
|
15893
15894
|
minVersion: "12.0.0",
|
|
15894
|
-
version: "22.
|
|
15895
|
+
version: "22.3.0",
|
|
15895
15896
|
ngImport: i0,
|
|
15896
15897
|
type: HxInputGroupAddon,
|
|
15897
15898
|
decorators: [{
|
|
@@ -16110,7 +16111,7 @@ var HxInputNumber = class HxInputNumber {
|
|
|
16110
16111
|
}
|
|
16111
16112
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
16112
16113
|
minVersion: "12.0.0",
|
|
16113
|
-
version: "22.
|
|
16114
|
+
version: "22.3.0",
|
|
16114
16115
|
ngImport: i0,
|
|
16115
16116
|
type: HxInputNumber,
|
|
16116
16117
|
deps: [],
|
|
@@ -16118,7 +16119,7 @@ var HxInputNumber = class HxInputNumber {
|
|
|
16118
16119
|
});
|
|
16119
16120
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
16120
16121
|
minVersion: "17.0.0",
|
|
16121
|
-
version: "22.
|
|
16122
|
+
version: "22.3.0",
|
|
16122
16123
|
type: HxInputNumber,
|
|
16123
16124
|
isStandalone: true,
|
|
16124
16125
|
selector: "hx-input-number",
|
|
@@ -16327,7 +16328,7 @@ var HxInputNumber = class HxInputNumber {
|
|
|
16327
16328
|
isSignal: true
|
|
16328
16329
|
}],
|
|
16329
16330
|
ngImport: i0,
|
|
16330
|
-
template: "@if (showButtons() && buttonLayout() === 'horizontal') {\n <button\n type=\"button\"\n class=\"hx-input-number-button hx-input-number-decrement\"\n tabindex=\"-1\"\n [disabled]=\"!canDecrement()\"\n [attr.aria-label]=\"decrementLabel()\"\n [attr.aria-controls]=\"inputId() ?? defaultId\"\n (pointerdown)=\"onPress($event, -1)\"\n (pointerup)=\"onRelease()\"\n (pointerleave)=\"onRelease()\"\n (pointercancel)=\"onRelease()\"\n (click)=\"onClick(-1)\"\n >\n <svg
|
|
16331
|
+
template: "@if (showButtons() && buttonLayout() === 'horizontal') {\n <button\n type=\"button\"\n class=\"hx-input-number-button hx-input-number-decrement\"\n tabindex=\"-1\"\n [disabled]=\"!canDecrement()\"\n [attr.aria-label]=\"decrementLabel()\"\n [attr.aria-controls]=\"inputId() ?? defaultId\"\n (pointerdown)=\"onPress($event, -1)\"\n (pointerup)=\"onRelease()\"\n (pointerleave)=\"onRelease()\"\n (pointercancel)=\"onRelease()\"\n (click)=\"onClick(-1)\"\n >\n <svg\n viewBox=\"0 0 24 24\"\n width=\"1em\"\n height=\"1em\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"M5 12h14\" />\n </svg>\n </button>\n}\n<input\n #field\n hx-input\n type=\"text\"\n role=\"spinbutton\"\n inputmode=\"decimal\"\n autocomplete=\"off\"\n [id]=\"inputId() ?? defaultId\"\n [value]=\"displayText()\"\n [placeholder]=\"placeholder()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n [attr.aria-valuenow]=\"value()\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-valuetext]=\"ariaValueText()\"\n [disabled]=\"isDisabled()\"\n [variant]=\"variant()\"\n [size]=\"size()\"\n [fluid]=\"true\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n/>\n@if (showButtons()) {\n @if (buttonLayout() === 'stacked') {\n <span class=\"hx-input-number-spin\">\n <button\n type=\"button\"\n class=\"hx-input-number-button hx-input-number-increment\"\n tabindex=\"-1\"\n [disabled]=\"!canIncrement()\"\n [attr.aria-label]=\"incrementLabel()\"\n [attr.aria-controls]=\"inputId() ?? defaultId\"\n (pointerdown)=\"onPress($event, 1)\"\n (pointerup)=\"onRelease()\"\n (pointerleave)=\"onRelease()\"\n (pointercancel)=\"onRelease()\"\n (click)=\"onClick(1)\"\n >\n <svg\n viewBox=\"0 0 24 24\"\n width=\"0.75em\"\n height=\"0.75em\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"m6 15 6-6 6 6\" />\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"hx-input-number-button hx-input-number-decrement\"\n tabindex=\"-1\"\n [disabled]=\"!canDecrement()\"\n [attr.aria-label]=\"decrementLabel()\"\n [attr.aria-controls]=\"inputId() ?? defaultId\"\n (pointerdown)=\"onPress($event, -1)\"\n (pointerup)=\"onRelease()\"\n (pointerleave)=\"onRelease()\"\n (pointercancel)=\"onRelease()\"\n (click)=\"onClick(-1)\"\n >\n <svg\n viewBox=\"0 0 24 24\"\n width=\"0.75em\"\n height=\"0.75em\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"m6 9 6 6 6-6\" />\n </svg>\n </button>\n </span>\n } @else {\n <button\n type=\"button\"\n class=\"hx-input-number-button hx-input-number-increment\"\n tabindex=\"-1\"\n [disabled]=\"!canIncrement()\"\n [attr.aria-label]=\"incrementLabel()\"\n [attr.aria-controls]=\"inputId() ?? defaultId\"\n (pointerdown)=\"onPress($event, 1)\"\n (pointerup)=\"onRelease()\"\n (pointerleave)=\"onRelease()\"\n (pointercancel)=\"onRelease()\"\n (click)=\"onClick(1)\"\n >\n <svg\n viewBox=\"0 0 24 24\"\n width=\"1em\"\n height=\"1em\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"M12 5v14M5 12h14\" />\n </svg>\n </button>\n }\n}\n",
|
|
16331
16332
|
dependencies: [{
|
|
16332
16333
|
kind: "directive",
|
|
16333
16334
|
type: HxInput,
|
|
@@ -16345,7 +16346,7 @@ var HxInputNumber = class HxInputNumber {
|
|
|
16345
16346
|
};
|
|
16346
16347
|
i0.ɵɵngDeclareClassMetadata({
|
|
16347
16348
|
minVersion: "12.0.0",
|
|
16348
|
-
version: "22.
|
|
16349
|
+
version: "22.3.0",
|
|
16349
16350
|
ngImport: i0,
|
|
16350
16351
|
type: HxInputNumber,
|
|
16351
16352
|
decorators: [{
|
|
@@ -16368,7 +16369,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
16368
16369
|
"[class.hx-filled]": "displayText() !== ''",
|
|
16369
16370
|
"(focusout)": "onFocusOut($event)"
|
|
16370
16371
|
},
|
|
16371
|
-
template: "@if (showButtons() && buttonLayout() === 'horizontal') {\n <button\n type=\"button\"\n class=\"hx-input-number-button hx-input-number-decrement\"\n tabindex=\"-1\"\n [disabled]=\"!canDecrement()\"\n [attr.aria-label]=\"decrementLabel()\"\n [attr.aria-controls]=\"inputId() ?? defaultId\"\n (pointerdown)=\"onPress($event, -1)\"\n (pointerup)=\"onRelease()\"\n (pointerleave)=\"onRelease()\"\n (pointercancel)=\"onRelease()\"\n (click)=\"onClick(-1)\"\n >\n <svg
|
|
16372
|
+
template: "@if (showButtons() && buttonLayout() === 'horizontal') {\n <button\n type=\"button\"\n class=\"hx-input-number-button hx-input-number-decrement\"\n tabindex=\"-1\"\n [disabled]=\"!canDecrement()\"\n [attr.aria-label]=\"decrementLabel()\"\n [attr.aria-controls]=\"inputId() ?? defaultId\"\n (pointerdown)=\"onPress($event, -1)\"\n (pointerup)=\"onRelease()\"\n (pointerleave)=\"onRelease()\"\n (pointercancel)=\"onRelease()\"\n (click)=\"onClick(-1)\"\n >\n <svg\n viewBox=\"0 0 24 24\"\n width=\"1em\"\n height=\"1em\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"M5 12h14\" />\n </svg>\n </button>\n}\n<input\n #field\n hx-input\n type=\"text\"\n role=\"spinbutton\"\n inputmode=\"decimal\"\n autocomplete=\"off\"\n [id]=\"inputId() ?? defaultId\"\n [value]=\"displayText()\"\n [placeholder]=\"placeholder()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n [attr.aria-valuenow]=\"value()\"\n [attr.aria-valuemin]=\"min()\"\n [attr.aria-valuemax]=\"max()\"\n [attr.aria-valuetext]=\"ariaValueText()\"\n [disabled]=\"isDisabled()\"\n [variant]=\"variant()\"\n [size]=\"size()\"\n [fluid]=\"true\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeydown($event)\"\n (blur)=\"onBlur()\"\n/>\n@if (showButtons()) {\n @if (buttonLayout() === 'stacked') {\n <span class=\"hx-input-number-spin\">\n <button\n type=\"button\"\n class=\"hx-input-number-button hx-input-number-increment\"\n tabindex=\"-1\"\n [disabled]=\"!canIncrement()\"\n [attr.aria-label]=\"incrementLabel()\"\n [attr.aria-controls]=\"inputId() ?? defaultId\"\n (pointerdown)=\"onPress($event, 1)\"\n (pointerup)=\"onRelease()\"\n (pointerleave)=\"onRelease()\"\n (pointercancel)=\"onRelease()\"\n (click)=\"onClick(1)\"\n >\n <svg\n viewBox=\"0 0 24 24\"\n width=\"0.75em\"\n height=\"0.75em\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"m6 15 6-6 6 6\" />\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"hx-input-number-button hx-input-number-decrement\"\n tabindex=\"-1\"\n [disabled]=\"!canDecrement()\"\n [attr.aria-label]=\"decrementLabel()\"\n [attr.aria-controls]=\"inputId() ?? defaultId\"\n (pointerdown)=\"onPress($event, -1)\"\n (pointerup)=\"onRelease()\"\n (pointerleave)=\"onRelease()\"\n (pointercancel)=\"onRelease()\"\n (click)=\"onClick(-1)\"\n >\n <svg\n viewBox=\"0 0 24 24\"\n width=\"0.75em\"\n height=\"0.75em\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2.5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"m6 9 6 6 6-6\" />\n </svg>\n </button>\n </span>\n } @else {\n <button\n type=\"button\"\n class=\"hx-input-number-button hx-input-number-increment\"\n tabindex=\"-1\"\n [disabled]=\"!canIncrement()\"\n [attr.aria-label]=\"incrementLabel()\"\n [attr.aria-controls]=\"inputId() ?? defaultId\"\n (pointerdown)=\"onPress($event, 1)\"\n (pointerup)=\"onRelease()\"\n (pointerleave)=\"onRelease()\"\n (pointercancel)=\"onRelease()\"\n (click)=\"onClick(1)\"\n >\n <svg\n viewBox=\"0 0 24 24\"\n width=\"1em\"\n height=\"1em\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"M12 5v14M5 12h14\" />\n </svg>\n </button>\n }\n}\n"
|
|
16372
16373
|
}]
|
|
16373
16374
|
}],
|
|
16374
16375
|
ctorParameters: () => [],
|
|
@@ -16598,7 +16599,7 @@ var HxKbd = class HxKbd {
|
|
|
16598
16599
|
plus = computed(() => (this.separator() ?? (isMac() ? "none" : "+")) === "+", ...ngDevMode ? [{ debugName: "plus" }] : /* istanbul ignore next */ []);
|
|
16599
16600
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
16600
16601
|
minVersion: "12.0.0",
|
|
16601
|
-
version: "22.
|
|
16602
|
+
version: "22.3.0",
|
|
16602
16603
|
ngImport: i0,
|
|
16603
16604
|
type: HxKbd,
|
|
16604
16605
|
deps: [],
|
|
@@ -16606,7 +16607,7 @@ var HxKbd = class HxKbd {
|
|
|
16606
16607
|
});
|
|
16607
16608
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
16608
16609
|
minVersion: "17.0.0",
|
|
16609
|
-
version: "22.
|
|
16610
|
+
version: "22.3.0",
|
|
16610
16611
|
type: HxKbd,
|
|
16611
16612
|
isStandalone: true,
|
|
16612
16613
|
selector: "hx-kbd",
|
|
@@ -16644,7 +16645,7 @@ var HxKbd = class HxKbd {
|
|
|
16644
16645
|
};
|
|
16645
16646
|
i0.ɵɵngDeclareClassMetadata({
|
|
16646
16647
|
minVersion: "12.0.0",
|
|
16647
|
-
version: "22.
|
|
16648
|
+
version: "22.3.0",
|
|
16648
16649
|
ngImport: i0,
|
|
16649
16650
|
type: HxKbd,
|
|
16650
16651
|
decorators: [{
|
|
@@ -16773,7 +16774,7 @@ var HxListbox = class HxListbox {
|
|
|
16773
16774
|
}
|
|
16774
16775
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
16775
16776
|
minVersion: "12.0.0",
|
|
16776
|
-
version: "22.
|
|
16777
|
+
version: "22.3.0",
|
|
16777
16778
|
ngImport: i0,
|
|
16778
16779
|
type: HxListbox,
|
|
16779
16780
|
deps: [],
|
|
@@ -16781,7 +16782,7 @@ var HxListbox = class HxListbox {
|
|
|
16781
16782
|
});
|
|
16782
16783
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
16783
16784
|
minVersion: "17.0.0",
|
|
16784
|
-
version: "22.
|
|
16785
|
+
version: "22.3.0",
|
|
16785
16786
|
type: HxListbox,
|
|
16786
16787
|
isStandalone: true,
|
|
16787
16788
|
selector: "hx-listbox",
|
|
@@ -16962,7 +16963,7 @@ var HxListbox = class HxListbox {
|
|
|
16962
16963
|
};
|
|
16963
16964
|
i0.ɵɵngDeclareClassMetadata({
|
|
16964
16965
|
minVersion: "12.0.0",
|
|
16965
|
-
version: "22.
|
|
16966
|
+
version: "22.3.0",
|
|
16966
16967
|
ngImport: i0,
|
|
16967
16968
|
type: HxListbox,
|
|
16968
16969
|
decorators: [{
|
|
@@ -17151,7 +17152,7 @@ var HxMenuPanel = class HxMenuPanel {
|
|
|
17151
17152
|
emit = (item) => this.triggered.emit(item);
|
|
17152
17153
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
17153
17154
|
minVersion: "12.0.0",
|
|
17154
|
-
version: "22.
|
|
17155
|
+
version: "22.3.0",
|
|
17155
17156
|
ngImport: i0,
|
|
17156
17157
|
type: HxMenuPanel,
|
|
17157
17158
|
deps: [],
|
|
@@ -17159,7 +17160,7 @@ var HxMenuPanel = class HxMenuPanel {
|
|
|
17159
17160
|
});
|
|
17160
17161
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
17161
17162
|
minVersion: "17.0.0",
|
|
17162
|
-
version: "22.
|
|
17163
|
+
version: "22.3.0",
|
|
17163
17164
|
type: HxMenuPanel,
|
|
17164
17165
|
isStandalone: true,
|
|
17165
17166
|
selector: "hx-menu-panel",
|
|
@@ -17203,7 +17204,7 @@ var HxMenuPanel = class HxMenuPanel {
|
|
|
17203
17204
|
isSignal: true
|
|
17204
17205
|
}],
|
|
17205
17206
|
ngImport: i0,
|
|
17206
|
-
template: "<div cdkMenu class=\"hx-menu-list\" [attr.aria-label]=\"ariaLabel() ?? null\">\n<ng-template #content let-item let-submenu=\"submenu\">\n
|
|
17207
|
+
template: "<div cdkMenu class=\"hx-menu-list\" [attr.aria-label]=\"ariaLabel() ?? null\">\n <ng-template #content let-item let-submenu=\"submenu\">\n @if (item.icon) {\n <span class=\"hx-menu-icon\" [class]=\"item.icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-menu-label\">{{ item.label }}</span>\n @if (item.badge) {\n <span class=\"hx-menu-badge\">{{ item.badge }}</span>\n }\n @if (submenu) {\n <span class=\"hx-menu-submenu-icon\" aria-hidden=\"true\"></span>\n }\n </ng-template>\n\n <ng-template #entries let-list let-top=\"top\">\n @for (item of visible(list); track $index) {\n @if (item.separator) {\n <div class=\"hx-menu-separator\" role=\"separator\"></div>\n } @else if (top && item.items?.length && !item.command && !item.routerLink && !item.url) {\n <div class=\"hx-menu-group\" role=\"group\" [attr.aria-label]=\"item.label\">\n <div class=\"hx-menu-heading\" role=\"presentation\">{{ item.label }}</div>\n <ng-container\n [ngTemplateOutlet]=\"entries\"\n [ngTemplateOutletContext]=\"{ $implicit: item.items, top: false }\"\n />\n </div>\n } @else if (item.items?.length) {\n <button\n type=\"button\"\n class=\"hx-menu-item hx-menu-item-submenu\"\n cdkMenuItem\n [cdkMenuTriggerFor]=\"sub\"\n [cdkMenuItemDisabled]=\"!!item.disabled\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item, submenu: true }\"\n />\n </button>\n <ng-template #sub>\n <hx-menu-panel\n class=\"hx-menu-submenu\"\n [items]=\"item.items ?? []\"\n [groups]=\"false\"\n [notify]=\"notify() ?? emit\"\n />\n </ng-template>\n } @else if (item.disabled) {\n <button\n type=\"button\"\n class=\"hx-menu-item\"\n cdkMenuItem\n [cdkMenuItemDisabled]=\"true\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n } @else if (item.routerLink) {\n <a\n class=\"hx-menu-item\"\n cdkMenuItem\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [attr.target]=\"item.target ?? null\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else if (item.url) {\n <a\n class=\"hx-menu-item\"\n cdkMenuItem\n [href]=\"item.url\"\n [attr.target]=\"item.target ?? null\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else {\n <button\n type=\"button\"\n class=\"hx-menu-item\"\n cdkMenuItem\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n }\n }\n </ng-template>\n\n <ng-container\n [ngTemplateOutlet]=\"entries\"\n [ngTemplateOutletContext]=\"{ $implicit: items(), top: groups() }\"\n />\n</div>\n",
|
|
17207
17208
|
dependencies: [
|
|
17208
17209
|
{
|
|
17209
17210
|
kind: "component",
|
|
@@ -17271,6 +17272,7 @@ var HxMenuPanel = class HxMenuPanel {
|
|
|
17271
17272
|
"skipLocationChange",
|
|
17272
17273
|
"replaceUrl",
|
|
17273
17274
|
"browserUrl",
|
|
17275
|
+
"scroll",
|
|
17274
17276
|
"routerLink"
|
|
17275
17277
|
]
|
|
17276
17278
|
}
|
|
@@ -17280,7 +17282,7 @@ var HxMenuPanel = class HxMenuPanel {
|
|
|
17280
17282
|
};
|
|
17281
17283
|
i0.ɵɵngDeclareClassMetadata({
|
|
17282
17284
|
minVersion: "12.0.0",
|
|
17283
|
-
version: "22.
|
|
17285
|
+
version: "22.3.0",
|
|
17284
17286
|
ngImport: i0,
|
|
17285
17287
|
type: HxMenuPanel,
|
|
17286
17288
|
decorators: [{
|
|
@@ -17296,7 +17298,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17296
17298
|
],
|
|
17297
17299
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17298
17300
|
host: { class: "hx-menu-panel" },
|
|
17299
|
-
template: "<div cdkMenu class=\"hx-menu-list\" [attr.aria-label]=\"ariaLabel() ?? null\">\n<ng-template #content let-item let-submenu=\"submenu\">\n
|
|
17301
|
+
template: "<div cdkMenu class=\"hx-menu-list\" [attr.aria-label]=\"ariaLabel() ?? null\">\n <ng-template #content let-item let-submenu=\"submenu\">\n @if (item.icon) {\n <span class=\"hx-menu-icon\" [class]=\"item.icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-menu-label\">{{ item.label }}</span>\n @if (item.badge) {\n <span class=\"hx-menu-badge\">{{ item.badge }}</span>\n }\n @if (submenu) {\n <span class=\"hx-menu-submenu-icon\" aria-hidden=\"true\"></span>\n }\n </ng-template>\n\n <ng-template #entries let-list let-top=\"top\">\n @for (item of visible(list); track $index) {\n @if (item.separator) {\n <div class=\"hx-menu-separator\" role=\"separator\"></div>\n } @else if (top && item.items?.length && !item.command && !item.routerLink && !item.url) {\n <div class=\"hx-menu-group\" role=\"group\" [attr.aria-label]=\"item.label\">\n <div class=\"hx-menu-heading\" role=\"presentation\">{{ item.label }}</div>\n <ng-container\n [ngTemplateOutlet]=\"entries\"\n [ngTemplateOutletContext]=\"{ $implicit: item.items, top: false }\"\n />\n </div>\n } @else if (item.items?.length) {\n <button\n type=\"button\"\n class=\"hx-menu-item hx-menu-item-submenu\"\n cdkMenuItem\n [cdkMenuTriggerFor]=\"sub\"\n [cdkMenuItemDisabled]=\"!!item.disabled\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item, submenu: true }\"\n />\n </button>\n <ng-template #sub>\n <hx-menu-panel\n class=\"hx-menu-submenu\"\n [items]=\"item.items ?? []\"\n [groups]=\"false\"\n [notify]=\"notify() ?? emit\"\n />\n </ng-template>\n } @else if (item.disabled) {\n <button\n type=\"button\"\n class=\"hx-menu-item\"\n cdkMenuItem\n [cdkMenuItemDisabled]=\"true\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n } @else if (item.routerLink) {\n <a\n class=\"hx-menu-item\"\n cdkMenuItem\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [attr.target]=\"item.target ?? null\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else if (item.url) {\n <a\n class=\"hx-menu-item\"\n cdkMenuItem\n [href]=\"item.url\"\n [attr.target]=\"item.target ?? null\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else {\n <button\n type=\"button\"\n class=\"hx-menu-item\"\n cdkMenuItem\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n }\n }\n </ng-template>\n\n <ng-container\n [ngTemplateOutlet]=\"entries\"\n [ngTemplateOutletContext]=\"{ $implicit: items(), top: groups() }\"\n />\n</div>\n"
|
|
17300
17302
|
}]
|
|
17301
17303
|
}],
|
|
17302
17304
|
propDecorators: {
|
|
@@ -17437,7 +17439,7 @@ var HxMenu = class HxMenu {
|
|
|
17437
17439
|
}
|
|
17438
17440
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
17439
17441
|
minVersion: "12.0.0",
|
|
17440
|
-
version: "22.
|
|
17442
|
+
version: "22.3.0",
|
|
17441
17443
|
ngImport: i0,
|
|
17442
17444
|
type: HxMenu,
|
|
17443
17445
|
deps: [],
|
|
@@ -17445,7 +17447,7 @@ var HxMenu = class HxMenu {
|
|
|
17445
17447
|
});
|
|
17446
17448
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
17447
17449
|
minVersion: "17.0.0",
|
|
17448
|
-
version: "22.
|
|
17450
|
+
version: "22.3.0",
|
|
17449
17451
|
type: HxMenu,
|
|
17450
17452
|
isStandalone: true,
|
|
17451
17453
|
selector: "hx-menu",
|
|
@@ -17489,7 +17491,7 @@ var HxMenu = class HxMenu {
|
|
|
17489
17491
|
isSignal: true
|
|
17490
17492
|
}],
|
|
17491
17493
|
ngImport: i0,
|
|
17492
|
-
template: "@if (popup()) {\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-menu-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin() ?? fallbackOrigin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <hx-menu-panel
|
|
17494
|
+
template: "@if (popup()) {\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-menu-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin() ?? fallbackOrigin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <hx-menu-panel\n class=\"hx-menu-root\"\n [items]=\"model()\"\n [ariaLabel]=\"ariaLabel()\"\n (triggered)=\"onTriggered($event)\"\n />\n </ng-template>\n} @else {\n <hx-menu-panel\n class=\"hx-menu-root\"\n [items]=\"model()\"\n [ariaLabel]=\"ariaLabel()\"\n (triggered)=\"triggered.emit($event)\"\n />\n}\n",
|
|
17493
17495
|
dependencies: [{
|
|
17494
17496
|
kind: "directive",
|
|
17495
17497
|
type: CdkConnectedOverlay,
|
|
@@ -17547,7 +17549,7 @@ var HxMenu = class HxMenu {
|
|
|
17547
17549
|
};
|
|
17548
17550
|
i0.ɵɵngDeclareClassMetadata({
|
|
17549
17551
|
minVersion: "12.0.0",
|
|
17550
|
-
version: "22.
|
|
17552
|
+
version: "22.3.0",
|
|
17551
17553
|
ngImport: i0,
|
|
17552
17554
|
type: HxMenu,
|
|
17553
17555
|
decorators: [{
|
|
@@ -17560,7 +17562,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17560
17562
|
class: "hx-menu",
|
|
17561
17563
|
"[class.hx-menu-popup]": "popup()"
|
|
17562
17564
|
},
|
|
17563
|
-
template: "@if (popup()) {\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-menu-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin() ?? fallbackOrigin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <hx-menu-panel
|
|
17565
|
+
template: "@if (popup()) {\n <ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-menu-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin() ?? fallbackOrigin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"open.set(false)\"\n >\n <hx-menu-panel\n class=\"hx-menu-root\"\n [items]=\"model()\"\n [ariaLabel]=\"ariaLabel()\"\n (triggered)=\"onTriggered($event)\"\n />\n </ng-template>\n} @else {\n <hx-menu-panel\n class=\"hx-menu-root\"\n [items]=\"model()\"\n [ariaLabel]=\"ariaLabel()\"\n (triggered)=\"triggered.emit($event)\"\n />\n}\n"
|
|
17564
17566
|
}]
|
|
17565
17567
|
}],
|
|
17566
17568
|
propDecorators: {
|
|
@@ -17637,7 +17639,7 @@ var HxMenubar = class HxMenubar {
|
|
|
17637
17639
|
}
|
|
17638
17640
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
17639
17641
|
minVersion: "12.0.0",
|
|
17640
|
-
version: "22.
|
|
17642
|
+
version: "22.3.0",
|
|
17641
17643
|
ngImport: i0,
|
|
17642
17644
|
type: HxMenubar,
|
|
17643
17645
|
deps: [],
|
|
@@ -17645,7 +17647,7 @@ var HxMenubar = class HxMenubar {
|
|
|
17645
17647
|
});
|
|
17646
17648
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
17647
17649
|
minVersion: "17.0.0",
|
|
17648
|
-
version: "22.
|
|
17650
|
+
version: "22.3.0",
|
|
17649
17651
|
type: HxMenubar,
|
|
17650
17652
|
isStandalone: true,
|
|
17651
17653
|
selector: "hx-menubar",
|
|
@@ -17685,7 +17687,7 @@ var HxMenubar = class HxMenubar {
|
|
|
17685
17687
|
classAttribute: "hx-menubar"
|
|
17686
17688
|
},
|
|
17687
17689
|
ngImport: i0,
|
|
17688
|
-
template: "<div class=\"hx-menubar-start\"><ng-content select=\"[hxMenubarStart]\" /></div>\n\n@if (collapsed()) {\n <button\n type=\"button\"\n class=\"hx-menubar-button\"\n aria-haspopup=\"menu\"\n [attr.aria-label]=\"buttonLabel()\"\n (click)=\"menu.toggle($event)\"\n >\n <span class=\"hx-menubar-button-icon\" aria-hidden=\"true\"></span>\n </button>\n <hx-menu
|
|
17690
|
+
template: "<div class=\"hx-menubar-start\"><ng-content select=\"[hxMenubarStart]\" /></div>\n\n@if (collapsed()) {\n <button\n type=\"button\"\n class=\"hx-menubar-button\"\n aria-haspopup=\"menu\"\n [attr.aria-label]=\"buttonLabel()\"\n (click)=\"menu.toggle($event)\"\n >\n <span class=\"hx-menubar-button-icon\" aria-hidden=\"true\"></span>\n </button>\n <hx-menu\n #menu\n popup\n [model]=\"model()\"\n [ariaLabel]=\"ariaLabel()\"\n (triggered)=\"triggered.emit($event)\"\n />\n} @else {\n <div cdkMenuBar class=\"hx-menubar-list\" [attr.aria-label]=\"ariaLabel() ?? null\">\n <ng-template #content let-item let-submenu=\"submenu\">\n @if (item.icon) {\n <span class=\"hx-menu-icon\" [class]=\"item.icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-menu-label\">{{ item.label }}</span>\n @if (item.badge) {\n <span class=\"hx-menu-badge\">{{ item.badge }}</span>\n }\n @if (submenu) {\n <span class=\"hx-menubar-submenu-icon\" aria-hidden=\"true\"></span>\n }\n </ng-template>\n\n @for (item of visible(); track $index) {\n @if (item.separator) {\n <div class=\"hx-menubar-separator\" role=\"separator\"></div>\n } @else if (item.items?.length) {\n <button\n type=\"button\"\n class=\"hx-menubar-item\"\n cdkMenuItem\n [cdkMenuTriggerFor]=\"sub\"\n [cdkMenuItemDisabled]=\"!!item.disabled\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item, submenu: true }\"\n />\n </button>\n <ng-template #sub>\n <hx-menu-panel\n class=\"hx-menubar-submenu\"\n [items]=\"item.items ?? []\"\n [groups]=\"false\"\n [notify]=\"notify\"\n />\n </ng-template>\n } @else if (item.disabled) {\n <button\n type=\"button\"\n class=\"hx-menubar-item\"\n cdkMenuItem\n [cdkMenuItemDisabled]=\"true\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n } @else if (item.routerLink) {\n <a\n class=\"hx-menubar-item\"\n cdkMenuItem\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [attr.target]=\"item.target ?? null\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else if (item.url) {\n <a\n class=\"hx-menubar-item\"\n cdkMenuItem\n [href]=\"item.url\"\n [attr.target]=\"item.target ?? null\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else {\n <button\n type=\"button\"\n class=\"hx-menubar-item\"\n cdkMenuItem\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n }\n }\n </div>\n}\n\n<div class=\"hx-menubar-end\"><ng-content select=\"[hxMenubarEnd]\" /></div>\n",
|
|
17689
17691
|
dependencies: [
|
|
17690
17692
|
{
|
|
17691
17693
|
kind: "directive",
|
|
@@ -17740,6 +17742,7 @@ var HxMenubar = class HxMenubar {
|
|
|
17740
17742
|
"skipLocationChange",
|
|
17741
17743
|
"replaceUrl",
|
|
17742
17744
|
"browserUrl",
|
|
17745
|
+
"scroll",
|
|
17743
17746
|
"routerLink"
|
|
17744
17747
|
]
|
|
17745
17748
|
},
|
|
@@ -17776,7 +17779,7 @@ var HxMenubar = class HxMenubar {
|
|
|
17776
17779
|
};
|
|
17777
17780
|
i0.ɵɵngDeclareClassMetadata({
|
|
17778
17781
|
minVersion: "12.0.0",
|
|
17779
|
-
version: "22.
|
|
17782
|
+
version: "22.3.0",
|
|
17780
17783
|
ngImport: i0,
|
|
17781
17784
|
type: HxMenubar,
|
|
17782
17785
|
decorators: [{
|
|
@@ -17797,7 +17800,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17797
17800
|
class: "hx-menubar",
|
|
17798
17801
|
"[class.hx-menubar-collapsed]": "collapsed()"
|
|
17799
17802
|
},
|
|
17800
|
-
template: "<div class=\"hx-menubar-start\"><ng-content select=\"[hxMenubarStart]\" /></div>\n\n@if (collapsed()) {\n <button\n type=\"button\"\n class=\"hx-menubar-button\"\n aria-haspopup=\"menu\"\n [attr.aria-label]=\"buttonLabel()\"\n (click)=\"menu.toggle($event)\"\n >\n <span class=\"hx-menubar-button-icon\" aria-hidden=\"true\"></span>\n </button>\n <hx-menu
|
|
17803
|
+
template: "<div class=\"hx-menubar-start\"><ng-content select=\"[hxMenubarStart]\" /></div>\n\n@if (collapsed()) {\n <button\n type=\"button\"\n class=\"hx-menubar-button\"\n aria-haspopup=\"menu\"\n [attr.aria-label]=\"buttonLabel()\"\n (click)=\"menu.toggle($event)\"\n >\n <span class=\"hx-menubar-button-icon\" aria-hidden=\"true\"></span>\n </button>\n <hx-menu\n #menu\n popup\n [model]=\"model()\"\n [ariaLabel]=\"ariaLabel()\"\n (triggered)=\"triggered.emit($event)\"\n />\n} @else {\n <div cdkMenuBar class=\"hx-menubar-list\" [attr.aria-label]=\"ariaLabel() ?? null\">\n <ng-template #content let-item let-submenu=\"submenu\">\n @if (item.icon) {\n <span class=\"hx-menu-icon\" [class]=\"item.icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-menu-label\">{{ item.label }}</span>\n @if (item.badge) {\n <span class=\"hx-menu-badge\">{{ item.badge }}</span>\n }\n @if (submenu) {\n <span class=\"hx-menubar-submenu-icon\" aria-hidden=\"true\"></span>\n }\n </ng-template>\n\n @for (item of visible(); track $index) {\n @if (item.separator) {\n <div class=\"hx-menubar-separator\" role=\"separator\"></div>\n } @else if (item.items?.length) {\n <button\n type=\"button\"\n class=\"hx-menubar-item\"\n cdkMenuItem\n [cdkMenuTriggerFor]=\"sub\"\n [cdkMenuItemDisabled]=\"!!item.disabled\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item, submenu: true }\"\n />\n </button>\n <ng-template #sub>\n <hx-menu-panel\n class=\"hx-menubar-submenu\"\n [items]=\"item.items ?? []\"\n [groups]=\"false\"\n [notify]=\"notify\"\n />\n </ng-template>\n } @else if (item.disabled) {\n <button\n type=\"button\"\n class=\"hx-menubar-item\"\n cdkMenuItem\n [cdkMenuItemDisabled]=\"true\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n } @else if (item.routerLink) {\n <a\n class=\"hx-menubar-item\"\n cdkMenuItem\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [attr.target]=\"item.target ?? null\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else if (item.url) {\n <a\n class=\"hx-menubar-item\"\n cdkMenuItem\n [href]=\"item.url\"\n [attr.target]=\"item.target ?? null\"\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </a>\n } @else {\n <button\n type=\"button\"\n class=\"hx-menubar-item\"\n cdkMenuItem\n [attr.id]=\"item.id ?? null\"\n [attr.aria-label]=\"item.ariaLabel ?? null\"\n (click)=\"run(item, $event)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"content\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n />\n </button>\n }\n }\n </div>\n}\n\n<div class=\"hx-menubar-end\"><ng-content select=\"[hxMenubarEnd]\" /></div>\n"
|
|
17801
17804
|
}]
|
|
17802
17805
|
}],
|
|
17803
17806
|
ctorParameters: () => [],
|
|
@@ -17874,7 +17877,7 @@ var HxMessage = class HxMessage {
|
|
|
17874
17877
|
}
|
|
17875
17878
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
17876
17879
|
minVersion: "12.0.0",
|
|
17877
|
-
version: "22.
|
|
17880
|
+
version: "22.3.0",
|
|
17878
17881
|
ngImport: i0,
|
|
17879
17882
|
type: HxMessage,
|
|
17880
17883
|
deps: [],
|
|
@@ -17882,7 +17885,7 @@ var HxMessage = class HxMessage {
|
|
|
17882
17885
|
});
|
|
17883
17886
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
17884
17887
|
minVersion: "17.0.0",
|
|
17885
|
-
version: "22.
|
|
17888
|
+
version: "22.3.0",
|
|
17886
17889
|
type: HxMessage,
|
|
17887
17890
|
isStandalone: true,
|
|
17888
17891
|
selector: "hx-message",
|
|
@@ -17956,13 +17959,13 @@ var HxMessage = class HxMessage {
|
|
|
17956
17959
|
classAttribute: "hx-message"
|
|
17957
17960
|
},
|
|
17958
17961
|
ngImport: i0,
|
|
17959
|
-
template: "<div class=\"hx-message-content\">\n @if (icon()) {\n <i class=\"hx-message-icon-custom\" [class]=\"icon()\" aria-hidden=\"true\"></i>\n } @else {\n <span class=\"hx-message-icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-message-text\"><ng-content /></span>\n @if (closable()) {\n <button
|
|
17962
|
+
template: "<div class=\"hx-message-content\">\n @if (icon()) {\n <i class=\"hx-message-icon-custom\" [class]=\"icon()\" aria-hidden=\"true\"></i>\n } @else {\n <span class=\"hx-message-icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-message-text\"><ng-content /></span>\n @if (closable()) {\n <button\n type=\"button\"\n class=\"hx-message-close\"\n [attr.aria-label]=\"closeLabel()\"\n (click)=\"dismiss()\"\n >\n <span class=\"hx-message-close-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n</div>\n",
|
|
17960
17963
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
17961
17964
|
});
|
|
17962
17965
|
};
|
|
17963
17966
|
i0.ɵɵngDeclareClassMetadata({
|
|
17964
17967
|
minVersion: "12.0.0",
|
|
17965
|
-
version: "22.
|
|
17968
|
+
version: "22.3.0",
|
|
17966
17969
|
ngImport: i0,
|
|
17967
17970
|
type: HxMessage,
|
|
17968
17971
|
decorators: [{
|
|
@@ -17985,7 +17988,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
17985
17988
|
"[attr.role]": "severity() === 'error' ? 'alert' : 'status'",
|
|
17986
17989
|
"[hidden]": "!visible()"
|
|
17987
17990
|
},
|
|
17988
|
-
template: "<div class=\"hx-message-content\">\n @if (icon()) {\n <i class=\"hx-message-icon-custom\" [class]=\"icon()\" aria-hidden=\"true\"></i>\n } @else {\n <span class=\"hx-message-icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-message-text\"><ng-content /></span>\n @if (closable()) {\n <button
|
|
17991
|
+
template: "<div class=\"hx-message-content\">\n @if (icon()) {\n <i class=\"hx-message-icon-custom\" [class]=\"icon()\" aria-hidden=\"true\"></i>\n } @else {\n <span class=\"hx-message-icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-message-text\"><ng-content /></span>\n @if (closable()) {\n <button\n type=\"button\"\n class=\"hx-message-close\"\n [attr.aria-label]=\"closeLabel()\"\n (click)=\"dismiss()\"\n >\n <span class=\"hx-message-close-icon\" aria-hidden=\"true\"></span>\n </button>\n }\n</div>\n"
|
|
17989
17992
|
}]
|
|
17990
17993
|
}],
|
|
17991
17994
|
ctorParameters: () => [],
|
|
@@ -18247,7 +18250,7 @@ var HxMultiSelect = class HxMultiSelect {
|
|
|
18247
18250
|
}
|
|
18248
18251
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
18249
18252
|
minVersion: "12.0.0",
|
|
18250
|
-
version: "22.
|
|
18253
|
+
version: "22.3.0",
|
|
18251
18254
|
ngImport: i0,
|
|
18252
18255
|
type: HxMultiSelect,
|
|
18253
18256
|
deps: [],
|
|
@@ -18255,7 +18258,7 @@ var HxMultiSelect = class HxMultiSelect {
|
|
|
18255
18258
|
});
|
|
18256
18259
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
18257
18260
|
minVersion: "17.0.0",
|
|
18258
|
-
version: "22.
|
|
18261
|
+
version: "22.3.0",
|
|
18259
18262
|
type: HxMultiSelect,
|
|
18260
18263
|
isStandalone: true,
|
|
18261
18264
|
selector: "hx-multi-select",
|
|
@@ -18477,7 +18480,7 @@ var HxMultiSelect = class HxMultiSelect {
|
|
|
18477
18480
|
}
|
|
18478
18481
|
],
|
|
18479
18482
|
ngImport: i0,
|
|
18480
|
-
template: "<div\n #trigger\n class=\"hx-multi-select-trigger\"\n role=\"combobox\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : null\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"toggle()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"hx-multi-select-label\" [class.hx-multi-select-placeholder]=\"!selected().length\">\n @if (!selected().length) {\n {{ placeholder() }}\n } @else if (summary(); as text) {\n {{ text }}\n } @else if (display() === 'chip') {\n @for (item of selected(); track $index) {\n <span class=\"hx-multi-select-chip\">\n <span>{{ item.label }}</span>\n <button\n type=\"button\"\n class=\"hx-multi-select-chip-remove\"\n tabindex=\"-1\"\n [attr.aria-label]=\"'Remove ' + item.label\"\n [disabled]=\"isDisabled()\"\n (click)=\"removeChip($event, item)\"\n >\n <span class=\"hx-multi-select-clear-icon\" aria-hidden=\"true\"></span>\n </button>\n </span>\n }\n } @else {\n {{ commaLabel() }}\n }\n </span>\n <span class=\"hx-multi-select-chevron\" aria-hidden=\"true\"></span>\n</div>\n@if (canClear()) {\n <button
|
|
18483
|
+
template: "<div\n #trigger\n class=\"hx-multi-select-trigger\"\n role=\"combobox\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : null\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"toggle()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"hx-multi-select-label\" [class.hx-multi-select-placeholder]=\"!selected().length\">\n @if (!selected().length) {\n {{ placeholder() }}\n } @else if (summary(); as text) {\n {{ text }}\n } @else if (display() === 'chip') {\n @for (item of selected(); track $index) {\n <span class=\"hx-multi-select-chip\">\n <span>{{ item.label }}</span>\n <button\n type=\"button\"\n class=\"hx-multi-select-chip-remove\"\n tabindex=\"-1\"\n [attr.aria-label]=\"'Remove ' + item.label\"\n [disabled]=\"isDisabled()\"\n (click)=\"removeChip($event, item)\"\n >\n <span class=\"hx-multi-select-clear-icon\" aria-hidden=\"true\"></span>\n </button>\n </span>\n }\n } @else {\n {{ commaLabel() }}\n }\n </span>\n <span class=\"hx-multi-select-chevron\" aria-hidden=\"true\"></span>\n</div>\n@if (canClear()) {\n <button\n type=\"button\"\n class=\"hx-multi-select-clear\"\n aria-label=\"Clear selection\"\n (click)=\"clear($event)\"\n >\n <span class=\"hx-multi-select-clear-icon\" aria-hidden=\"true\"></span>\n </button>\n}\n\n<ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-multi-select-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"close()\"\n>\n <div class=\"hx-multi-select-panel\">\n @if (filter() || showToggleAll()) {\n <div class=\"hx-multi-select-header\">\n @if (showToggleAll()) {\n <input\n type=\"checkbox\"\n hx-checkbox\n class=\"hx-multi-select-toggle-all\"\n [attr.aria-label]=\"toggleAllLabel()\"\n [checked]=\"allSelected()\"\n (change)=\"toggleAll()\"\n />\n }\n @if (filter()) {\n <input\n #filterField\n type=\"text\"\n class=\"hx-multi-select-filter\"\n autocomplete=\"off\"\n [attr.aria-label]=\"filterPlaceholder()\"\n [attr.aria-controls]=\"panelId\"\n [placeholder]=\"filterPlaceholder()\"\n [value]=\"query()\"\n (input)=\"query.set($any($event.target).value)\"\n />\n }\n </div>\n }\n <div\n cdkListbox\n class=\"hx-multi-select-list\"\n [id]=\"panelId\"\n [cdkListboxMultiple]=\"true\"\n [cdkListboxValue]=\"selectedValues()\"\n [cdkListboxUseActiveDescendant]=\"true\"\n [cdkListboxCompareWith]=\"compareWith()\"\n [attr.aria-label]=\"ariaLabel() ?? placeholder() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (cdkListboxValueChange)=\"onSelect($event)\"\n >\n @for (item of visibleItems(); track item) {\n <div\n class=\"hx-multi-select-option\"\n [cdkOption]=\"item.value\"\n [cdkOptionDisabled]=\"item.disabled\"\n [cdkOptionTypeaheadLabel]=\"item.label\"\n >\n <span class=\"hx-multi-select-check\" aria-hidden=\"true\"></span>\n <span>{{ item.label }}</span>\n </div>\n } @empty {\n <div class=\"hx-multi-select-empty\">{{ emptyMessage() }}</div>\n }\n </div>\n </div>\n</ng-template>\n",
|
|
18481
18484
|
dependencies: [
|
|
18482
18485
|
{
|
|
18483
18486
|
kind: "directive",
|
|
@@ -18571,7 +18574,7 @@ var HxMultiSelect = class HxMultiSelect {
|
|
|
18571
18574
|
};
|
|
18572
18575
|
i0.ɵɵngDeclareClassMetadata({
|
|
18573
18576
|
minVersion: "12.0.0",
|
|
18574
|
-
version: "22.
|
|
18577
|
+
version: "22.3.0",
|
|
18575
18578
|
ngImport: i0,
|
|
18576
18579
|
type: HxMultiSelect,
|
|
18577
18580
|
decorators: [{
|
|
@@ -18604,7 +18607,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
18604
18607
|
"[class.hx-filled]": "selected().length > 0",
|
|
18605
18608
|
"(focusout)": "onFocusOut($event)"
|
|
18606
18609
|
},
|
|
18607
|
-
template: "<div\n #trigger\n class=\"hx-multi-select-trigger\"\n role=\"combobox\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : null\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"toggle()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"hx-multi-select-label\" [class.hx-multi-select-placeholder]=\"!selected().length\">\n @if (!selected().length) {\n {{ placeholder() }}\n } @else if (summary(); as text) {\n {{ text }}\n } @else if (display() === 'chip') {\n @for (item of selected(); track $index) {\n <span class=\"hx-multi-select-chip\">\n <span>{{ item.label }}</span>\n <button\n type=\"button\"\n class=\"hx-multi-select-chip-remove\"\n tabindex=\"-1\"\n [attr.aria-label]=\"'Remove ' + item.label\"\n [disabled]=\"isDisabled()\"\n (click)=\"removeChip($event, item)\"\n >\n <span class=\"hx-multi-select-clear-icon\" aria-hidden=\"true\"></span>\n </button>\n </span>\n }\n } @else {\n {{ commaLabel() }}\n }\n </span>\n <span class=\"hx-multi-select-chevron\" aria-hidden=\"true\"></span>\n</div>\n@if (canClear()) {\n <button
|
|
18610
|
+
template: "<div\n #trigger\n class=\"hx-multi-select-trigger\"\n role=\"combobox\"\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n aria-haspopup=\"listbox\"\n [attr.id]=\"inputId() ?? null\"\n [attr.tabindex]=\"isDisabled() ? -1 : 0\"\n [attr.aria-disabled]=\"isDisabled() ? 'true' : null\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? panelId : null\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n (click)=\"toggle()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"hx-multi-select-label\" [class.hx-multi-select-placeholder]=\"!selected().length\">\n @if (!selected().length) {\n {{ placeholder() }}\n } @else if (summary(); as text) {\n {{ text }}\n } @else if (display() === 'chip') {\n @for (item of selected(); track $index) {\n <span class=\"hx-multi-select-chip\">\n <span>{{ item.label }}</span>\n <button\n type=\"button\"\n class=\"hx-multi-select-chip-remove\"\n tabindex=\"-1\"\n [attr.aria-label]=\"'Remove ' + item.label\"\n [disabled]=\"isDisabled()\"\n (click)=\"removeChip($event, item)\"\n >\n <span class=\"hx-multi-select-clear-icon\" aria-hidden=\"true\"></span>\n </button>\n </span>\n }\n } @else {\n {{ commaLabel() }}\n }\n </span>\n <span class=\"hx-multi-select-chevron\" aria-hidden=\"true\"></span>\n</div>\n@if (canClear()) {\n <button\n type=\"button\"\n class=\"hx-multi-select-clear\"\n aria-label=\"Clear selection\"\n (click)=\"clear($event)\"\n >\n <span class=\"hx-multi-select-clear-icon\" aria-hidden=\"true\"></span>\n </button>\n}\n\n<ng-template\n cdkConnectedOverlay\n cdkConnectedOverlayPanelClass=\"hx-multi-select-overlay\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (overlayKeydown)=\"onOverlayKeydown($event)\"\n (attach)=\"onAttach()\"\n (detach)=\"close()\"\n>\n <div class=\"hx-multi-select-panel\">\n @if (filter() || showToggleAll()) {\n <div class=\"hx-multi-select-header\">\n @if (showToggleAll()) {\n <input\n type=\"checkbox\"\n hx-checkbox\n class=\"hx-multi-select-toggle-all\"\n [attr.aria-label]=\"toggleAllLabel()\"\n [checked]=\"allSelected()\"\n (change)=\"toggleAll()\"\n />\n }\n @if (filter()) {\n <input\n #filterField\n type=\"text\"\n class=\"hx-multi-select-filter\"\n autocomplete=\"off\"\n [attr.aria-label]=\"filterPlaceholder()\"\n [attr.aria-controls]=\"panelId\"\n [placeholder]=\"filterPlaceholder()\"\n [value]=\"query()\"\n (input)=\"query.set($any($event.target).value)\"\n />\n }\n </div>\n }\n <div\n cdkListbox\n class=\"hx-multi-select-list\"\n [id]=\"panelId\"\n [cdkListboxMultiple]=\"true\"\n [cdkListboxValue]=\"selectedValues()\"\n [cdkListboxUseActiveDescendant]=\"true\"\n [cdkListboxCompareWith]=\"compareWith()\"\n [attr.aria-label]=\"ariaLabel() ?? placeholder() ?? null\"\n [attr.aria-labelledby]=\"ariaLabelledby() ?? null\"\n (cdkListboxValueChange)=\"onSelect($event)\"\n >\n @for (item of visibleItems(); track item) {\n <div\n class=\"hx-multi-select-option\"\n [cdkOption]=\"item.value\"\n [cdkOptionDisabled]=\"item.disabled\"\n [cdkOptionTypeaheadLabel]=\"item.label\"\n >\n <span class=\"hx-multi-select-check\" aria-hidden=\"true\"></span>\n <span>{{ item.label }}</span>\n </div>\n } @empty {\n <div class=\"hx-multi-select-empty\">{{ emptyMessage() }}</div>\n }\n </div>\n </div>\n</ng-template>\n"
|
|
18608
18611
|
}]
|
|
18609
18612
|
}],
|
|
18610
18613
|
propDecorators: {
|
|
@@ -18838,7 +18841,7 @@ var HxPanel = class HxPanel {
|
|
|
18838
18841
|
}
|
|
18839
18842
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
18840
18843
|
minVersion: "12.0.0",
|
|
18841
|
-
version: "22.
|
|
18844
|
+
version: "22.3.0",
|
|
18842
18845
|
ngImport: i0,
|
|
18843
18846
|
type: HxPanel,
|
|
18844
18847
|
deps: [],
|
|
@@ -18846,7 +18849,7 @@ var HxPanel = class HxPanel {
|
|
|
18846
18849
|
});
|
|
18847
18850
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
18848
18851
|
minVersion: "17.0.0",
|
|
18849
|
-
version: "22.
|
|
18852
|
+
version: "22.3.0",
|
|
18850
18853
|
type: HxPanel,
|
|
18851
18854
|
isStandalone: true,
|
|
18852
18855
|
selector: "hx-panel",
|
|
@@ -18888,7 +18891,7 @@ var HxPanel = class HxPanel {
|
|
|
18888
18891
|
};
|
|
18889
18892
|
i0.ɵɵngDeclareClassMetadata({
|
|
18890
18893
|
minVersion: "12.0.0",
|
|
18891
|
-
version: "22.
|
|
18894
|
+
version: "22.3.0",
|
|
18892
18895
|
ngImport: i0,
|
|
18893
18896
|
type: HxPanel,
|
|
18894
18897
|
decorators: [{
|
|
@@ -18995,7 +18998,7 @@ var HxPassword = class HxPassword {
|
|
|
18995
18998
|
}
|
|
18996
18999
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
18997
19000
|
minVersion: "12.0.0",
|
|
18998
|
-
version: "22.
|
|
19001
|
+
version: "22.3.0",
|
|
18999
19002
|
ngImport: i0,
|
|
19000
19003
|
type: HxPassword,
|
|
19001
19004
|
deps: [],
|
|
@@ -19003,7 +19006,7 @@ var HxPassword = class HxPassword {
|
|
|
19003
19006
|
});
|
|
19004
19007
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
19005
19008
|
minVersion: "17.0.0",
|
|
19006
|
-
version: "22.
|
|
19009
|
+
version: "22.3.0",
|
|
19007
19010
|
type: HxPassword,
|
|
19008
19011
|
isStandalone: true,
|
|
19009
19012
|
selector: "hx-password",
|
|
@@ -19132,7 +19135,7 @@ var HxPassword = class HxPassword {
|
|
|
19132
19135
|
isSignal: true
|
|
19133
19136
|
}],
|
|
19134
19137
|
ngImport: i0,
|
|
19135
|
-
template: "<input\n #field\n hx-input\n [id]=\"inputId() ?? defaultId\"\n [type]=\"visible() ? 'text' : 'password'\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n [disabled]=\"isDisabled()\"\n [variant]=\"variant()\"\n [size]=\"size()\"\n [fluid]=\"true\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur()\"\n/>\n@if (toggleMask()) {\n <button\n type=\"button\"\n class=\"hx-password-toggle\"\n [disabled]=\"isDisabled()\"\n [attr.aria-label]=\"visible() ? hideLabel() : showLabel()\"\n [attr.aria-pressed]=\"visible()\"\n (click)=\"visible.set(!visible())\"\n >\n <svg
|
|
19138
|
+
template: "<input\n #field\n hx-input\n [id]=\"inputId() ?? defaultId\"\n [type]=\"visible() ? 'text' : 'password'\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n [disabled]=\"isDisabled()\"\n [variant]=\"variant()\"\n [size]=\"size()\"\n [fluid]=\"true\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur()\"\n/>\n@if (toggleMask()) {\n <button\n type=\"button\"\n class=\"hx-password-toggle\"\n [disabled]=\"isDisabled()\"\n [attr.aria-label]=\"visible() ? hideLabel() : showLabel()\"\n [attr.aria-pressed]=\"visible()\"\n (click)=\"visible.set(!visible())\"\n >\n <svg\n viewBox=\"0 0 24 24\"\n width=\"1em\"\n height=\"1em\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n @if (visible()) {\n <path\n d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\"\n />\n <path d=\"m1 1 22 22\" />\n } @else {\n <path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\" />\n <circle cx=\"12\" cy=\"12\" r=\"3\" />\n }\n </svg>\n </button>\n}\n",
|
|
19136
19139
|
dependencies: [{
|
|
19137
19140
|
kind: "directive",
|
|
19138
19141
|
type: HxInput,
|
|
@@ -19150,7 +19153,7 @@ var HxPassword = class HxPassword {
|
|
|
19150
19153
|
};
|
|
19151
19154
|
i0.ɵɵngDeclareClassMetadata({
|
|
19152
19155
|
minVersion: "12.0.0",
|
|
19153
|
-
version: "22.
|
|
19156
|
+
version: "22.3.0",
|
|
19154
19157
|
ngImport: i0,
|
|
19155
19158
|
type: HxPassword,
|
|
19156
19159
|
decorators: [{
|
|
@@ -19170,7 +19173,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19170
19173
|
"[class.hx-password-has-toggle]": "toggleMask()",
|
|
19171
19174
|
"[class.hx-filled]": "value() !== ''"
|
|
19172
19175
|
},
|
|
19173
|
-
template: "<input\n #field\n hx-input\n [id]=\"inputId() ?? defaultId\"\n [type]=\"visible() ? 'text' : 'password'\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n [disabled]=\"isDisabled()\"\n [variant]=\"variant()\"\n [size]=\"size()\"\n [fluid]=\"true\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur()\"\n/>\n@if (toggleMask()) {\n <button\n type=\"button\"\n class=\"hx-password-toggle\"\n [disabled]=\"isDisabled()\"\n [attr.aria-label]=\"visible() ? hideLabel() : showLabel()\"\n [attr.aria-pressed]=\"visible()\"\n (click)=\"visible.set(!visible())\"\n >\n <svg
|
|
19176
|
+
template: "<input\n #field\n hx-input\n [id]=\"inputId() ?? defaultId\"\n [type]=\"visible() ? 'text' : 'password'\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [attr.autocomplete]=\"autocomplete()\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-labelledby]=\"ariaLabelledby()\"\n [attr.aria-invalid]=\"invalid() ? 'true' : null\"\n [disabled]=\"isDisabled()\"\n [variant]=\"variant()\"\n [size]=\"size()\"\n [fluid]=\"true\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur()\"\n/>\n@if (toggleMask()) {\n <button\n type=\"button\"\n class=\"hx-password-toggle\"\n [disabled]=\"isDisabled()\"\n [attr.aria-label]=\"visible() ? hideLabel() : showLabel()\"\n [attr.aria-pressed]=\"visible()\"\n (click)=\"visible.set(!visible())\"\n >\n <svg\n viewBox=\"0 0 24 24\"\n width=\"1em\"\n height=\"1em\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n aria-hidden=\"true\"\n >\n @if (visible()) {\n <path\n d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\"\n />\n <path d=\"m1 1 22 22\" />\n } @else {\n <path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\" />\n <circle cx=\"12\" cy=\"12\" r=\"3\" />\n }\n </svg>\n </button>\n}\n"
|
|
19174
19177
|
}]
|
|
19175
19178
|
}],
|
|
19176
19179
|
propDecorators: {
|
|
@@ -19303,7 +19306,7 @@ var HxRadio = class HxRadio {
|
|
|
19303
19306
|
size = input("medium", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
19304
19307
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
19305
19308
|
minVersion: "12.0.0",
|
|
19306
|
-
version: "22.
|
|
19309
|
+
version: "22.3.0",
|
|
19307
19310
|
ngImport: i0,
|
|
19308
19311
|
type: HxRadio,
|
|
19309
19312
|
deps: [],
|
|
@@ -19311,7 +19314,7 @@ var HxRadio = class HxRadio {
|
|
|
19311
19314
|
});
|
|
19312
19315
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
19313
19316
|
minVersion: "17.1.0",
|
|
19314
|
-
version: "22.
|
|
19317
|
+
version: "22.3.0",
|
|
19315
19318
|
type: HxRadio,
|
|
19316
19319
|
isStandalone: true,
|
|
19317
19320
|
selector: "input[hx-radio]",
|
|
@@ -19335,7 +19338,7 @@ var HxRadio = class HxRadio {
|
|
|
19335
19338
|
};
|
|
19336
19339
|
i0.ɵɵngDeclareClassMetadata({
|
|
19337
19340
|
minVersion: "12.0.0",
|
|
19338
|
-
version: "22.
|
|
19341
|
+
version: "22.3.0",
|
|
19339
19342
|
ngImport: i0,
|
|
19340
19343
|
type: HxRadio,
|
|
19341
19344
|
decorators: [{
|
|
@@ -19411,7 +19414,7 @@ var HxRating = class HxRating {
|
|
|
19411
19414
|
}
|
|
19412
19415
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
19413
19416
|
minVersion: "12.0.0",
|
|
19414
|
-
version: "22.
|
|
19417
|
+
version: "22.3.0",
|
|
19415
19418
|
ngImport: i0,
|
|
19416
19419
|
type: HxRating,
|
|
19417
19420
|
deps: [],
|
|
@@ -19419,7 +19422,7 @@ var HxRating = class HxRating {
|
|
|
19419
19422
|
});
|
|
19420
19423
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
19421
19424
|
minVersion: "17.0.0",
|
|
19422
|
-
version: "22.
|
|
19425
|
+
version: "22.3.0",
|
|
19423
19426
|
type: HxRating,
|
|
19424
19427
|
isStandalone: true,
|
|
19425
19428
|
selector: "hx-rating",
|
|
@@ -19497,13 +19500,13 @@ var HxRating = class HxRating {
|
|
|
19497
19500
|
multi: true
|
|
19498
19501
|
}],
|
|
19499
19502
|
ngImport: i0,
|
|
19500
|
-
template: "@for (n of items(); track n) {\n @if (readonly()) {\n <span class=\"hx-rating-star\" [class.hx-rating-star-active]=\"n <= current()\"><span class=\"hx-rating-icon\"></span></span>\n } @else {\n <label class=\"hx-rating-star\" [class.hx-rating-star-active]=\"n <= current()\">\n <input\n type=\"radio\"\n class=\"hx-rating-input\"\n [name]=\"groupName\"\n [value]=\"n\"\n [checked]=\"n === value()\"\n [disabled]=\"isDisabled()\"\n [attr.aria-label]=\"n === 1 ? '1 star' : n + ' stars'\"\n (change)=\"select(n)\"\n />\n <span class=\"hx-rating-icon\"></span>\n </label>\n }\n}\n",
|
|
19503
|
+
template: "@for (n of items(); track n) {\n @if (readonly()) {\n <span class=\"hx-rating-star\" [class.hx-rating-star-active]=\"n <= current()\"\n ><span class=\"hx-rating-icon\"></span\n ></span>\n } @else {\n <label class=\"hx-rating-star\" [class.hx-rating-star-active]=\"n <= current()\">\n <input\n type=\"radio\"\n class=\"hx-rating-input\"\n [name]=\"groupName\"\n [value]=\"n\"\n [checked]=\"n === value()\"\n [disabled]=\"isDisabled()\"\n [attr.aria-label]=\"n === 1 ? '1 star' : n + ' stars'\"\n (change)=\"select(n)\"\n />\n <span class=\"hx-rating-icon\"></span>\n </label>\n }\n}\n",
|
|
19501
19504
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
19502
19505
|
});
|
|
19503
19506
|
};
|
|
19504
19507
|
i0.ɵɵngDeclareClassMetadata({
|
|
19505
19508
|
minVersion: "12.0.0",
|
|
19506
|
-
version: "22.
|
|
19509
|
+
version: "22.3.0",
|
|
19507
19510
|
ngImport: i0,
|
|
19508
19511
|
type: HxRating,
|
|
19509
19512
|
decorators: [{
|
|
@@ -19527,7 +19530,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
19527
19530
|
"[class.hx-rating-invalid]": "invalid()",
|
|
19528
19531
|
"(focusout)": "onFocusOut($event)"
|
|
19529
19532
|
},
|
|
19530
|
-
template: "@for (n of items(); track n) {\n @if (readonly()) {\n <span class=\"hx-rating-star\" [class.hx-rating-star-active]=\"n <= current()\"><span class=\"hx-rating-icon\"></span></span>\n } @else {\n <label class=\"hx-rating-star\" [class.hx-rating-star-active]=\"n <= current()\">\n <input\n type=\"radio\"\n class=\"hx-rating-input\"\n [name]=\"groupName\"\n [value]=\"n\"\n [checked]=\"n === value()\"\n [disabled]=\"isDisabled()\"\n [attr.aria-label]=\"n === 1 ? '1 star' : n + ' stars'\"\n (change)=\"select(n)\"\n />\n <span class=\"hx-rating-icon\"></span>\n </label>\n }\n}\n"
|
|
19533
|
+
template: "@for (n of items(); track n) {\n @if (readonly()) {\n <span class=\"hx-rating-star\" [class.hx-rating-star-active]=\"n <= current()\"\n ><span class=\"hx-rating-icon\"></span\n ></span>\n } @else {\n <label class=\"hx-rating-star\" [class.hx-rating-star-active]=\"n <= current()\">\n <input\n type=\"radio\"\n class=\"hx-rating-input\"\n [name]=\"groupName\"\n [value]=\"n\"\n [checked]=\"n === value()\"\n [disabled]=\"isDisabled()\"\n [attr.aria-label]=\"n === 1 ? '1 star' : n + ' stars'\"\n (change)=\"select(n)\"\n />\n <span class=\"hx-rating-icon\"></span>\n </label>\n }\n}\n"
|
|
19531
19534
|
}]
|
|
19532
19535
|
}],
|
|
19533
19536
|
propDecorators: {
|
|
@@ -19666,7 +19669,7 @@ var HxSelectButton = class HxSelectButton {
|
|
|
19666
19669
|
}
|
|
19667
19670
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
19668
19671
|
minVersion: "12.0.0",
|
|
19669
|
-
version: "22.
|
|
19672
|
+
version: "22.3.0",
|
|
19670
19673
|
ngImport: i0,
|
|
19671
19674
|
type: HxSelectButton,
|
|
19672
19675
|
deps: [],
|
|
@@ -19674,7 +19677,7 @@ var HxSelectButton = class HxSelectButton {
|
|
|
19674
19677
|
});
|
|
19675
19678
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
19676
19679
|
minVersion: "17.0.0",
|
|
19677
|
-
version: "22.
|
|
19680
|
+
version: "22.3.0",
|
|
19678
19681
|
type: HxSelectButton,
|
|
19679
19682
|
isStandalone: true,
|
|
19680
19683
|
selector: "hx-select-button",
|
|
@@ -19800,7 +19803,7 @@ var HxSelectButton = class HxSelectButton {
|
|
|
19800
19803
|
};
|
|
19801
19804
|
i0.ɵɵngDeclareClassMetadata({
|
|
19802
19805
|
minVersion: "12.0.0",
|
|
19803
|
-
version: "22.
|
|
19806
|
+
version: "22.3.0",
|
|
19804
19807
|
ngImport: i0,
|
|
19805
19808
|
type: HxSelectButton,
|
|
19806
19809
|
decorators: [{
|
|
@@ -19952,7 +19955,7 @@ var HxSkeleton = class HxSkeleton {
|
|
|
19952
19955
|
boxHeight = computed(() => this.size() ?? this.height(), ...ngDevMode ? [{ debugName: "boxHeight" }] : /* istanbul ignore next */ []);
|
|
19953
19956
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
19954
19957
|
minVersion: "12.0.0",
|
|
19955
|
-
version: "22.
|
|
19958
|
+
version: "22.3.0",
|
|
19956
19959
|
ngImport: i0,
|
|
19957
19960
|
type: HxSkeleton,
|
|
19958
19961
|
deps: [],
|
|
@@ -19960,7 +19963,7 @@ var HxSkeleton = class HxSkeleton {
|
|
|
19960
19963
|
});
|
|
19961
19964
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
19962
19965
|
minVersion: "17.1.0",
|
|
19963
|
-
version: "22.
|
|
19966
|
+
version: "22.3.0",
|
|
19964
19967
|
type: HxSkeleton,
|
|
19965
19968
|
isStandalone: true,
|
|
19966
19969
|
selector: "hx-skeleton",
|
|
@@ -20020,13 +20023,13 @@ var HxSkeleton = class HxSkeleton {
|
|
|
20020
20023
|
classAttribute: "hx-skeleton"
|
|
20021
20024
|
},
|
|
20022
20025
|
ngImport: i0,
|
|
20023
|
-
template: "
|
|
20026
|
+
template: "",
|
|
20024
20027
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
20025
20028
|
});
|
|
20026
20029
|
};
|
|
20027
20030
|
i0.ɵɵngDeclareClassMetadata({
|
|
20028
20031
|
minVersion: "12.0.0",
|
|
20029
|
-
version: "22.
|
|
20032
|
+
version: "22.3.0",
|
|
20030
20033
|
ngImport: i0,
|
|
20031
20034
|
type: HxSkeleton,
|
|
20032
20035
|
decorators: [{
|
|
@@ -20043,7 +20046,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20043
20046
|
"[style.height]": "boxHeight()",
|
|
20044
20047
|
"[style.border-radius]": "borderRadius() ?? null"
|
|
20045
20048
|
},
|
|
20046
|
-
template: "
|
|
20049
|
+
template: ""
|
|
20047
20050
|
}]
|
|
20048
20051
|
}],
|
|
20049
20052
|
propDecorators: {
|
|
@@ -20177,7 +20180,7 @@ var HxSlider = class HxSlider {
|
|
|
20177
20180
|
}
|
|
20178
20181
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
20179
20182
|
minVersion: "12.0.0",
|
|
20180
|
-
version: "22.
|
|
20183
|
+
version: "22.3.0",
|
|
20181
20184
|
ngImport: i0,
|
|
20182
20185
|
type: HxSlider,
|
|
20183
20186
|
deps: [],
|
|
@@ -20185,7 +20188,7 @@ var HxSlider = class HxSlider {
|
|
|
20185
20188
|
});
|
|
20186
20189
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
20187
20190
|
minVersion: "17.0.0",
|
|
20188
|
-
version: "22.
|
|
20191
|
+
version: "22.3.0",
|
|
20189
20192
|
type: HxSlider,
|
|
20190
20193
|
isStandalone: true,
|
|
20191
20194
|
selector: "hx-slider",
|
|
@@ -20310,7 +20313,7 @@ var HxSlider = class HxSlider {
|
|
|
20310
20313
|
};
|
|
20311
20314
|
i0.ɵɵngDeclareClassMetadata({
|
|
20312
20315
|
minVersion: "12.0.0",
|
|
20313
|
-
version: "22.
|
|
20316
|
+
version: "22.3.0",
|
|
20314
20317
|
ngImport: i0,
|
|
20315
20318
|
type: HxSlider,
|
|
20316
20319
|
decorators: [{
|
|
@@ -20474,7 +20477,7 @@ var HxSplitButton = class HxSplitButton {
|
|
|
20474
20477
|
menu = viewChild.required(HxMenu, ...ngDevMode ? [{ debugName: "menu" }] : /* istanbul ignore next */ []);
|
|
20475
20478
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
20476
20479
|
minVersion: "12.0.0",
|
|
20477
|
-
version: "22.
|
|
20480
|
+
version: "22.3.0",
|
|
20478
20481
|
ngImport: i0,
|
|
20479
20482
|
type: HxSplitButton,
|
|
20480
20483
|
deps: [],
|
|
@@ -20482,7 +20485,7 @@ var HxSplitButton = class HxSplitButton {
|
|
|
20482
20485
|
});
|
|
20483
20486
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
20484
20487
|
minVersion: "17.0.0",
|
|
20485
|
-
version: "22.
|
|
20488
|
+
version: "22.3.0",
|
|
20486
20489
|
type: HxSplitButton,
|
|
20487
20490
|
isStandalone: true,
|
|
20488
20491
|
selector: "hx-split-button",
|
|
@@ -20577,7 +20580,7 @@ var HxSplitButton = class HxSplitButton {
|
|
|
20577
20580
|
isSignal: true
|
|
20578
20581
|
}],
|
|
20579
20582
|
ngImport: i0,
|
|
20580
|
-
template: "<button\n hx-button\n type=\"button\"\n class=\"hx-split-button-main\"\n [variant]=\"variant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [disabled]=\"disabled()\"\n>\n @if (icon()) {\n <span class=\"hx-button-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n }\n {{ label() }}\n</button>\n<button\n hx-button\n iconOnly\n type=\"button\"\n class=\"hx-split-button-menu\"\n aria-haspopup=\"menu\"\n [variant]=\"variant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [disabled]=\"disabled()\"\n [attr.aria-expanded]=\"menu.open()\"\n [attr.aria-label]=\"menuButtonLabel()\"\n (click)=\"$event.stopPropagation(); menu.toggle($event)\"\n>\n <span class=\"hx-split-button-chevron\" aria-hidden=\"true\"></span>\n</button>\n<hx-menu
|
|
20583
|
+
template: "<button\n hx-button\n type=\"button\"\n class=\"hx-split-button-main\"\n [variant]=\"variant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [disabled]=\"disabled()\"\n>\n @if (icon()) {\n <span class=\"hx-button-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n }\n {{ label() }}\n</button>\n<button\n hx-button\n iconOnly\n type=\"button\"\n class=\"hx-split-button-menu\"\n aria-haspopup=\"menu\"\n [variant]=\"variant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [disabled]=\"disabled()\"\n [attr.aria-expanded]=\"menu.open()\"\n [attr.aria-label]=\"menuButtonLabel()\"\n (click)=\"$event.stopPropagation(); menu.toggle($event)\"\n>\n <span class=\"hx-split-button-chevron\" aria-hidden=\"true\"></span>\n</button>\n<hx-menu\n #menu\n popup\n [model]=\"model()\"\n [ariaLabel]=\"menuButtonLabel()\"\n (triggered)=\"triggered.emit($event)\"\n/>\n",
|
|
20581
20584
|
dependencies: [{
|
|
20582
20585
|
kind: "directive",
|
|
20583
20586
|
type: HxButton,
|
|
@@ -20613,7 +20616,7 @@ var HxSplitButton = class HxSplitButton {
|
|
|
20613
20616
|
};
|
|
20614
20617
|
i0.ɵɵngDeclareClassMetadata({
|
|
20615
20618
|
minVersion: "12.0.0",
|
|
20616
|
-
version: "22.
|
|
20619
|
+
version: "22.3.0",
|
|
20617
20620
|
ngImport: i0,
|
|
20618
20621
|
type: HxSplitButton,
|
|
20619
20622
|
decorators: [{
|
|
@@ -20630,7 +20633,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20630
20633
|
"[class.hx-split-button-raised]": "raised()",
|
|
20631
20634
|
"[class.hx-split-button-outlined]": "variant() === 'outlined'"
|
|
20632
20635
|
},
|
|
20633
|
-
template: "<button\n hx-button\n type=\"button\"\n class=\"hx-split-button-main\"\n [variant]=\"variant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [disabled]=\"disabled()\"\n>\n @if (icon()) {\n <span class=\"hx-button-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n }\n {{ label() }}\n</button>\n<button\n hx-button\n iconOnly\n type=\"button\"\n class=\"hx-split-button-menu\"\n aria-haspopup=\"menu\"\n [variant]=\"variant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [disabled]=\"disabled()\"\n [attr.aria-expanded]=\"menu.open()\"\n [attr.aria-label]=\"menuButtonLabel()\"\n (click)=\"$event.stopPropagation(); menu.toggle($event)\"\n>\n <span class=\"hx-split-button-chevron\" aria-hidden=\"true\"></span>\n</button>\n<hx-menu
|
|
20636
|
+
template: "<button\n hx-button\n type=\"button\"\n class=\"hx-split-button-main\"\n [variant]=\"variant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [disabled]=\"disabled()\"\n>\n @if (icon()) {\n <span class=\"hx-button-icon\" [class]=\"icon()\" aria-hidden=\"true\"></span>\n }\n {{ label() }}\n</button>\n<button\n hx-button\n iconOnly\n type=\"button\"\n class=\"hx-split-button-menu\"\n aria-haspopup=\"menu\"\n [variant]=\"variant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [disabled]=\"disabled()\"\n [attr.aria-expanded]=\"menu.open()\"\n [attr.aria-label]=\"menuButtonLabel()\"\n (click)=\"$event.stopPropagation(); menu.toggle($event)\"\n>\n <span class=\"hx-split-button-chevron\" aria-hidden=\"true\"></span>\n</button>\n<hx-menu\n #menu\n popup\n [model]=\"model()\"\n [ariaLabel]=\"menuButtonLabel()\"\n (triggered)=\"triggered.emit($event)\"\n/>\n"
|
|
20634
20637
|
}]
|
|
20635
20638
|
}],
|
|
20636
20639
|
propDecorators: {
|
|
@@ -20772,7 +20775,7 @@ var HxStepper = class HxStepper {
|
|
|
20772
20775
|
}
|
|
20773
20776
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
20774
20777
|
minVersion: "12.0.0",
|
|
20775
|
-
version: "22.
|
|
20778
|
+
version: "22.3.0",
|
|
20776
20779
|
ngImport: i0,
|
|
20777
20780
|
type: HxStepper,
|
|
20778
20781
|
deps: [],
|
|
@@ -20780,7 +20783,7 @@ var HxStepper = class HxStepper {
|
|
|
20780
20783
|
});
|
|
20781
20784
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
20782
20785
|
minVersion: "17.1.0",
|
|
20783
|
-
version: "22.
|
|
20786
|
+
version: "22.3.0",
|
|
20784
20787
|
type: HxStepper,
|
|
20785
20788
|
isStandalone: true,
|
|
20786
20789
|
selector: "hx-stepper",
|
|
@@ -20816,7 +20819,7 @@ var HxStepper = class HxStepper {
|
|
|
20816
20819
|
};
|
|
20817
20820
|
i0.ɵɵngDeclareClassMetadata({
|
|
20818
20821
|
minVersion: "12.0.0",
|
|
20819
|
-
version: "22.
|
|
20822
|
+
version: "22.3.0",
|
|
20820
20823
|
ngImport: i0,
|
|
20821
20824
|
type: HxStepper,
|
|
20822
20825
|
decorators: [{
|
|
@@ -20862,7 +20865,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20862
20865
|
var HxStepList = class HxStepList {
|
|
20863
20866
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
20864
20867
|
minVersion: "12.0.0",
|
|
20865
|
-
version: "22.
|
|
20868
|
+
version: "22.3.0",
|
|
20866
20869
|
ngImport: i0,
|
|
20867
20870
|
type: HxStepList,
|
|
20868
20871
|
deps: [],
|
|
@@ -20870,7 +20873,7 @@ var HxStepList = class HxStepList {
|
|
|
20870
20873
|
});
|
|
20871
20874
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
20872
20875
|
minVersion: "14.0.0",
|
|
20873
|
-
version: "22.
|
|
20876
|
+
version: "22.3.0",
|
|
20874
20877
|
type: HxStepList,
|
|
20875
20878
|
isStandalone: true,
|
|
20876
20879
|
selector: "hx-step-list",
|
|
@@ -20885,7 +20888,7 @@ var HxStepList = class HxStepList {
|
|
|
20885
20888
|
};
|
|
20886
20889
|
i0.ɵɵngDeclareClassMetadata({
|
|
20887
20890
|
minVersion: "12.0.0",
|
|
20888
|
-
version: "22.
|
|
20891
|
+
version: "22.3.0",
|
|
20889
20892
|
ngImport: i0,
|
|
20890
20893
|
type: HxStepList,
|
|
20891
20894
|
decorators: [{
|
|
@@ -20919,7 +20922,7 @@ var HxStep = class HxStep {
|
|
|
20919
20922
|
}
|
|
20920
20923
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
20921
20924
|
minVersion: "12.0.0",
|
|
20922
|
-
version: "22.
|
|
20925
|
+
version: "22.3.0",
|
|
20923
20926
|
ngImport: i0,
|
|
20924
20927
|
type: HxStep,
|
|
20925
20928
|
deps: [],
|
|
@@ -20927,7 +20930,7 @@ var HxStep = class HxStep {
|
|
|
20927
20930
|
});
|
|
20928
20931
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
20929
20932
|
minVersion: "17.0.0",
|
|
20930
|
-
version: "22.
|
|
20933
|
+
version: "22.3.0",
|
|
20931
20934
|
type: HxStep,
|
|
20932
20935
|
isStandalone: true,
|
|
20933
20936
|
selector: "hx-step",
|
|
@@ -20964,7 +20967,7 @@ var HxStep = class HxStep {
|
|
|
20964
20967
|
};
|
|
20965
20968
|
i0.ɵɵngDeclareClassMetadata({
|
|
20966
20969
|
minVersion: "12.0.0",
|
|
20967
|
-
version: "22.
|
|
20970
|
+
version: "22.3.0",
|
|
20968
20971
|
ngImport: i0,
|
|
20969
20972
|
type: HxStep,
|
|
20970
20973
|
decorators: [{
|
|
@@ -21006,7 +21009,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21006
21009
|
var HxStepPanels = class HxStepPanels {
|
|
21007
21010
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
21008
21011
|
minVersion: "12.0.0",
|
|
21009
|
-
version: "22.
|
|
21012
|
+
version: "22.3.0",
|
|
21010
21013
|
ngImport: i0,
|
|
21011
21014
|
type: HxStepPanels,
|
|
21012
21015
|
deps: [],
|
|
@@ -21014,7 +21017,7 @@ var HxStepPanels = class HxStepPanels {
|
|
|
21014
21017
|
});
|
|
21015
21018
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
21016
21019
|
minVersion: "14.0.0",
|
|
21017
|
-
version: "22.
|
|
21020
|
+
version: "22.3.0",
|
|
21018
21021
|
type: HxStepPanels,
|
|
21019
21022
|
isStandalone: true,
|
|
21020
21023
|
selector: "hx-step-panels",
|
|
@@ -21026,7 +21029,7 @@ var HxStepPanels = class HxStepPanels {
|
|
|
21026
21029
|
};
|
|
21027
21030
|
i0.ɵɵngDeclareClassMetadata({
|
|
21028
21031
|
minVersion: "12.0.0",
|
|
21029
|
-
version: "22.
|
|
21032
|
+
version: "22.3.0",
|
|
21030
21033
|
ngImport: i0,
|
|
21031
21034
|
type: HxStepPanels,
|
|
21032
21035
|
decorators: [{
|
|
@@ -21046,7 +21049,7 @@ var HxStepContent = class HxStepContent {
|
|
|
21046
21049
|
}
|
|
21047
21050
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
21048
21051
|
minVersion: "12.0.0",
|
|
21049
|
-
version: "22.
|
|
21052
|
+
version: "22.3.0",
|
|
21050
21053
|
ngImport: i0,
|
|
21051
21054
|
type: HxStepContent,
|
|
21052
21055
|
deps: [],
|
|
@@ -21054,7 +21057,7 @@ var HxStepContent = class HxStepContent {
|
|
|
21054
21057
|
});
|
|
21055
21058
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
21056
21059
|
minVersion: "14.0.0",
|
|
21057
|
-
version: "22.
|
|
21060
|
+
version: "22.3.0",
|
|
21058
21061
|
type: HxStepContent,
|
|
21059
21062
|
isStandalone: true,
|
|
21060
21063
|
selector: "ng-template[hxStepContent]",
|
|
@@ -21063,7 +21066,7 @@ var HxStepContent = class HxStepContent {
|
|
|
21063
21066
|
};
|
|
21064
21067
|
i0.ɵɵngDeclareClassMetadata({
|
|
21065
21068
|
minVersion: "12.0.0",
|
|
21066
|
-
version: "22.
|
|
21069
|
+
version: "22.3.0",
|
|
21067
21070
|
ngImport: i0,
|
|
21068
21071
|
type: HxStepContent,
|
|
21069
21072
|
decorators: [{
|
|
@@ -21087,7 +21090,7 @@ var HxStepPanel = class HxStepPanel {
|
|
|
21087
21090
|
}
|
|
21088
21091
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
21089
21092
|
minVersion: "12.0.0",
|
|
21090
|
-
version: "22.
|
|
21093
|
+
version: "22.3.0",
|
|
21091
21094
|
ngImport: i0,
|
|
21092
21095
|
type: HxStepPanel,
|
|
21093
21096
|
deps: [],
|
|
@@ -21095,7 +21098,7 @@ var HxStepPanel = class HxStepPanel {
|
|
|
21095
21098
|
});
|
|
21096
21099
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
21097
21100
|
minVersion: "17.0.0",
|
|
21098
|
-
version: "22.
|
|
21101
|
+
version: "22.3.0",
|
|
21099
21102
|
type: HxStepPanel,
|
|
21100
21103
|
isStandalone: true,
|
|
21101
21104
|
selector: "hx-step-panel",
|
|
@@ -21139,7 +21142,7 @@ var HxStepPanel = class HxStepPanel {
|
|
|
21139
21142
|
};
|
|
21140
21143
|
i0.ɵɵngDeclareClassMetadata({
|
|
21141
21144
|
minVersion: "12.0.0",
|
|
21142
|
-
version: "22.
|
|
21145
|
+
version: "22.3.0",
|
|
21143
21146
|
ngImport: i0,
|
|
21144
21147
|
type: HxStepPanel,
|
|
21145
21148
|
decorators: [{
|
|
@@ -21176,7 +21179,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21176
21179
|
var HxSwitch = class HxSwitch {
|
|
21177
21180
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
21178
21181
|
minVersion: "12.0.0",
|
|
21179
|
-
version: "22.
|
|
21182
|
+
version: "22.3.0",
|
|
21180
21183
|
ngImport: i0,
|
|
21181
21184
|
type: HxSwitch,
|
|
21182
21185
|
deps: [],
|
|
@@ -21184,7 +21187,7 @@ var HxSwitch = class HxSwitch {
|
|
|
21184
21187
|
});
|
|
21185
21188
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
21186
21189
|
minVersion: "14.0.0",
|
|
21187
|
-
version: "22.
|
|
21190
|
+
version: "22.3.0",
|
|
21188
21191
|
type: HxSwitch,
|
|
21189
21192
|
isStandalone: true,
|
|
21190
21193
|
selector: "input[hx-switch]",
|
|
@@ -21198,7 +21201,7 @@ var HxSwitch = class HxSwitch {
|
|
|
21198
21201
|
};
|
|
21199
21202
|
i0.ɵɵngDeclareClassMetadata({
|
|
21200
21203
|
minVersion: "12.0.0",
|
|
21201
|
-
version: "22.
|
|
21204
|
+
version: "22.3.0",
|
|
21202
21205
|
ngImport: i0,
|
|
21203
21206
|
type: HxSwitch,
|
|
21204
21207
|
decorators: [{
|
|
@@ -21279,7 +21282,7 @@ var HxTabScroller = class HxTabScroller {
|
|
|
21279
21282
|
}
|
|
21280
21283
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
21281
21284
|
minVersion: "12.0.0",
|
|
21282
|
-
version: "22.
|
|
21285
|
+
version: "22.3.0",
|
|
21283
21286
|
ngImport: i0,
|
|
21284
21287
|
type: HxTabScroller,
|
|
21285
21288
|
deps: [],
|
|
@@ -21287,7 +21290,7 @@ var HxTabScroller = class HxTabScroller {
|
|
|
21287
21290
|
});
|
|
21288
21291
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
21289
21292
|
minVersion: "17.0.0",
|
|
21290
|
-
version: "22.
|
|
21293
|
+
version: "22.3.0",
|
|
21291
21294
|
type: HxTabScroller,
|
|
21292
21295
|
isStandalone: true,
|
|
21293
21296
|
selector: "hx-tab-scroller",
|
|
@@ -21332,13 +21335,13 @@ var HxTabScroller = class HxTabScroller {
|
|
|
21332
21335
|
}
|
|
21333
21336
|
],
|
|
21334
21337
|
ngImport: i0,
|
|
21335
|
-
template: "@if (enabled() && overflowing()) {\n <button
|
|
21338
|
+
template: "@if (enabled() && overflowing()) {\n <button\n #prev\n type=\"button\"\n class=\"hx-tab-nav hx-tab-nav-prev\"\n tabindex=\"-1\"\n aria-label=\"Scroll tabs left\"\n (click)=\"scroll(-1)\"\n >\n <span class=\"hx-tab-nav-icon-prev\" aria-hidden=\"true\"></span>\n </button>\n}\n<div #scroller class=\"hx-tab-scroller\" (scroll)=\"measure()\" (wheel)=\"onWheel($event)\">\n <ng-content />\n</div>\n@if (enabled() && overflowing()) {\n <button\n #next\n type=\"button\"\n class=\"hx-tab-nav hx-tab-nav-next\"\n tabindex=\"-1\"\n aria-label=\"Scroll tabs right\"\n (click)=\"scroll(1)\"\n >\n <span class=\"hx-tab-nav-icon-next\" aria-hidden=\"true\"></span>\n </button>\n}\n",
|
|
21336
21339
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
21337
21340
|
});
|
|
21338
21341
|
};
|
|
21339
21342
|
i0.ɵɵngDeclareClassMetadata({
|
|
21340
21343
|
minVersion: "12.0.0",
|
|
21341
|
-
version: "22.
|
|
21344
|
+
version: "22.3.0",
|
|
21342
21345
|
ngImport: i0,
|
|
21343
21346
|
type: HxTabScroller,
|
|
21344
21347
|
decorators: [{
|
|
@@ -21347,7 +21350,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
21347
21350
|
selector: "hx-tab-scroller",
|
|
21348
21351
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
21349
21352
|
host: { class: "hx-tab-scroll" },
|
|
21350
|
-
template: "@if (enabled() && overflowing()) {\n <button
|
|
21353
|
+
template: "@if (enabled() && overflowing()) {\n <button\n #prev\n type=\"button\"\n class=\"hx-tab-nav hx-tab-nav-prev\"\n tabindex=\"-1\"\n aria-label=\"Scroll tabs left\"\n (click)=\"scroll(-1)\"\n >\n <span class=\"hx-tab-nav-icon-prev\" aria-hidden=\"true\"></span>\n </button>\n}\n<div #scroller class=\"hx-tab-scroller\" (scroll)=\"measure()\" (wheel)=\"onWheel($event)\">\n <ng-content />\n</div>\n@if (enabled() && overflowing()) {\n <button\n #next\n type=\"button\"\n class=\"hx-tab-nav hx-tab-nav-next\"\n tabindex=\"-1\"\n aria-label=\"Scroll tabs right\"\n (click)=\"scroll(1)\"\n >\n <span class=\"hx-tab-nav-icon-next\" aria-hidden=\"true\"></span>\n </button>\n}\n"
|
|
21351
21354
|
}]
|
|
21352
21355
|
}],
|
|
21353
21356
|
ctorParameters: () => [],
|
|
@@ -21587,7 +21590,7 @@ var HxTabBar = class HxTabBar {
|
|
|
21587
21590
|
}
|
|
21588
21591
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
21589
21592
|
minVersion: "12.0.0",
|
|
21590
|
-
version: "22.
|
|
21593
|
+
version: "22.3.0",
|
|
21591
21594
|
ngImport: i0,
|
|
21592
21595
|
type: HxTabBar,
|
|
21593
21596
|
deps: [],
|
|
@@ -21595,7 +21598,7 @@ var HxTabBar = class HxTabBar {
|
|
|
21595
21598
|
});
|
|
21596
21599
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
21597
21600
|
minVersion: "17.0.0",
|
|
21598
|
-
version: "22.
|
|
21601
|
+
version: "22.3.0",
|
|
21599
21602
|
type: HxTabBar,
|
|
21600
21603
|
isStandalone: true,
|
|
21601
21604
|
selector: "hx-tab-bar",
|
|
@@ -21726,7 +21729,7 @@ var HxTabBar = class HxTabBar {
|
|
|
21726
21729
|
};
|
|
21727
21730
|
i0.ɵɵngDeclareClassMetadata({
|
|
21728
21731
|
minVersion: "12.0.0",
|
|
21729
|
-
version: "22.
|
|
21732
|
+
version: "22.3.0",
|
|
21730
21733
|
ngImport: i0,
|
|
21731
21734
|
type: HxTabBar,
|
|
21732
21735
|
decorators: [{
|
|
@@ -21866,7 +21869,7 @@ var HxTable = class HxTable {
|
|
|
21866
21869
|
});
|
|
21867
21870
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
21868
21871
|
minVersion: "12.0.0",
|
|
21869
|
-
version: "22.
|
|
21872
|
+
version: "22.3.0",
|
|
21870
21873
|
ngImport: i0,
|
|
21871
21874
|
type: HxTable,
|
|
21872
21875
|
deps: [],
|
|
@@ -21874,7 +21877,7 @@ var HxTable = class HxTable {
|
|
|
21874
21877
|
});
|
|
21875
21878
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
21876
21879
|
minVersion: "17.1.0",
|
|
21877
|
-
version: "22.
|
|
21880
|
+
version: "22.3.0",
|
|
21878
21881
|
type: HxTable,
|
|
21879
21882
|
isStandalone: true,
|
|
21880
21883
|
selector: "table[hx-table]",
|
|
@@ -21931,7 +21934,7 @@ var HxTable = class HxTable {
|
|
|
21931
21934
|
};
|
|
21932
21935
|
i0.ɵɵngDeclareClassMetadata({
|
|
21933
21936
|
minVersion: "12.0.0",
|
|
21934
|
-
version: "22.
|
|
21937
|
+
version: "22.3.0",
|
|
21935
21938
|
ngImport: i0,
|
|
21936
21939
|
type: HxTable,
|
|
21937
21940
|
decorators: [{
|
|
@@ -22030,7 +22033,7 @@ var HxTabs = class HxTabs {
|
|
|
22030
22033
|
}
|
|
22031
22034
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22032
22035
|
minVersion: "12.0.0",
|
|
22033
|
-
version: "22.
|
|
22036
|
+
version: "22.3.0",
|
|
22034
22037
|
ngImport: i0,
|
|
22035
22038
|
type: HxTabs,
|
|
22036
22039
|
deps: [],
|
|
@@ -22038,7 +22041,7 @@ var HxTabs = class HxTabs {
|
|
|
22038
22041
|
});
|
|
22039
22042
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
22040
22043
|
minVersion: "17.1.0",
|
|
22041
|
-
version: "22.
|
|
22044
|
+
version: "22.3.0",
|
|
22042
22045
|
type: HxTabs,
|
|
22043
22046
|
isStandalone: true,
|
|
22044
22047
|
selector: "hx-tabs",
|
|
@@ -22074,7 +22077,7 @@ var HxTabs = class HxTabs {
|
|
|
22074
22077
|
};
|
|
22075
22078
|
i0.ɵɵngDeclareClassMetadata({
|
|
22076
22079
|
minVersion: "12.0.0",
|
|
22077
|
-
version: "22.
|
|
22080
|
+
version: "22.3.0",
|
|
22078
22081
|
ngImport: i0,
|
|
22079
22082
|
type: HxTabs,
|
|
22080
22083
|
decorators: [{
|
|
@@ -22137,7 +22140,7 @@ var HxTabList = class HxTabList {
|
|
|
22137
22140
|
}
|
|
22138
22141
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22139
22142
|
minVersion: "12.0.0",
|
|
22140
|
-
version: "22.
|
|
22143
|
+
version: "22.3.0",
|
|
22141
22144
|
ngImport: i0,
|
|
22142
22145
|
type: HxTabList,
|
|
22143
22146
|
deps: [],
|
|
@@ -22145,7 +22148,7 @@ var HxTabList = class HxTabList {
|
|
|
22145
22148
|
});
|
|
22146
22149
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
22147
22150
|
minVersion: "14.0.0",
|
|
22148
|
-
version: "22.
|
|
22151
|
+
version: "22.3.0",
|
|
22149
22152
|
type: HxTabList,
|
|
22150
22153
|
isStandalone: true,
|
|
22151
22154
|
selector: "hx-tab-list",
|
|
@@ -22166,7 +22169,7 @@ var HxTabList = class HxTabList {
|
|
|
22166
22169
|
};
|
|
22167
22170
|
i0.ɵɵngDeclareClassMetadata({
|
|
22168
22171
|
minVersion: "12.0.0",
|
|
22169
|
-
version: "22.
|
|
22172
|
+
version: "22.3.0",
|
|
22170
22173
|
ngImport: i0,
|
|
22171
22174
|
type: HxTabList,
|
|
22172
22175
|
decorators: [{
|
|
@@ -22205,7 +22208,7 @@ var HxTab = class HxTab {
|
|
|
22205
22208
|
}
|
|
22206
22209
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22207
22210
|
minVersion: "12.0.0",
|
|
22208
|
-
version: "22.
|
|
22211
|
+
version: "22.3.0",
|
|
22209
22212
|
ngImport: i0,
|
|
22210
22213
|
type: HxTab,
|
|
22211
22214
|
deps: [],
|
|
@@ -22213,7 +22216,7 @@ var HxTab = class HxTab {
|
|
|
22213
22216
|
});
|
|
22214
22217
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
22215
22218
|
minVersion: "17.1.0",
|
|
22216
|
-
version: "22.
|
|
22219
|
+
version: "22.3.0",
|
|
22217
22220
|
type: HxTab,
|
|
22218
22221
|
isStandalone: true,
|
|
22219
22222
|
selector: "hx-tab",
|
|
@@ -22258,7 +22261,7 @@ var HxTab = class HxTab {
|
|
|
22258
22261
|
};
|
|
22259
22262
|
i0.ɵɵngDeclareClassMetadata({
|
|
22260
22263
|
minVersion: "12.0.0",
|
|
22261
|
-
version: "22.
|
|
22264
|
+
version: "22.3.0",
|
|
22262
22265
|
ngImport: i0,
|
|
22263
22266
|
type: HxTab,
|
|
22264
22267
|
decorators: [{
|
|
@@ -22306,7 +22309,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
22306
22309
|
var HxTabPanels = class HxTabPanels {
|
|
22307
22310
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22308
22311
|
minVersion: "12.0.0",
|
|
22309
|
-
version: "22.
|
|
22312
|
+
version: "22.3.0",
|
|
22310
22313
|
ngImport: i0,
|
|
22311
22314
|
type: HxTabPanels,
|
|
22312
22315
|
deps: [],
|
|
@@ -22314,7 +22317,7 @@ var HxTabPanels = class HxTabPanels {
|
|
|
22314
22317
|
});
|
|
22315
22318
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
22316
22319
|
minVersion: "14.0.0",
|
|
22317
|
-
version: "22.
|
|
22320
|
+
version: "22.3.0",
|
|
22318
22321
|
type: HxTabPanels,
|
|
22319
22322
|
isStandalone: true,
|
|
22320
22323
|
selector: "hx-tab-panels",
|
|
@@ -22326,7 +22329,7 @@ var HxTabPanels = class HxTabPanels {
|
|
|
22326
22329
|
};
|
|
22327
22330
|
i0.ɵɵngDeclareClassMetadata({
|
|
22328
22331
|
minVersion: "12.0.0",
|
|
22329
|
-
version: "22.
|
|
22332
|
+
version: "22.3.0",
|
|
22330
22333
|
ngImport: i0,
|
|
22331
22334
|
type: HxTabPanels,
|
|
22332
22335
|
decorators: [{
|
|
@@ -22343,7 +22346,7 @@ var HxTabContent = class HxTabContent {
|
|
|
22343
22346
|
template = inject(TemplateRef);
|
|
22344
22347
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22345
22348
|
minVersion: "12.0.0",
|
|
22346
|
-
version: "22.
|
|
22349
|
+
version: "22.3.0",
|
|
22347
22350
|
ngImport: i0,
|
|
22348
22351
|
type: HxTabContent,
|
|
22349
22352
|
deps: [],
|
|
@@ -22351,7 +22354,7 @@ var HxTabContent = class HxTabContent {
|
|
|
22351
22354
|
});
|
|
22352
22355
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
22353
22356
|
minVersion: "14.0.0",
|
|
22354
|
-
version: "22.
|
|
22357
|
+
version: "22.3.0",
|
|
22355
22358
|
type: HxTabContent,
|
|
22356
22359
|
isStandalone: true,
|
|
22357
22360
|
selector: "ng-template[hxTabContent]",
|
|
@@ -22360,7 +22363,7 @@ var HxTabContent = class HxTabContent {
|
|
|
22360
22363
|
};
|
|
22361
22364
|
i0.ɵɵngDeclareClassMetadata({
|
|
22362
22365
|
minVersion: "12.0.0",
|
|
22363
|
-
version: "22.
|
|
22366
|
+
version: "22.3.0",
|
|
22364
22367
|
ngImport: i0,
|
|
22365
22368
|
type: HxTabContent,
|
|
22366
22369
|
decorators: [{
|
|
@@ -22380,7 +22383,7 @@ var HxTabPanel = class HxTabPanel {
|
|
|
22380
22383
|
}
|
|
22381
22384
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22382
22385
|
minVersion: "12.0.0",
|
|
22383
|
-
version: "22.
|
|
22386
|
+
version: "22.3.0",
|
|
22384
22387
|
ngImport: i0,
|
|
22385
22388
|
type: HxTabPanel,
|
|
22386
22389
|
deps: [],
|
|
@@ -22388,7 +22391,7 @@ var HxTabPanel = class HxTabPanel {
|
|
|
22388
22391
|
});
|
|
22389
22392
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
22390
22393
|
minVersion: "17.0.0",
|
|
22391
|
-
version: "22.
|
|
22394
|
+
version: "22.3.0",
|
|
22392
22395
|
type: HxTabPanel,
|
|
22393
22396
|
isStandalone: true,
|
|
22394
22397
|
selector: "hx-tab-panel",
|
|
@@ -22435,7 +22438,7 @@ var HxTabPanel = class HxTabPanel {
|
|
|
22435
22438
|
};
|
|
22436
22439
|
i0.ɵɵngDeclareClassMetadata({
|
|
22437
22440
|
minVersion: "12.0.0",
|
|
22438
|
-
version: "22.
|
|
22441
|
+
version: "22.3.0",
|
|
22439
22442
|
ngImport: i0,
|
|
22440
22443
|
type: HxTabPanel,
|
|
22441
22444
|
decorators: [{
|
|
@@ -22480,7 +22483,7 @@ var HxTag = class HxTag {
|
|
|
22480
22483
|
icon = input(...ngDevMode ? [void 0, { debugName: "icon" }] : /* istanbul ignore next */ []);
|
|
22481
22484
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22482
22485
|
minVersion: "12.0.0",
|
|
22483
|
-
version: "22.
|
|
22486
|
+
version: "22.3.0",
|
|
22484
22487
|
ngImport: i0,
|
|
22485
22488
|
type: HxTag,
|
|
22486
22489
|
deps: [],
|
|
@@ -22488,7 +22491,7 @@ var HxTag = class HxTag {
|
|
|
22488
22491
|
});
|
|
22489
22492
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
22490
22493
|
minVersion: "17.0.0",
|
|
22491
|
-
version: "22.
|
|
22494
|
+
version: "22.3.0",
|
|
22492
22495
|
type: HxTag,
|
|
22493
22496
|
isStandalone: true,
|
|
22494
22497
|
selector: "hx-tag",
|
|
@@ -22541,7 +22544,7 @@ var HxTag = class HxTag {
|
|
|
22541
22544
|
};
|
|
22542
22545
|
i0.ɵɵngDeclareClassMetadata({
|
|
22543
22546
|
minVersion: "12.0.0",
|
|
22544
|
-
version: "22.
|
|
22547
|
+
version: "22.3.0",
|
|
22545
22548
|
ngImport: i0,
|
|
22546
22549
|
type: HxTag,
|
|
22547
22550
|
decorators: [{
|
|
@@ -22952,7 +22955,7 @@ var HxTheme = class HxTheme {
|
|
|
22952
22955
|
}
|
|
22953
22956
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22954
22957
|
minVersion: "12.0.0",
|
|
22955
|
-
version: "22.
|
|
22958
|
+
version: "22.3.0",
|
|
22956
22959
|
ngImport: i0,
|
|
22957
22960
|
type: HxTheme,
|
|
22958
22961
|
deps: [],
|
|
@@ -22960,7 +22963,7 @@ var HxTheme = class HxTheme {
|
|
|
22960
22963
|
});
|
|
22961
22964
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
22962
22965
|
minVersion: "12.0.0",
|
|
22963
|
-
version: "22.
|
|
22966
|
+
version: "22.3.0",
|
|
22964
22967
|
ngImport: i0,
|
|
22965
22968
|
type: HxTheme,
|
|
22966
22969
|
providedIn: "root"
|
|
@@ -22968,7 +22971,7 @@ var HxTheme = class HxTheme {
|
|
|
22968
22971
|
};
|
|
22969
22972
|
i0.ɵɵngDeclareClassMetadata({
|
|
22970
22973
|
minVersion: "12.0.0",
|
|
22971
|
-
version: "22.
|
|
22974
|
+
version: "22.3.0",
|
|
22972
22975
|
ngImport: i0,
|
|
22973
22976
|
type: HxTheme,
|
|
22974
22977
|
decorators: [{
|
|
@@ -22989,7 +22992,7 @@ var HxTimelineContent = class HxTimelineContent {
|
|
|
22989
22992
|
template = inject(TemplateRef);
|
|
22990
22993
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
22991
22994
|
minVersion: "12.0.0",
|
|
22992
|
-
version: "22.
|
|
22995
|
+
version: "22.3.0",
|
|
22993
22996
|
ngImport: i0,
|
|
22994
22997
|
type: HxTimelineContent,
|
|
22995
22998
|
deps: [],
|
|
@@ -22997,7 +23000,7 @@ var HxTimelineContent = class HxTimelineContent {
|
|
|
22997
23000
|
});
|
|
22998
23001
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
22999
23002
|
minVersion: "14.0.0",
|
|
23000
|
-
version: "22.
|
|
23003
|
+
version: "22.3.0",
|
|
23001
23004
|
type: HxTimelineContent,
|
|
23002
23005
|
isStandalone: true,
|
|
23003
23006
|
selector: "ng-template[hxTimelineContent]",
|
|
@@ -23006,7 +23009,7 @@ var HxTimelineContent = class HxTimelineContent {
|
|
|
23006
23009
|
};
|
|
23007
23010
|
i0.ɵɵngDeclareClassMetadata({
|
|
23008
23011
|
minVersion: "12.0.0",
|
|
23009
|
-
version: "22.
|
|
23012
|
+
version: "22.3.0",
|
|
23010
23013
|
ngImport: i0,
|
|
23011
23014
|
type: HxTimelineContent,
|
|
23012
23015
|
decorators: [{
|
|
@@ -23018,7 +23021,7 @@ var HxTimelineOpposite = class HxTimelineOpposite {
|
|
|
23018
23021
|
template = inject(TemplateRef);
|
|
23019
23022
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23020
23023
|
minVersion: "12.0.0",
|
|
23021
|
-
version: "22.
|
|
23024
|
+
version: "22.3.0",
|
|
23022
23025
|
ngImport: i0,
|
|
23023
23026
|
type: HxTimelineOpposite,
|
|
23024
23027
|
deps: [],
|
|
@@ -23026,7 +23029,7 @@ var HxTimelineOpposite = class HxTimelineOpposite {
|
|
|
23026
23029
|
});
|
|
23027
23030
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
23028
23031
|
minVersion: "14.0.0",
|
|
23029
|
-
version: "22.
|
|
23032
|
+
version: "22.3.0",
|
|
23030
23033
|
type: HxTimelineOpposite,
|
|
23031
23034
|
isStandalone: true,
|
|
23032
23035
|
selector: "ng-template[hxTimelineOpposite]",
|
|
@@ -23035,7 +23038,7 @@ var HxTimelineOpposite = class HxTimelineOpposite {
|
|
|
23035
23038
|
};
|
|
23036
23039
|
i0.ɵɵngDeclareClassMetadata({
|
|
23037
23040
|
minVersion: "12.0.0",
|
|
23038
|
-
version: "22.
|
|
23041
|
+
version: "22.3.0",
|
|
23039
23042
|
ngImport: i0,
|
|
23040
23043
|
type: HxTimelineOpposite,
|
|
23041
23044
|
decorators: [{
|
|
@@ -23047,7 +23050,7 @@ var HxTimelineMarker = class HxTimelineMarker {
|
|
|
23047
23050
|
template = inject(TemplateRef);
|
|
23048
23051
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23049
23052
|
minVersion: "12.0.0",
|
|
23050
|
-
version: "22.
|
|
23053
|
+
version: "22.3.0",
|
|
23051
23054
|
ngImport: i0,
|
|
23052
23055
|
type: HxTimelineMarker,
|
|
23053
23056
|
deps: [],
|
|
@@ -23055,7 +23058,7 @@ var HxTimelineMarker = class HxTimelineMarker {
|
|
|
23055
23058
|
});
|
|
23056
23059
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
23057
23060
|
minVersion: "14.0.0",
|
|
23058
|
-
version: "22.
|
|
23061
|
+
version: "22.3.0",
|
|
23059
23062
|
type: HxTimelineMarker,
|
|
23060
23063
|
isStandalone: true,
|
|
23061
23064
|
selector: "ng-template[hxTimelineMarker]",
|
|
@@ -23064,7 +23067,7 @@ var HxTimelineMarker = class HxTimelineMarker {
|
|
|
23064
23067
|
};
|
|
23065
23068
|
i0.ɵɵngDeclareClassMetadata({
|
|
23066
23069
|
minVersion: "12.0.0",
|
|
23067
|
-
version: "22.
|
|
23070
|
+
version: "22.3.0",
|
|
23068
23071
|
ngImport: i0,
|
|
23069
23072
|
type: HxTimelineMarker,
|
|
23070
23073
|
decorators: [{
|
|
@@ -23085,7 +23088,7 @@ var HxTimeline = class HxTimeline {
|
|
|
23085
23088
|
}
|
|
23086
23089
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23087
23090
|
minVersion: "12.0.0",
|
|
23088
|
-
version: "22.
|
|
23091
|
+
version: "22.3.0",
|
|
23089
23092
|
ngImport: i0,
|
|
23090
23093
|
type: HxTimeline,
|
|
23091
23094
|
deps: [],
|
|
@@ -23093,7 +23096,7 @@ var HxTimeline = class HxTimeline {
|
|
|
23093
23096
|
});
|
|
23094
23097
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
23095
23098
|
minVersion: "17.0.0",
|
|
23096
|
-
version: "22.
|
|
23099
|
+
version: "22.3.0",
|
|
23097
23100
|
type: HxTimeline,
|
|
23098
23101
|
isStandalone: true,
|
|
23099
23102
|
selector: "hx-timeline",
|
|
@@ -23151,7 +23154,7 @@ var HxTimeline = class HxTimeline {
|
|
|
23151
23154
|
}
|
|
23152
23155
|
],
|
|
23153
23156
|
ngImport: i0,
|
|
23154
|
-
template: "<ol class=\"hx-timeline-events\">\n @for (event of value(); track $index; let i = $index; let last = $last) {\n <li class=\"hx-timeline-event\" [class.hx-timeline-event-reversed]=\"reversed(i)\">\n <div class=\"hx-timeline-event-opposite\">\n @if (opposite(); as opposite) {\n <ng-container
|
|
23157
|
+
template: "<ol class=\"hx-timeline-events\">\n @for (event of value(); track $index; let i = $index; let last = $last) {\n <li class=\"hx-timeline-event\" [class.hx-timeline-event-reversed]=\"reversed(i)\">\n <div class=\"hx-timeline-event-opposite\">\n @if (opposite(); as opposite) {\n <ng-container\n [ngTemplateOutlet]=\"opposite.template\"\n [ngTemplateOutletContext]=\"{ $implicit: event, index: i }\"\n />\n }\n </div>\n <div class=\"hx-timeline-event-separator\" aria-hidden=\"true\">\n @if (marker(); as marker) {\n <div class=\"hx-timeline-event-marker-custom\">\n <ng-container\n [ngTemplateOutlet]=\"marker.template\"\n [ngTemplateOutletContext]=\"{ $implicit: event, index: i }\"\n />\n </div>\n } @else {\n <div class=\"hx-timeline-event-marker\"></div>\n }\n @if (!last) {\n <div class=\"hx-timeline-event-connector\"></div>\n }\n </div>\n <div class=\"hx-timeline-event-content\">\n @if (content(); as content) {\n <ng-container\n [ngTemplateOutlet]=\"content.template\"\n [ngTemplateOutletContext]=\"{ $implicit: event, index: i }\"\n />\n }\n </div>\n </li>\n }\n</ol>\n",
|
|
23155
23158
|
dependencies: [{
|
|
23156
23159
|
kind: "directive",
|
|
23157
23160
|
type: NgTemplateOutlet,
|
|
@@ -23167,7 +23170,7 @@ var HxTimeline = class HxTimeline {
|
|
|
23167
23170
|
};
|
|
23168
23171
|
i0.ɵɵngDeclareClassMetadata({
|
|
23169
23172
|
minVersion: "12.0.0",
|
|
23170
|
-
version: "22.
|
|
23173
|
+
version: "22.3.0",
|
|
23171
23174
|
ngImport: i0,
|
|
23172
23175
|
type: HxTimeline,
|
|
23173
23176
|
decorators: [{
|
|
@@ -23181,7 +23184,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
23181
23184
|
"[class.hx-timeline-vertical]": "layout() === 'vertical'",
|
|
23182
23185
|
"[class.hx-timeline-horizontal]": "layout() === 'horizontal'"
|
|
23183
23186
|
},
|
|
23184
|
-
template: "<ol class=\"hx-timeline-events\">\n @for (event of value(); track $index; let i = $index; let last = $last) {\n <li class=\"hx-timeline-event\" [class.hx-timeline-event-reversed]=\"reversed(i)\">\n <div class=\"hx-timeline-event-opposite\">\n @if (opposite(); as opposite) {\n <ng-container
|
|
23187
|
+
template: "<ol class=\"hx-timeline-events\">\n @for (event of value(); track $index; let i = $index; let last = $last) {\n <li class=\"hx-timeline-event\" [class.hx-timeline-event-reversed]=\"reversed(i)\">\n <div class=\"hx-timeline-event-opposite\">\n @if (opposite(); as opposite) {\n <ng-container\n [ngTemplateOutlet]=\"opposite.template\"\n [ngTemplateOutletContext]=\"{ $implicit: event, index: i }\"\n />\n }\n </div>\n <div class=\"hx-timeline-event-separator\" aria-hidden=\"true\">\n @if (marker(); as marker) {\n <div class=\"hx-timeline-event-marker-custom\">\n <ng-container\n [ngTemplateOutlet]=\"marker.template\"\n [ngTemplateOutletContext]=\"{ $implicit: event, index: i }\"\n />\n </div>\n } @else {\n <div class=\"hx-timeline-event-marker\"></div>\n }\n @if (!last) {\n <div class=\"hx-timeline-event-connector\"></div>\n }\n </div>\n <div class=\"hx-timeline-event-content\">\n @if (content(); as content) {\n <ng-container\n [ngTemplateOutlet]=\"content.template\"\n [ngTemplateOutletContext]=\"{ $implicit: event, index: i }\"\n />\n }\n </div>\n </li>\n }\n</ol>\n"
|
|
23185
23188
|
}]
|
|
23186
23189
|
}],
|
|
23187
23190
|
propDecorators: {
|
|
@@ -23246,7 +23249,7 @@ var HxMessageService = class HxMessageService {
|
|
|
23246
23249
|
}
|
|
23247
23250
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23248
23251
|
minVersion: "12.0.0",
|
|
23249
|
-
version: "22.
|
|
23252
|
+
version: "22.3.0",
|
|
23250
23253
|
ngImport: i0,
|
|
23251
23254
|
type: HxMessageService,
|
|
23252
23255
|
deps: [],
|
|
@@ -23254,7 +23257,7 @@ var HxMessageService = class HxMessageService {
|
|
|
23254
23257
|
});
|
|
23255
23258
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
23256
23259
|
minVersion: "12.0.0",
|
|
23257
|
-
version: "22.
|
|
23260
|
+
version: "22.3.0",
|
|
23258
23261
|
ngImport: i0,
|
|
23259
23262
|
type: HxMessageService,
|
|
23260
23263
|
providedIn: "root"
|
|
@@ -23262,7 +23265,7 @@ var HxMessageService = class HxMessageService {
|
|
|
23262
23265
|
};
|
|
23263
23266
|
i0.ɵɵngDeclareClassMetadata({
|
|
23264
23267
|
minVersion: "12.0.0",
|
|
23265
|
-
version: "22.
|
|
23268
|
+
version: "22.3.0",
|
|
23266
23269
|
ngImport: i0,
|
|
23267
23270
|
type: HxMessageService,
|
|
23268
23271
|
decorators: [{
|
|
@@ -23316,7 +23319,7 @@ var HxToastItem = class HxToastItem {
|
|
|
23316
23319
|
}
|
|
23317
23320
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23318
23321
|
minVersion: "12.0.0",
|
|
23319
|
-
version: "22.
|
|
23322
|
+
version: "22.3.0",
|
|
23320
23323
|
ngImport: i0,
|
|
23321
23324
|
type: HxToastItem,
|
|
23322
23325
|
deps: [],
|
|
@@ -23324,7 +23327,7 @@ var HxToastItem = class HxToastItem {
|
|
|
23324
23327
|
});
|
|
23325
23328
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
23326
23329
|
minVersion: "17.0.0",
|
|
23327
|
-
version: "22.
|
|
23330
|
+
version: "22.3.0",
|
|
23328
23331
|
type: HxToastItem,
|
|
23329
23332
|
isStandalone: true,
|
|
23330
23333
|
selector: "hx-toast-item",
|
|
@@ -23362,7 +23365,7 @@ var HxToastItem = class HxToastItem {
|
|
|
23362
23365
|
};
|
|
23363
23366
|
i0.ɵɵngDeclareClassMetadata({
|
|
23364
23367
|
minVersion: "12.0.0",
|
|
23365
|
-
version: "22.
|
|
23368
|
+
version: "22.3.0",
|
|
23366
23369
|
ngImport: i0,
|
|
23367
23370
|
type: HxToastItem,
|
|
23368
23371
|
decorators: [{
|
|
@@ -23406,7 +23409,7 @@ var HxToast = class HxToast {
|
|
|
23406
23409
|
shown = computed(() => this.#service.messages().filter((m) => m.key === this.key()), ...ngDevMode ? [{ debugName: "shown" }] : /* istanbul ignore next */ []);
|
|
23407
23410
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23408
23411
|
minVersion: "12.0.0",
|
|
23409
|
-
version: "22.
|
|
23412
|
+
version: "22.3.0",
|
|
23410
23413
|
ngImport: i0,
|
|
23411
23414
|
type: HxToast,
|
|
23412
23415
|
deps: [],
|
|
@@ -23414,7 +23417,7 @@ var HxToast = class HxToast {
|
|
|
23414
23417
|
});
|
|
23415
23418
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
23416
23419
|
minVersion: "17.0.0",
|
|
23417
|
-
version: "22.
|
|
23420
|
+
version: "22.3.0",
|
|
23418
23421
|
type: HxToast,
|
|
23419
23422
|
isStandalone: true,
|
|
23420
23423
|
selector: "hx-toast",
|
|
@@ -23459,7 +23462,7 @@ var HxToast = class HxToast {
|
|
|
23459
23462
|
};
|
|
23460
23463
|
i0.ɵɵngDeclareClassMetadata({
|
|
23461
23464
|
minVersion: "12.0.0",
|
|
23462
|
-
version: "22.
|
|
23465
|
+
version: "22.3.0",
|
|
23463
23466
|
ngImport: i0,
|
|
23464
23467
|
type: HxToast,
|
|
23465
23468
|
decorators: [{
|
|
@@ -23552,7 +23555,7 @@ var HxToggleButton = class HxToggleButton {
|
|
|
23552
23555
|
}
|
|
23553
23556
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23554
23557
|
minVersion: "12.0.0",
|
|
23555
|
-
version: "22.
|
|
23558
|
+
version: "22.3.0",
|
|
23556
23559
|
ngImport: i0,
|
|
23557
23560
|
type: HxToggleButton,
|
|
23558
23561
|
deps: [],
|
|
@@ -23560,7 +23563,7 @@ var HxToggleButton = class HxToggleButton {
|
|
|
23560
23563
|
});
|
|
23561
23564
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
23562
23565
|
minVersion: "17.0.0",
|
|
23563
|
-
version: "22.
|
|
23566
|
+
version: "22.3.0",
|
|
23564
23567
|
type: HxToggleButton,
|
|
23565
23568
|
isStandalone: true,
|
|
23566
23569
|
selector: "hx-toggle-button",
|
|
@@ -23677,7 +23680,7 @@ var HxToggleButton = class HxToggleButton {
|
|
|
23677
23680
|
};
|
|
23678
23681
|
i0.ɵɵngDeclareClassMetadata({
|
|
23679
23682
|
minVersion: "12.0.0",
|
|
23680
|
-
version: "22.
|
|
23683
|
+
version: "22.3.0",
|
|
23681
23684
|
ngImport: i0,
|
|
23682
23685
|
type: HxToggleButton,
|
|
23683
23686
|
decorators: [{
|
|
@@ -23811,7 +23814,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
23811
23814
|
var HxToolbar = class HxToolbar {
|
|
23812
23815
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23813
23816
|
minVersion: "12.0.0",
|
|
23814
|
-
version: "22.
|
|
23817
|
+
version: "22.3.0",
|
|
23815
23818
|
ngImport: i0,
|
|
23816
23819
|
type: HxToolbar,
|
|
23817
23820
|
deps: [],
|
|
@@ -23819,7 +23822,7 @@ var HxToolbar = class HxToolbar {
|
|
|
23819
23822
|
});
|
|
23820
23823
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
23821
23824
|
minVersion: "14.0.0",
|
|
23822
|
-
version: "22.
|
|
23825
|
+
version: "22.3.0",
|
|
23823
23826
|
type: HxToolbar,
|
|
23824
23827
|
isStandalone: true,
|
|
23825
23828
|
selector: "hx-toolbar",
|
|
@@ -23831,7 +23834,7 @@ var HxToolbar = class HxToolbar {
|
|
|
23831
23834
|
};
|
|
23832
23835
|
i0.ɵɵngDeclareClassMetadata({
|
|
23833
23836
|
minVersion: "12.0.0",
|
|
23834
|
-
version: "22.
|
|
23837
|
+
version: "22.3.0",
|
|
23835
23838
|
ngImport: i0,
|
|
23836
23839
|
type: HxToolbar,
|
|
23837
23840
|
decorators: [{
|
|
@@ -23850,7 +23853,7 @@ var HxTooltipBubble = class HxTooltipBubble {
|
|
|
23850
23853
|
id = "";
|
|
23851
23854
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
23852
23855
|
minVersion: "12.0.0",
|
|
23853
|
-
version: "22.
|
|
23856
|
+
version: "22.3.0",
|
|
23854
23857
|
ngImport: i0,
|
|
23855
23858
|
type: HxTooltipBubble,
|
|
23856
23859
|
deps: [],
|
|
@@ -23858,7 +23861,7 @@ var HxTooltipBubble = class HxTooltipBubble {
|
|
|
23858
23861
|
});
|
|
23859
23862
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
23860
23863
|
minVersion: "17.0.0",
|
|
23861
|
-
version: "22.
|
|
23864
|
+
version: "22.3.0",
|
|
23862
23865
|
type: HxTooltipBubble,
|
|
23863
23866
|
isStandalone: true,
|
|
23864
23867
|
selector: "hx-tooltip-bubble",
|
|
@@ -23868,7 +23871,7 @@ var HxTooltipBubble = class HxTooltipBubble {
|
|
|
23868
23871
|
classAttribute: "hx-tooltip"
|
|
23869
23872
|
},
|
|
23870
23873
|
ngImport: i0,
|
|
23871
|
-
template: "{{ text() }}@if (shortcut().length) {<hx-kbd [keys]=\"shortcut()\" size=\"sm\"
|
|
23874
|
+
template: "{{ text() }}\n@if (shortcut().length) {\n <hx-kbd [keys]=\"shortcut()\" size=\"sm\" />\n}\n",
|
|
23872
23875
|
dependencies: [{
|
|
23873
23876
|
kind: "component",
|
|
23874
23877
|
type: HxKbd,
|
|
@@ -23884,7 +23887,7 @@ var HxTooltipBubble = class HxTooltipBubble {
|
|
|
23884
23887
|
};
|
|
23885
23888
|
i0.ɵɵngDeclareClassMetadata({
|
|
23886
23889
|
minVersion: "12.0.0",
|
|
23887
|
-
version: "22.
|
|
23890
|
+
version: "22.3.0",
|
|
23888
23891
|
ngImport: i0,
|
|
23889
23892
|
type: HxTooltipBubble,
|
|
23890
23893
|
decorators: [{
|
|
@@ -23898,7 +23901,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
23898
23901
|
role: "tooltip",
|
|
23899
23902
|
"[id]": "id"
|
|
23900
23903
|
},
|
|
23901
|
-
template: "{{ text() }}@if (shortcut().length) {<hx-kbd [keys]=\"shortcut()\" size=\"sm\"
|
|
23904
|
+
template: "{{ text() }}\n@if (shortcut().length) {\n <hx-kbd [keys]=\"shortcut()\" size=\"sm\" />\n}\n"
|
|
23902
23905
|
}]
|
|
23903
23906
|
}]
|
|
23904
23907
|
});
|
|
@@ -24039,7 +24042,7 @@ var HxTooltip = class HxTooltip {
|
|
|
24039
24042
|
}
|
|
24040
24043
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
24041
24044
|
minVersion: "12.0.0",
|
|
24042
|
-
version: "22.
|
|
24045
|
+
version: "22.3.0",
|
|
24043
24046
|
ngImport: i0,
|
|
24044
24047
|
type: HxTooltip,
|
|
24045
24048
|
deps: [],
|
|
@@ -24047,7 +24050,7 @@ var HxTooltip = class HxTooltip {
|
|
|
24047
24050
|
});
|
|
24048
24051
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
24049
24052
|
minVersion: "17.1.0",
|
|
24050
|
-
version: "22.
|
|
24053
|
+
version: "22.3.0",
|
|
24051
24054
|
type: HxTooltip,
|
|
24052
24055
|
isStandalone: true,
|
|
24053
24056
|
selector: "[hx-tooltip]",
|
|
@@ -24118,7 +24121,7 @@ var HxTooltip = class HxTooltip {
|
|
|
24118
24121
|
};
|
|
24119
24122
|
i0.ɵɵngDeclareClassMetadata({
|
|
24120
24123
|
minVersion: "12.0.0",
|
|
24121
|
-
version: "22.
|
|
24124
|
+
version: "22.3.0",
|
|
24122
24125
|
ngImport: i0,
|
|
24123
24126
|
type: HxTooltip,
|
|
24124
24127
|
decorators: [{
|
|
@@ -24200,7 +24203,7 @@ var HxTreeNodeTemplate = class HxTreeNodeTemplate {
|
|
|
24200
24203
|
template = inject(TemplateRef);
|
|
24201
24204
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
24202
24205
|
minVersion: "12.0.0",
|
|
24203
|
-
version: "22.
|
|
24206
|
+
version: "22.3.0",
|
|
24204
24207
|
ngImport: i0,
|
|
24205
24208
|
type: HxTreeNodeTemplate,
|
|
24206
24209
|
deps: [],
|
|
@@ -24208,7 +24211,7 @@ var HxTreeNodeTemplate = class HxTreeNodeTemplate {
|
|
|
24208
24211
|
});
|
|
24209
24212
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
24210
24213
|
minVersion: "14.0.0",
|
|
24211
|
-
version: "22.
|
|
24214
|
+
version: "22.3.0",
|
|
24212
24215
|
type: HxTreeNodeTemplate,
|
|
24213
24216
|
isStandalone: true,
|
|
24214
24217
|
selector: "ng-template[hxTreeNode]",
|
|
@@ -24217,7 +24220,7 @@ var HxTreeNodeTemplate = class HxTreeNodeTemplate {
|
|
|
24217
24220
|
};
|
|
24218
24221
|
i0.ɵɵngDeclareClassMetadata({
|
|
24219
24222
|
minVersion: "12.0.0",
|
|
24220
|
-
version: "22.
|
|
24223
|
+
version: "22.3.0",
|
|
24221
24224
|
ngImport: i0,
|
|
24222
24225
|
type: HxTreeNodeTemplate,
|
|
24223
24226
|
decorators: [{
|
|
@@ -24476,7 +24479,7 @@ var HxTree = class HxTree {
|
|
|
24476
24479
|
}
|
|
24477
24480
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
24478
24481
|
minVersion: "12.0.0",
|
|
24479
|
-
version: "22.
|
|
24482
|
+
version: "22.3.0",
|
|
24480
24483
|
ngImport: i0,
|
|
24481
24484
|
type: HxTree,
|
|
24482
24485
|
deps: [],
|
|
@@ -24484,7 +24487,7 @@ var HxTree = class HxTree {
|
|
|
24484
24487
|
});
|
|
24485
24488
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
24486
24489
|
minVersion: "17.0.0",
|
|
24487
|
-
version: "22.
|
|
24490
|
+
version: "22.3.0",
|
|
24488
24491
|
type: HxTree,
|
|
24489
24492
|
isStandalone: true,
|
|
24490
24493
|
selector: "hx-tree",
|
|
@@ -24567,7 +24570,7 @@ var HxTree = class HxTree {
|
|
|
24567
24570
|
isSignal: true
|
|
24568
24571
|
}],
|
|
24569
24572
|
ngImport: i0,
|
|
24570
|
-
template: "@if (filter()) {\n <input\n hx-input\n type=\"search\"\n class=\"hx-tree-filter\"\n [placeholder]=\"filterPlaceholder()\"\n [attr.aria-label]=\"filterLabel()\"\n [value]=\"query()\"\n (input)=\"query.set($any($event.target).value)\"\n />\n}\n<!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- composite widget: focus moves over its items (roving tabindex or aria-activedescendant) -->\n<ul\n class=\"hx-tree-list\"\n role=\"tree\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n (keydown)=\"onKeydown($event)\"\n (focusin)=\"onFocusIn($event)\"\n>\n <ng-container
|
|
24573
|
+
template: "@if (filter()) {\n <input\n hx-input\n type=\"search\"\n class=\"hx-tree-filter\"\n [placeholder]=\"filterPlaceholder()\"\n [attr.aria-label]=\"filterLabel()\"\n [value]=\"query()\"\n (input)=\"query.set($any($event.target).value)\"\n />\n}\n<!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- composite widget: focus moves over its items (roving tabindex or aria-activedescendant) -->\n<ul\n class=\"hx-tree-list\"\n role=\"tree\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n (keydown)=\"onKeydown($event)\"\n (focusin)=\"onFocusIn($event)\"\n>\n <ng-container\n [ngTemplateOutlet]=\"level\"\n [ngTemplateOutletContext]=\"{ $implicit: view(), depth: 1 }\"\n />\n</ul>\n@if (filtering() && view().length === 0) {\n <div class=\"hx-tree-empty\" role=\"status\">{{ emptyMessage() }}</div>\n}\n\n<ng-template #level let-items let-depth=\"depth\">\n @for (item of items; track item.node.key; let i = $index) {\n <li\n class=\"hx-tree-node\"\n role=\"treeitem\"\n [attr.data-key]=\"item.node.key\"\n [attr.aria-level]=\"depth\"\n [attr.aria-setsize]=\"items.length\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-expanded]=\"item.leaf ? null : isOpen(item)\"\n [attr.aria-selected]=\"mode() === 'single' || mode() === 'multiple' ? isSelected(item.node.key) : null\"\n [attr.aria-checked]=\"mode() === 'checkbox' ? checkState(item.node.key) : null\"\n [attr.aria-disabled]=\"item.node.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.node.key === tabKey() ? 0 : -1\"\n >\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -- the focusable treeitem around it handles the keys -->\n <div\n class=\"hx-tree-node-content\"\n [class.hx-tree-node-selected]=\"mode() !== 'checkbox' && isSelected(item.node.key)\"\n [class.hx-tree-node-disabled]=\"item.node.disabled\"\n (click)=\"onClick(item, $event)\"\n >\n <span\n class=\"hx-tree-node-toggle\"\n [class.hx-tree-node-toggle-leaf]=\"item.leaf\"\n aria-hidden=\"true\"\n (click)=\"onToggleClick(item, $event)\"\n >\n @if (item.node.loading) {\n <span class=\"hx-tree-loading-icon\"></span>\n } @else if (!item.leaf) {\n <span\n class=\"hx-tree-toggle-icon\"\n [class.hx-tree-toggle-icon-open]=\"isOpen(item)\"\n ></span>\n }\n </span>\n @if (mode() === 'checkbox') {\n <input\n hx-checkbox\n type=\"checkbox\"\n class=\"hx-tree-node-checkbox\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n [checked]=\"checkState(item.node.key) === 'true'\"\n [indeterminate]=\"checkState(item.node.key) === 'mixed'\"\n [disabled]=\"!!item.node.disabled\"\n />\n }\n @if (template(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: item.node, selected: isSelected(item.node.key), expanded: isOpen(item), level: depth }\"\n />\n } @else {\n @if (item.node.icon) {\n <span class=\"hx-tree-node-icon\" [class]=\"item.node.icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-tree-node-label\">{{ item.node.label }}</span>\n }\n </div>\n @if (!item.leaf && isOpen(item) && item.children.length) {\n <ul class=\"hx-tree-group\" role=\"group\">\n <ng-container\n [ngTemplateOutlet]=\"level\"\n [ngTemplateOutletContext]=\"{ $implicit: item.children, depth: depth + 1 }\"\n />\n </ul>\n }\n </li>\n }\n</ng-template>\n",
|
|
24571
24574
|
dependencies: [
|
|
24572
24575
|
{
|
|
24573
24576
|
kind: "directive",
|
|
@@ -24604,7 +24607,7 @@ var HxTree = class HxTree {
|
|
|
24604
24607
|
};
|
|
24605
24608
|
i0.ɵɵngDeclareClassMetadata({
|
|
24606
24609
|
minVersion: "12.0.0",
|
|
24607
|
-
version: "22.
|
|
24610
|
+
version: "22.3.0",
|
|
24608
24611
|
ngImport: i0,
|
|
24609
24612
|
type: HxTree,
|
|
24610
24613
|
decorators: [{
|
|
@@ -24618,7 +24621,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
24618
24621
|
],
|
|
24619
24622
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24620
24623
|
host: { class: "hx-tree" },
|
|
24621
|
-
template: "@if (filter()) {\n <input\n hx-input\n type=\"search\"\n class=\"hx-tree-filter\"\n [placeholder]=\"filterPlaceholder()\"\n [attr.aria-label]=\"filterLabel()\"\n [value]=\"query()\"\n (input)=\"query.set($any($event.target).value)\"\n />\n}\n<!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- composite widget: focus moves over its items (roving tabindex or aria-activedescendant) -->\n<ul\n class=\"hx-tree-list\"\n role=\"tree\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n (keydown)=\"onKeydown($event)\"\n (focusin)=\"onFocusIn($event)\"\n>\n <ng-container
|
|
24624
|
+
template: "@if (filter()) {\n <input\n hx-input\n type=\"search\"\n class=\"hx-tree-filter\"\n [placeholder]=\"filterPlaceholder()\"\n [attr.aria-label]=\"filterLabel()\"\n [value]=\"query()\"\n (input)=\"query.set($any($event.target).value)\"\n />\n}\n<!-- eslint-disable-next-line @angular-eslint/template/interactive-supports-focus -- composite widget: focus moves over its items (roving tabindex or aria-activedescendant) -->\n<ul\n class=\"hx-tree-list\"\n role=\"tree\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-multiselectable]=\"multiple() ? 'true' : null\"\n (keydown)=\"onKeydown($event)\"\n (focusin)=\"onFocusIn($event)\"\n>\n <ng-container\n [ngTemplateOutlet]=\"level\"\n [ngTemplateOutletContext]=\"{ $implicit: view(), depth: 1 }\"\n />\n</ul>\n@if (filtering() && view().length === 0) {\n <div class=\"hx-tree-empty\" role=\"status\">{{ emptyMessage() }}</div>\n}\n\n<ng-template #level let-items let-depth=\"depth\">\n @for (item of items; track item.node.key; let i = $index) {\n <li\n class=\"hx-tree-node\"\n role=\"treeitem\"\n [attr.data-key]=\"item.node.key\"\n [attr.aria-level]=\"depth\"\n [attr.aria-setsize]=\"items.length\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-expanded]=\"item.leaf ? null : isOpen(item)\"\n [attr.aria-selected]=\"mode() === 'single' || mode() === 'multiple' ? isSelected(item.node.key) : null\"\n [attr.aria-checked]=\"mode() === 'checkbox' ? checkState(item.node.key) : null\"\n [attr.aria-disabled]=\"item.node.disabled ? 'true' : null\"\n [attr.tabindex]=\"item.node.key === tabKey() ? 0 : -1\"\n >\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -- the focusable treeitem around it handles the keys -->\n <div\n class=\"hx-tree-node-content\"\n [class.hx-tree-node-selected]=\"mode() !== 'checkbox' && isSelected(item.node.key)\"\n [class.hx-tree-node-disabled]=\"item.node.disabled\"\n (click)=\"onClick(item, $event)\"\n >\n <span\n class=\"hx-tree-node-toggle\"\n [class.hx-tree-node-toggle-leaf]=\"item.leaf\"\n aria-hidden=\"true\"\n (click)=\"onToggleClick(item, $event)\"\n >\n @if (item.node.loading) {\n <span class=\"hx-tree-loading-icon\"></span>\n } @else if (!item.leaf) {\n <span\n class=\"hx-tree-toggle-icon\"\n [class.hx-tree-toggle-icon-open]=\"isOpen(item)\"\n ></span>\n }\n </span>\n @if (mode() === 'checkbox') {\n <input\n hx-checkbox\n type=\"checkbox\"\n class=\"hx-tree-node-checkbox\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n [checked]=\"checkState(item.node.key) === 'true'\"\n [indeterminate]=\"checkState(item.node.key) === 'mixed'\"\n [disabled]=\"!!item.node.disabled\"\n />\n }\n @if (template(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: item.node, selected: isSelected(item.node.key), expanded: isOpen(item), level: depth }\"\n />\n } @else {\n @if (item.node.icon) {\n <span class=\"hx-tree-node-icon\" [class]=\"item.node.icon\" aria-hidden=\"true\"></span>\n }\n <span class=\"hx-tree-node-label\">{{ item.node.label }}</span>\n }\n </div>\n @if (!item.leaf && isOpen(item) && item.children.length) {\n <ul class=\"hx-tree-group\" role=\"group\">\n <ng-container\n [ngTemplateOutlet]=\"level\"\n [ngTemplateOutletContext]=\"{ $implicit: item.children, depth: depth + 1 }\"\n />\n </ul>\n }\n </li>\n }\n</ng-template>\n"
|
|
24622
24625
|
}]
|
|
24623
24626
|
}],
|
|
24624
24627
|
ctorParameters: () => [],
|