ux4g-components-angular 1.4.0 → 1.5.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/README.md +330 -48
- package/dist/accessibility-bar/README.md +330 -48
- package/dist/accordion/README.md +330 -48
- package/dist/alert/README.md +330 -48
- package/dist/avatar/README.md +330 -48
- package/dist/badge/README.md +330 -48
- package/dist/breadcrumb/README.md +330 -48
- package/dist/button/README.md +330 -48
- package/dist/card/README.md +330 -48
- package/dist/carousel/README.md +330 -48
- package/dist/checkbox/README.md +330 -48
- package/dist/chip/README.md +330 -48
- package/dist/chip-group/README.md +330 -48
- package/dist/combobox/README.md +330 -48
- package/dist/date-time-picker/README.md +330 -48
- package/dist/divider/README.md +330 -48
- package/dist/draft-status-banner/README.md +330 -48
- package/dist/drawer/README.md +330 -48
- package/dist/dropdown/README.md +330 -48
- package/dist/empty-state/README.md +330 -48
- package/dist/feedback/README.md +330 -48
- package/dist/file-upload/README.md +330 -48
- package/dist/footer/README.md +330 -48
- package/dist/form-field-group/README.md +330 -48
- package/dist/icon-button/README.md +330 -48
- package/dist/image/README.md +330 -48
- package/dist/input/README.md +330 -48
- package/dist/journey-timeline/README.md +330 -48
- package/dist/link/README.md +330 -48
- package/dist/list/README.md +330 -48
- package/dist/mega-menu/README.md +330 -48
- package/dist/modal/README.md +330 -48
- package/dist/native/accordion/README.md +1541 -0
- package/dist/native/accordion/fesm2022/ux4g-components-angular-native-accordion.mjs +85 -0
- package/dist/native/accordion/fesm2022/ux4g-components-angular-native-accordion.mjs.map +1 -0
- package/dist/native/accordion/index.d.ts +6 -0
- package/dist/native/accordion/public-api.d.ts +3 -0
- package/dist/native/accordion/public-api.d.ts.map +1 -0
- package/dist/native/accordion/ux4g-components-angular-native-accordion.d.ts.map +1 -0
- package/dist/native/accordion/ux4g-native-accordion.component.d.ts +31 -0
- package/dist/native/accordion/ux4g-native-accordion.component.d.ts.map +1 -0
- package/dist/native/accordion/ux4g-native-accordion.module.d.ts +12 -0
- package/dist/native/accordion/ux4g-native-accordion.module.d.ts.map +1 -0
- package/dist/native/avatar/README.md +1541 -0
- package/dist/native/avatar/fesm2022/ux4g-components-angular-native-avatar.mjs +81 -0
- package/dist/native/avatar/fesm2022/ux4g-components-angular-native-avatar.mjs.map +1 -0
- package/dist/native/avatar/index.d.ts +6 -0
- package/dist/native/avatar/public-api.d.ts +3 -0
- package/dist/native/avatar/public-api.d.ts.map +1 -0
- package/dist/native/avatar/ux4g-components-angular-native-avatar.d.ts.map +1 -0
- package/dist/native/avatar/ux4g-native-avatar.component.d.ts +34 -0
- package/dist/native/avatar/ux4g-native-avatar.component.d.ts.map +1 -0
- package/dist/native/avatar/ux4g-native-avatar.module.d.ts +8 -0
- package/dist/native/avatar/ux4g-native-avatar.module.d.ts.map +1 -0
- package/dist/native/carousel/README.md +1541 -0
- package/dist/native/carousel/fesm2022/ux4g-components-angular-native-carousel.mjs +91 -0
- package/dist/native/carousel/fesm2022/ux4g-components-angular-native-carousel.mjs.map +1 -0
- package/dist/native/carousel/index.d.ts +6 -0
- package/dist/native/carousel/public-api.d.ts +3 -0
- package/dist/native/carousel/public-api.d.ts.map +1 -0
- package/dist/native/carousel/ux4g-components-angular-native-carousel.d.ts.map +1 -0
- package/dist/native/carousel/ux4g-native-carousel.component.d.ts +34 -0
- package/dist/native/carousel/ux4g-native-carousel.component.d.ts.map +1 -0
- package/dist/native/carousel/ux4g-native-carousel.module.d.ts +8 -0
- package/dist/native/carousel/ux4g-native-carousel.module.d.ts.map +1 -0
- package/dist/native/chip/README.md +1541 -0
- package/dist/native/chip/fesm2022/ux4g-components-angular-native-chip.mjs +99 -0
- package/dist/native/chip/fesm2022/ux4g-components-angular-native-chip.mjs.map +1 -0
- package/dist/native/chip/index.d.ts +6 -0
- package/dist/native/chip/public-api.d.ts +3 -0
- package/dist/native/chip/public-api.d.ts.map +1 -0
- package/dist/native/chip/ux4g-components-angular-native-chip.d.ts.map +1 -0
- package/dist/native/chip/ux4g-native-chip.component.d.ts +34 -0
- package/dist/native/chip/ux4g-native-chip.component.d.ts.map +1 -0
- package/dist/native/chip/ux4g-native-chip.module.d.ts +8 -0
- package/dist/native/chip/ux4g-native-chip.module.d.ts.map +1 -0
- package/dist/native/combobox/README.md +1541 -0
- package/dist/native/combobox/fesm2022/ux4g-components-angular-native-combobox.mjs +107 -0
- package/dist/native/combobox/fesm2022/ux4g-components-angular-native-combobox.mjs.map +1 -0
- package/dist/native/combobox/index.d.ts +6 -0
- package/dist/native/combobox/public-api.d.ts +3 -0
- package/dist/native/combobox/public-api.d.ts.map +1 -0
- package/dist/native/combobox/ux4g-components-angular-native-combobox.d.ts.map +1 -0
- package/dist/native/combobox/ux4g-native-combobox.component.d.ts +30 -0
- package/dist/native/combobox/ux4g-native-combobox.component.d.ts.map +1 -0
- package/dist/native/combobox/ux4g-native-combobox.module.d.ts +8 -0
- package/dist/native/combobox/ux4g-native-combobox.module.d.ts.map +1 -0
- package/dist/native/date-picker/README.md +1541 -0
- package/dist/native/date-picker/fesm2022/ux4g-components-angular-native-date-picker.mjs +181 -0
- package/dist/native/date-picker/fesm2022/ux4g-components-angular-native-date-picker.mjs.map +1 -0
- package/dist/native/date-picker/index.d.ts +6 -0
- package/dist/native/date-picker/public-api.d.ts +3 -0
- package/dist/native/date-picker/public-api.d.ts.map +1 -0
- package/dist/native/date-picker/ux4g-components-angular-native-date-picker.d.ts.map +1 -0
- package/dist/native/date-picker/ux4g-native-date-picker.component.d.ts +39 -0
- package/dist/native/date-picker/ux4g-native-date-picker.component.d.ts.map +1 -0
- package/dist/native/date-picker/ux4g-native-date-picker.module.d.ts +12 -0
- package/dist/native/date-picker/ux4g-native-date-picker.module.d.ts.map +1 -0
- package/dist/native/drawer/README.md +1541 -0
- package/dist/native/drawer/fesm2022/ux4g-components-angular-native-drawer.mjs +159 -0
- package/dist/native/drawer/fesm2022/ux4g-components-angular-native-drawer.mjs.map +1 -0
- package/dist/native/drawer/index.d.ts +6 -0
- package/dist/native/drawer/public-api.d.ts +3 -0
- package/dist/native/drawer/public-api.d.ts.map +1 -0
- package/dist/native/drawer/ux4g-components-angular-native-drawer.d.ts.map +1 -0
- package/dist/native/drawer/ux4g-native-drawer.component.d.ts +37 -0
- package/dist/native/drawer/ux4g-native-drawer.component.d.ts.map +1 -0
- package/dist/native/drawer/ux4g-native-drawer.module.d.ts +12 -0
- package/dist/native/drawer/ux4g-native-drawer.module.d.ts.map +1 -0
- package/dist/native/dropdown/README.md +1541 -0
- package/dist/native/dropdown/fesm2022/ux4g-components-angular-native-dropdown.mjs +108 -0
- package/dist/native/dropdown/fesm2022/ux4g-components-angular-native-dropdown.mjs.map +1 -0
- package/dist/native/dropdown/index.d.ts +6 -0
- package/dist/native/dropdown/public-api.d.ts +3 -0
- package/dist/native/dropdown/public-api.d.ts.map +1 -0
- package/dist/native/dropdown/ux4g-components-angular-native-dropdown.d.ts.map +1 -0
- package/dist/native/dropdown/ux4g-native-dropdown.component.d.ts +32 -0
- package/dist/native/dropdown/ux4g-native-dropdown.component.d.ts.map +1 -0
- package/dist/native/dropdown/ux4g-native-dropdown.module.d.ts +8 -0
- package/dist/native/dropdown/ux4g-native-dropdown.module.d.ts.map +1 -0
- package/dist/native/file-upload/README.md +1541 -0
- package/dist/native/file-upload/fesm2022/ux4g-components-angular-native-file-upload.mjs +193 -0
- package/dist/native/file-upload/fesm2022/ux4g-components-angular-native-file-upload.mjs.map +1 -0
- package/dist/native/file-upload/index.d.ts +6 -0
- package/dist/native/file-upload/public-api.d.ts +3 -0
- package/dist/native/file-upload/public-api.d.ts.map +1 -0
- package/dist/native/file-upload/ux4g-components-angular-native-file-upload.d.ts.map +1 -0
- package/dist/native/file-upload/ux4g-native-file-upload.component.d.ts +40 -0
- package/dist/native/file-upload/ux4g-native-file-upload.component.d.ts.map +1 -0
- package/dist/native/file-upload/ux4g-native-file-upload.module.d.ts +8 -0
- package/dist/native/file-upload/ux4g-native-file-upload.module.d.ts.map +1 -0
- package/dist/native/modal/README.md +1541 -0
- package/dist/native/modal/fesm2022/ux4g-components-angular-native-modal.mjs +219 -0
- package/dist/native/modal/fesm2022/ux4g-components-angular-native-modal.mjs.map +1 -0
- package/dist/native/modal/index.d.ts +6 -0
- package/dist/native/modal/public-api.d.ts +3 -0
- package/dist/native/modal/public-api.d.ts.map +1 -0
- package/dist/native/modal/ux4g-components-angular-native-modal.d.ts.map +1 -0
- package/dist/native/modal/ux4g-native-modal.component.d.ts +42 -0
- package/dist/native/modal/ux4g-native-modal.component.d.ts.map +1 -0
- package/dist/native/modal/ux4g-native-modal.module.d.ts +12 -0
- package/dist/native/modal/ux4g-native-modal.module.d.ts.map +1 -0
- package/dist/native/otp/README.md +1541 -0
- package/dist/native/otp/fesm2022/ux4g-components-angular-native-otp.mjs +176 -0
- package/dist/native/otp/fesm2022/ux4g-components-angular-native-otp.mjs.map +1 -0
- package/dist/native/otp/index.d.ts +6 -0
- package/dist/native/otp/public-api.d.ts +3 -0
- package/dist/native/otp/public-api.d.ts.map +1 -0
- package/dist/native/otp/ux4g-components-angular-native-otp.d.ts.map +1 -0
- package/dist/native/otp/ux4g-native-otp.component.d.ts +32 -0
- package/dist/native/otp/ux4g-native-otp.component.d.ts.map +1 -0
- package/dist/native/otp/ux4g-native-otp.module.d.ts +8 -0
- package/dist/native/otp/ux4g-native-otp.module.d.ts.map +1 -0
- package/dist/native/popover/README.md +1541 -0
- package/dist/native/popover/fesm2022/ux4g-components-angular-native-popover.mjs +75 -0
- package/dist/native/popover/fesm2022/ux4g-components-angular-native-popover.mjs.map +1 -0
- package/dist/native/popover/index.d.ts +6 -0
- package/dist/native/popover/public-api.d.ts +3 -0
- package/dist/native/popover/public-api.d.ts.map +1 -0
- package/dist/native/popover/ux4g-components-angular-native-popover.d.ts.map +1 -0
- package/dist/native/popover/ux4g-native-popover.component.d.ts +29 -0
- package/dist/native/popover/ux4g-native-popover.component.d.ts.map +1 -0
- package/dist/native/popover/ux4g-native-popover.module.d.ts +8 -0
- package/dist/native/popover/ux4g-native-popover.module.d.ts.map +1 -0
- package/dist/native/progress/README.md +1541 -0
- package/dist/native/progress/fesm2022/ux4g-components-angular-native-progress.mjs +79 -0
- package/dist/native/progress/fesm2022/ux4g-components-angular-native-progress.mjs.map +1 -0
- package/dist/native/progress/index.d.ts +6 -0
- package/dist/native/progress/public-api.d.ts +3 -0
- package/dist/native/progress/public-api.d.ts.map +1 -0
- package/dist/native/progress/ux4g-components-angular-native-progress.d.ts.map +1 -0
- package/dist/native/progress/ux4g-native-progress.component.d.ts +29 -0
- package/dist/native/progress/ux4g-native-progress.component.d.ts.map +1 -0
- package/dist/native/progress/ux4g-native-progress.module.d.ts +8 -0
- package/dist/native/progress/ux4g-native-progress.module.d.ts.map +1 -0
- package/dist/native/search/README.md +1541 -0
- package/dist/native/search/fesm2022/ux4g-components-angular-native-search.mjs +148 -0
- package/dist/native/search/fesm2022/ux4g-components-angular-native-search.mjs.map +1 -0
- package/dist/native/search/index.d.ts +6 -0
- package/dist/native/search/public-api.d.ts +3 -0
- package/dist/native/search/public-api.d.ts.map +1 -0
- package/dist/native/search/ux4g-components-angular-native-search.d.ts.map +1 -0
- package/dist/native/search/ux4g-native-search.component.d.ts +46 -0
- package/dist/native/search/ux4g-native-search.component.d.ts.map +1 -0
- package/dist/native/search/ux4g-native-search.module.d.ts +8 -0
- package/dist/native/search/ux4g-native-search.module.d.ts.map +1 -0
- package/dist/native/shared/README.md +1541 -0
- package/dist/native/shared/base-native.component.d.ts +38 -0
- package/dist/native/shared/base-native.component.d.ts.map +1 -0
- package/dist/native/shared/fesm2022/ux4g-components-angular-native-shared.mjs +113 -0
- package/dist/native/shared/fesm2022/ux4g-components-angular-native-shared.mjs.map +1 -0
- package/dist/native/shared/index.d.ts +6 -0
- package/dist/native/shared/public-api.d.ts +3 -0
- package/dist/native/shared/public-api.d.ts.map +1 -0
- package/dist/native/shared/render-descriptor.d.ts +8 -0
- package/dist/native/shared/render-descriptor.d.ts.map +1 -0
- package/dist/native/shared/ux4g-components-angular-native-shared.d.ts.map +1 -0
- package/dist/native/stepper/README.md +1541 -0
- package/dist/native/stepper/fesm2022/ux4g-components-angular-native-stepper.mjs +92 -0
- package/dist/native/stepper/fesm2022/ux4g-components-angular-native-stepper.mjs.map +1 -0
- package/dist/native/stepper/index.d.ts +6 -0
- package/dist/native/stepper/public-api.d.ts +3 -0
- package/dist/native/stepper/public-api.d.ts.map +1 -0
- package/dist/native/stepper/ux4g-components-angular-native-stepper.d.ts.map +1 -0
- package/dist/native/stepper/ux4g-native-stepper.component.d.ts +35 -0
- package/dist/native/stepper/ux4g-native-stepper.component.d.ts.map +1 -0
- package/dist/native/stepper/ux4g-native-stepper.module.d.ts +8 -0
- package/dist/native/stepper/ux4g-native-stepper.module.d.ts.map +1 -0
- package/dist/native/table/README.md +1541 -0
- package/dist/native/table/fesm2022/ux4g-components-angular-native-table.mjs +91 -0
- package/dist/native/table/fesm2022/ux4g-components-angular-native-table.mjs.map +1 -0
- package/dist/native/table/index.d.ts +6 -0
- package/dist/native/table/public-api.d.ts +3 -0
- package/dist/native/table/public-api.d.ts.map +1 -0
- package/dist/native/table/ux4g-components-angular-native-table.d.ts.map +1 -0
- package/dist/native/table/ux4g-native-table.component.d.ts +32 -0
- package/dist/native/table/ux4g-native-table.component.d.ts.map +1 -0
- package/dist/native/table/ux4g-native-table.module.d.ts +12 -0
- package/dist/native/table/ux4g-native-table.module.d.ts.map +1 -0
- package/dist/native/tabs/README.md +1541 -0
- package/dist/native/tabs/fesm2022/ux4g-components-angular-native-tabs.mjs +190 -0
- package/dist/native/tabs/fesm2022/ux4g-components-angular-native-tabs.mjs.map +1 -0
- package/dist/native/tabs/index.d.ts +6 -0
- package/dist/native/tabs/public-api.d.ts +3 -0
- package/dist/native/tabs/public-api.d.ts.map +1 -0
- package/dist/native/tabs/ux4g-components-angular-native-tabs.d.ts.map +1 -0
- package/dist/native/tabs/ux4g-native-tabs.component.d.ts +43 -0
- package/dist/native/tabs/ux4g-native-tabs.component.d.ts.map +1 -0
- package/dist/native/tabs/ux4g-native-tabs.module.d.ts +12 -0
- package/dist/native/tabs/ux4g-native-tabs.module.d.ts.map +1 -0
- package/dist/native/time-picker/README.md +1541 -0
- package/dist/native/time-picker/fesm2022/ux4g-components-angular-native-time-picker.mjs +104 -0
- package/dist/native/time-picker/fesm2022/ux4g-components-angular-native-time-picker.mjs.map +1 -0
- package/dist/native/time-picker/index.d.ts +6 -0
- package/dist/native/time-picker/public-api.d.ts +3 -0
- package/dist/native/time-picker/public-api.d.ts.map +1 -0
- package/dist/native/time-picker/ux4g-components-angular-native-time-picker.d.ts.map +1 -0
- package/dist/native/time-picker/ux4g-native-time-picker.component.d.ts +27 -0
- package/dist/native/time-picker/ux4g-native-time-picker.component.d.ts.map +1 -0
- package/dist/native/time-picker/ux4g-native-time-picker.module.d.ts +8 -0
- package/dist/native/time-picker/ux4g-native-time-picker.module.d.ts.map +1 -0
- package/dist/native/tooltip/README.md +1541 -0
- package/dist/native/tooltip/fesm2022/ux4g-components-angular-native-tooltip.mjs +80 -0
- package/dist/native/tooltip/fesm2022/ux4g-components-angular-native-tooltip.mjs.map +1 -0
- package/dist/native/tooltip/index.d.ts +6 -0
- package/dist/native/tooltip/public-api.d.ts +3 -0
- package/dist/native/tooltip/public-api.d.ts.map +1 -0
- package/dist/native/tooltip/ux4g-components-angular-native-tooltip.d.ts.map +1 -0
- package/dist/native/tooltip/ux4g-native-tooltip.component.d.ts +31 -0
- package/dist/native/tooltip/ux4g-native-tooltip.component.d.ts.map +1 -0
- package/dist/native/tooltip/ux4g-native-tooltip.module.d.ts +8 -0
- package/dist/native/tooltip/ux4g-native-tooltip.module.d.ts.map +1 -0
- package/dist/navbar/README.md +330 -48
- package/dist/otp-input/README.md +330 -48
- package/dist/pagination/README.md +330 -48
- package/dist/popover/README.md +330 -48
- package/dist/progress-indicator/README.md +330 -48
- package/dist/radio/README.md +330 -48
- package/dist/result-list-row/README.md +330 -48
- package/dist/search/README.md +330 -48
- package/dist/sla-progress-indicator/README.md +330 -48
- package/dist/slider/README.md +330 -48
- package/dist/slot-grid/README.md +330 -48
- package/dist/social-links/README.md +330 -48
- package/dist/spinner/README.md +330 -48
- package/dist/status-pipeline/README.md +330 -48
- package/dist/stepper/README.md +330 -48
- package/dist/switch/README.md +330 -48
- package/dist/tab/README.md +330 -48
- package/dist/table/README.md +330 -48
- package/dist/tag/README.md +330 -48
- package/dist/tooltip/README.md +330 -48
- package/package.json +176 -3
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, inject, NgZone, Output, Input, ViewEncapsulation, Component, NgModule } from '@angular/core';
|
|
3
|
+
import { generateDrawerDOM } from 'ux4g-components-web/dom-generators';
|
|
4
|
+
import { BaseNativeComponent, renderDescriptorToDOM } from '@ux4g-native-shared';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* UX4GNativeDrawerComponent — Angular Native Wrapper for the UX4G Drawer component.
|
|
8
|
+
*
|
|
9
|
+
* Generates the complete drawer DOM structure via generateDrawerDOM(),
|
|
10
|
+
* including backdrop, drawer panel with role="dialog" and aria-modal="true",
|
|
11
|
+
* close button with data-ux4g-drawer-close, and an optional title heading.
|
|
12
|
+
*
|
|
13
|
+
* Usage:
|
|
14
|
+
* ```html
|
|
15
|
+
* <ux4g-native-drawer [open]="isOpen" [placement]="'right'" [title]="'Menu'" (closeEvent)="onClose()">
|
|
16
|
+
* </ux4g-native-drawer>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
class UX4GNativeDrawerComponent extends BaseNativeComponent {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments);
|
|
22
|
+
this.open = false;
|
|
23
|
+
this.placement = 'right';
|
|
24
|
+
this.closable = true;
|
|
25
|
+
this.closeEvent = new EventEmitter();
|
|
26
|
+
this.ngZone = inject(NgZone);
|
|
27
|
+
this.clickHandler = null;
|
|
28
|
+
this.keydownHandler = null;
|
|
29
|
+
}
|
|
30
|
+
ngAfterViewInit() {
|
|
31
|
+
if (this.open) {
|
|
32
|
+
this.renderComponent();
|
|
33
|
+
this.attachListeners();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
ngOnChanges(changes) {
|
|
37
|
+
if (changes['open']) {
|
|
38
|
+
if (this.open) {
|
|
39
|
+
this.renderComponent();
|
|
40
|
+
this.attachListeners();
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
this.detachListeners();
|
|
44
|
+
this.clearHost();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
else if (this.open) {
|
|
48
|
+
// Other inputs changed while open — re-render
|
|
49
|
+
this.renderComponent();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
renderComponent() {
|
|
53
|
+
this.clearHost();
|
|
54
|
+
if (!this.open)
|
|
55
|
+
return;
|
|
56
|
+
const hostEl = this.elementRef.nativeElement;
|
|
57
|
+
const props = {
|
|
58
|
+
open: this.open,
|
|
59
|
+
placement: this.placement,
|
|
60
|
+
title: this.title,
|
|
61
|
+
closable: this.closable,
|
|
62
|
+
};
|
|
63
|
+
const descriptor = generateDrawerDOM(props);
|
|
64
|
+
// Render the descriptor tree into the host element
|
|
65
|
+
renderDescriptorToDOM(this.renderer, descriptor, hostEl);
|
|
66
|
+
}
|
|
67
|
+
ngOnDestroy() {
|
|
68
|
+
this.detachListeners();
|
|
69
|
+
super.ngOnDestroy();
|
|
70
|
+
}
|
|
71
|
+
clearHost() {
|
|
72
|
+
const hostEl = this.elementRef.nativeElement;
|
|
73
|
+
while (hostEl.firstChild) {
|
|
74
|
+
this.renderer.removeChild(hostEl, hostEl.firstChild);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
attachListeners() {
|
|
78
|
+
// Click handler for close button and backdrop clicks
|
|
79
|
+
this.clickHandler = (e) => {
|
|
80
|
+
const target = e.target;
|
|
81
|
+
// Close button click (data-ux4g-drawer-close attribute)
|
|
82
|
+
if (target.hasAttribute('data-ux4g-drawer-close')) {
|
|
83
|
+
this.ngZone.run(() => this.closeEvent.emit());
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
// Backdrop click
|
|
87
|
+
if (target.classList.contains('ux4g-drawer-backdrop')) {
|
|
88
|
+
this.ngZone.run(() => this.closeEvent.emit());
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
// Keyboard handler for Escape key
|
|
92
|
+
this.keydownHandler = (e) => {
|
|
93
|
+
if (e.key === 'Escape' && this.closable) {
|
|
94
|
+
this.ngZone.run(() => this.closeEvent.emit());
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
if (typeof document !== 'undefined') {
|
|
98
|
+
this.elementRef.nativeElement.addEventListener('click', this.clickHandler);
|
|
99
|
+
document.addEventListener('keydown', this.keydownHandler);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
detachListeners() {
|
|
103
|
+
if (typeof document !== 'undefined') {
|
|
104
|
+
if (this.clickHandler) {
|
|
105
|
+
this.elementRef.nativeElement.removeEventListener('click', this.clickHandler);
|
|
106
|
+
this.clickHandler = null;
|
|
107
|
+
}
|
|
108
|
+
if (this.keydownHandler) {
|
|
109
|
+
document.removeEventListener('keydown', this.keydownHandler);
|
|
110
|
+
this.keydownHandler = null;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UX4GNativeDrawerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
115
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: UX4GNativeDrawerComponent, isStandalone: true, selector: "ux4g-native-drawer", inputs: { open: "open", placement: "placement", title: "title", closable: "closable" }, outputs: { closeEvent: "closeEvent" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: ``, isInline: true, encapsulation: i0.ViewEncapsulation.None }); }
|
|
116
|
+
}
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UX4GNativeDrawerComponent, decorators: [{
|
|
118
|
+
type: Component,
|
|
119
|
+
args: [{
|
|
120
|
+
selector: 'ux4g-native-drawer',
|
|
121
|
+
standalone: true,
|
|
122
|
+
template: ``,
|
|
123
|
+
encapsulation: ViewEncapsulation.None,
|
|
124
|
+
}]
|
|
125
|
+
}], propDecorators: { open: [{
|
|
126
|
+
type: Input
|
|
127
|
+
}], placement: [{
|
|
128
|
+
type: Input
|
|
129
|
+
}], title: [{
|
|
130
|
+
type: Input
|
|
131
|
+
}], closable: [{
|
|
132
|
+
type: Input
|
|
133
|
+
}], closeEvent: [{
|
|
134
|
+
type: Output
|
|
135
|
+
}] } });
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* NgModule for backward compatibility with module-based Angular applications.
|
|
139
|
+
* For standalone components (Angular 17+), import UX4GNativeDrawerComponent directly.
|
|
140
|
+
*/
|
|
141
|
+
class UX4GNativeDrawerModule {
|
|
142
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UX4GNativeDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
143
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: UX4GNativeDrawerModule, imports: [UX4GNativeDrawerComponent], exports: [UX4GNativeDrawerComponent] }); }
|
|
144
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UX4GNativeDrawerModule }); }
|
|
145
|
+
}
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UX4GNativeDrawerModule, decorators: [{
|
|
147
|
+
type: NgModule,
|
|
148
|
+
args: [{
|
|
149
|
+
imports: [UX4GNativeDrawerComponent],
|
|
150
|
+
exports: [UX4GNativeDrawerComponent],
|
|
151
|
+
}]
|
|
152
|
+
}] });
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Generated bundle index. Do not edit.
|
|
156
|
+
*/
|
|
157
|
+
|
|
158
|
+
export { UX4GNativeDrawerComponent, UX4GNativeDrawerModule };
|
|
159
|
+
//# sourceMappingURL=ux4g-components-angular-native-drawer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ux4g-components-angular-native-drawer.mjs","sources":["../../../../src/native/drawer/ux4g-native-drawer.component.ts","../../../../src/native/drawer/ux4g-native-drawer.module.ts","../../../../src/native/drawer/ux4g-components-angular-native-drawer.ts"],"sourcesContent":["import {\r\n Component,\r\n Input,\r\n Output,\r\n EventEmitter,\r\n ViewEncapsulation,\r\n OnChanges,\r\n OnDestroy,\r\n AfterViewInit,\r\n SimpleChanges,\r\n NgZone,\r\n inject,\r\n} from '@angular/core';\r\nimport { generateDrawerDOM, DrawerGeneratorProps } from 'ux4g-components-web/dom-generators';\r\nimport { DrawerPlacement } from 'ux4g-components-web/types';\r\nimport { BaseNativeComponent, renderDescriptorToDOM } from '@ux4g-native-shared';\r\n\r\n/**\r\n * UX4GNativeDrawerComponent — Angular Native Wrapper for the UX4G Drawer component.\r\n *\r\n * Generates the complete drawer DOM structure via generateDrawerDOM(),\r\n * including backdrop, drawer panel with role=\"dialog\" and aria-modal=\"true\",\r\n * close button with data-ux4g-drawer-close, and an optional title heading.\r\n *\r\n * Usage:\r\n * ```html\r\n * <ux4g-native-drawer [open]=\"isOpen\" [placement]=\"'right'\" [title]=\"'Menu'\" (closeEvent)=\"onClose()\">\r\n * </ux4g-native-drawer>\r\n * ```\r\n */\r\n@Component({\r\n selector: 'ux4g-native-drawer',\r\n standalone: true,\r\n template: ``,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class UX4GNativeDrawerComponent\r\n extends BaseNativeComponent\r\n implements OnChanges, OnDestroy, AfterViewInit\r\n{\r\n @Input() open: boolean = false;\r\n @Input() placement: DrawerPlacement = 'right';\r\n @Input() title: string | undefined;\r\n @Input() closable: boolean = true;\r\n\r\n @Output() closeEvent = new EventEmitter<void>();\r\n\r\n private ngZone = inject(NgZone);\r\n private clickHandler: ((e: MouseEvent) => void) | null = null;\r\n private keydownHandler: ((e: KeyboardEvent) => void) | null = null;\r\n\r\n ngAfterViewInit(): void {\r\n if (this.open) {\r\n this.renderComponent();\r\n this.attachListeners();\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['open']) {\r\n if (this.open) {\r\n this.renderComponent();\r\n this.attachListeners();\r\n } else {\r\n this.detachListeners();\r\n this.clearHost();\r\n }\r\n } else if (this.open) {\r\n // Other inputs changed while open — re-render\r\n this.renderComponent();\r\n }\r\n }\r\n\r\n override renderComponent(): void {\r\n this.clearHost();\r\n\r\n if (!this.open) return;\r\n\r\n const hostEl = this.elementRef.nativeElement as HTMLElement;\r\n\r\n const props: DrawerGeneratorProps = {\r\n open: this.open,\r\n placement: this.placement,\r\n title: this.title,\r\n closable: this.closable,\r\n };\r\n\r\n const descriptor = generateDrawerDOM(props);\r\n\r\n // Render the descriptor tree into the host element\r\n renderDescriptorToDOM(this.renderer, descriptor, hostEl);\r\n }\r\n\r\n override ngOnDestroy(): void {\r\n this.detachListeners();\r\n super.ngOnDestroy();\r\n }\r\n\r\n private clearHost(): void {\r\n const hostEl = this.elementRef.nativeElement;\r\n while (hostEl.firstChild) {\r\n this.renderer.removeChild(hostEl, hostEl.firstChild);\r\n }\r\n }\r\n\r\n private attachListeners(): void {\r\n // Click handler for close button and backdrop clicks\r\n this.clickHandler = (e: MouseEvent) => {\r\n const target = e.target as HTMLElement;\r\n\r\n // Close button click (data-ux4g-drawer-close attribute)\r\n if (target.hasAttribute('data-ux4g-drawer-close')) {\r\n this.ngZone.run(() => this.closeEvent.emit());\r\n return;\r\n }\r\n\r\n // Backdrop click\r\n if (target.classList.contains('ux4g-drawer-backdrop')) {\r\n this.ngZone.run(() => this.closeEvent.emit());\r\n }\r\n };\r\n\r\n // Keyboard handler for Escape key\r\n this.keydownHandler = (e: KeyboardEvent) => {\r\n if (e.key === 'Escape' && this.closable) {\r\n this.ngZone.run(() => this.closeEvent.emit());\r\n }\r\n };\r\n\r\n if (typeof document !== 'undefined') {\r\n this.elementRef.nativeElement.addEventListener('click', this.clickHandler);\r\n document.addEventListener('keydown', this.keydownHandler);\r\n }\r\n }\r\n\r\n private detachListeners(): void {\r\n if (typeof document !== 'undefined') {\r\n if (this.clickHandler) {\r\n this.elementRef.nativeElement.removeEventListener('click', this.clickHandler);\r\n this.clickHandler = null;\r\n }\r\n if (this.keydownHandler) {\r\n document.removeEventListener('keydown', this.keydownHandler);\r\n this.keydownHandler = null;\r\n }\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { UX4GNativeDrawerComponent } from './ux4g-native-drawer.component';\r\n\r\n/**\r\n * NgModule for backward compatibility with module-based Angular applications.\r\n * For standalone components (Angular 17+), import UX4GNativeDrawerComponent directly.\r\n */\r\n@NgModule({\r\n imports: [UX4GNativeDrawerComponent],\r\n exports: [UX4GNativeDrawerComponent],\r\n})\r\nexport class UX4GNativeDrawerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAiBA;;;;;;;;;;;;AAYG;AAOG,MAAO,yBACX,SAAQ,mBAAmB,CAAA;AAP7B,IAAA,WAAA,GAAA;;QAUW,IAAA,CAAA,IAAI,GAAY,KAAK;QACrB,IAAA,CAAA,SAAS,GAAoB,OAAO;QAEpC,IAAA,CAAA,QAAQ,GAAY,IAAI;AAEvB,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,YAAY,EAAQ;AAEvC,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QACvB,IAAA,CAAA,YAAY,GAAqC,IAAI;QACrD,IAAA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A,CACzB,yBAAyB,CAAA,EAAA,CAAA,CAAA;gHAExB,sBAAsB,EAAA,CAAA,CAAA;;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,yBAAyB,CAAC;oBACpC,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACrC,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../src/native/drawer/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ux4g-components-angular-native-drawer.d.ts","sourceRoot":"","sources":["../../../src/native/drawer/ux4g-components-angular-native-drawer.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, AfterViewInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { DrawerPlacement } from 'ux4g-components-web/types';
|
|
3
|
+
import { BaseNativeComponent } from '@ux4g-native-shared';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* UX4GNativeDrawerComponent — Angular Native Wrapper for the UX4G Drawer component.
|
|
7
|
+
*
|
|
8
|
+
* Generates the complete drawer DOM structure via generateDrawerDOM(),
|
|
9
|
+
* including backdrop, drawer panel with role="dialog" and aria-modal="true",
|
|
10
|
+
* close button with data-ux4g-drawer-close, and an optional title heading.
|
|
11
|
+
*
|
|
12
|
+
* Usage:
|
|
13
|
+
* ```html
|
|
14
|
+
* <ux4g-native-drawer [open]="isOpen" [placement]="'right'" [title]="'Menu'" (closeEvent)="onClose()">
|
|
15
|
+
* </ux4g-native-drawer>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare class UX4GNativeDrawerComponent extends BaseNativeComponent implements OnChanges, OnDestroy, AfterViewInit {
|
|
19
|
+
open: boolean;
|
|
20
|
+
placement: DrawerPlacement;
|
|
21
|
+
title: string | undefined;
|
|
22
|
+
closable: boolean;
|
|
23
|
+
closeEvent: EventEmitter<void>;
|
|
24
|
+
private ngZone;
|
|
25
|
+
private clickHandler;
|
|
26
|
+
private keydownHandler;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
29
|
+
renderComponent(): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
private clearHost;
|
|
32
|
+
private attachListeners;
|
|
33
|
+
private detachListeners;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UX4GNativeDrawerComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UX4GNativeDrawerComponent, "ux4g-native-drawer", never, { "open": { "alias": "open"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "title": { "alias": "title"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=ux4g-native-drawer.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ux4g-native-drawer.component.d.ts","sourceRoot":"","sources":["../../../src/native/drawer/ux4g-native-drawer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,aAAa,EACb,aAAa,EAGd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAyB,MAAM,qBAAqB,CAAC;;AAEjF;;;;;;;;;;;;GAYG;AACH,qBAMa,yBACX,SAAQ,mBACR,YAAW,SAAS,EAAE,SAAS,EAAE,aAAa;IAErC,IAAI,EAAE,OAAO,CAAS;IACtB,SAAS,EAAE,eAAe,CAAW;IACrC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAQ;IAExB,UAAU,qBAA4B;IAEhD,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,YAAY,CAA0C;IAC9D,OAAO,CAAC,cAAc,CAA6C;IAEnE,eAAe,IAAI,IAAI;IAOvB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAehC,eAAe,IAAI,IAAI;IAoBvB,WAAW,IAAI,IAAI;IAK5B,OAAO,CAAC,SAAS;IAOjB,OAAO,CAAC,eAAe;IA8BvB,OAAO,CAAC,eAAe;yCAnGZ,yBAAyB;2CAAzB,yBAAyB;CA+GrC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ux4g-native-drawer.component";
|
|
3
|
+
/**
|
|
4
|
+
* NgModule for backward compatibility with module-based Angular applications.
|
|
5
|
+
* For standalone components (Angular 17+), import UX4GNativeDrawerComponent directly.
|
|
6
|
+
*/
|
|
7
|
+
export declare class UX4GNativeDrawerModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UX4GNativeDrawerModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UX4GNativeDrawerModule, never, [typeof i1.UX4GNativeDrawerComponent], [typeof i1.UX4GNativeDrawerComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UX4GNativeDrawerModule>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=ux4g-native-drawer.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ux4g-native-drawer.module.d.ts","sourceRoot":"","sources":["../../../src/native/drawer/ux4g-native-drawer.module.ts"],"names":[],"mappings":";;AAGA;;;GAGG;AACH,qBAIa,sBAAsB;yCAAtB,sBAAsB;0CAAtB,sBAAsB;0CAAtB,sBAAsB;CAAG"}
|