@unipin/angular-applet 18.9.7 → 21.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -10
- package/common/assets/sprites/flagGlobal.png +0 -0
- package/common/assets/sprites/flagSprite42.webp +0 -0
- package/common/assets/styles/freakflags.scss +263 -0
- package/common/assets/styles/theme.css +69 -0
- package/fesm2022/unipin-angular-applet-accordion.mjs +242 -0
- package/fesm2022/unipin-angular-applet-accordion.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-alert-dialog.mjs +267 -0
- package/fesm2022/unipin-angular-applet-alert-dialog.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-alert.mjs +94 -0
- package/fesm2022/unipin-angular-applet-alert.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-auth.mjs +707 -0
- package/fesm2022/unipin-angular-applet-auth.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-avatar.mjs +41 -0
- package/fesm2022/unipin-angular-applet-avatar.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-badge.mjs +50 -0
- package/fesm2022/unipin-angular-applet-badge.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-buttons.mjs +263 -0
- package/fesm2022/unipin-angular-applet-buttons.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-calendar.mjs +492 -0
- package/fesm2022/unipin-angular-applet-calendar.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-collapsible.mjs +97 -0
- package/fesm2022/unipin-angular-applet-collapsible.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-common.mjs +342 -0
- package/fesm2022/unipin-angular-applet-common.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-containers.mjs +472 -0
- package/fesm2022/unipin-angular-applet-containers.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-dialog.mjs +535 -0
- package/fesm2022/unipin-angular-applet-dialog.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-forms.mjs +1699 -0
- package/fesm2022/unipin-angular-applet-forms.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-froala.mjs +298 -0
- package/fesm2022/unipin-angular-applet-froala.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-grids.mjs +105 -0
- package/fesm2022/unipin-angular-applet-grids.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-infinite-scroll.mjs +86 -0
- package/fesm2022/unipin-angular-applet-infinite-scroll.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-json-viewer.mjs +71 -0
- package/fesm2022/unipin-angular-applet-json-viewer.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-loading-dialog.mjs +252 -0
- package/fesm2022/unipin-angular-applet-loading-dialog.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-markdown.mjs +703 -0
- package/fesm2022/unipin-angular-applet-markdown.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-micro-frontend.mjs +75 -0
- package/fesm2022/unipin-angular-applet-micro-frontend.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-popover.mjs +333 -0
- package/fesm2022/unipin-angular-applet-popover.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-progress-bar.mjs +38 -0
- package/fesm2022/unipin-angular-applet-progress-bar.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-skeleton.mjs +32 -0
- package/fesm2022/unipin-angular-applet-skeleton.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-spinner.mjs +144 -0
- package/fesm2022/unipin-angular-applet-spinner.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-swipeable.mjs +270 -0
- package/fesm2022/unipin-angular-applet-swipeable.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-tabs.mjs +142 -0
- package/fesm2022/unipin-angular-applet-tabs.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet-tooltip.mjs +118 -0
- package/fesm2022/unipin-angular-applet-tooltip.mjs.map +1 -0
- package/fesm2022/unipin-angular-applet.mjs +5 -4617
- package/fesm2022/unipin-angular-applet.mjs.map +1 -1
- package/package.json +132 -29
- package/types/unipin-angular-applet-accordion.d.ts +60 -0
- package/types/unipin-angular-applet-alert-dialog.d.ts +35 -0
- package/types/unipin-angular-applet-alert.d.ts +34 -0
- package/types/unipin-angular-applet-auth.d.ts +225 -0
- package/types/unipin-angular-applet-avatar.d.ts +16 -0
- package/types/unipin-angular-applet-badge.d.ts +20 -0
- package/types/unipin-angular-applet-buttons.d.ts +37 -0
- package/types/unipin-angular-applet-calendar.d.ts +44 -0
- package/types/unipin-angular-applet-collapsible.d.ts +35 -0
- package/types/unipin-angular-applet-common.d.ts +94 -0
- package/types/unipin-angular-applet-containers.d.ts +179 -0
- package/types/unipin-angular-applet-dialog.d.ts +180 -0
- package/types/unipin-angular-applet-forms.d.ts +412 -0
- package/types/unipin-angular-applet-froala.d.ts +85 -0
- package/types/unipin-angular-applet-grids.d.ts +22 -0
- package/types/unipin-angular-applet-infinite-scroll.d.ts +51 -0
- package/types/unipin-angular-applet-json-viewer.d.ts +30 -0
- package/types/unipin-angular-applet-loading-dialog.d.ts +19 -0
- package/types/unipin-angular-applet-markdown.d.ts +119 -0
- package/types/unipin-angular-applet-micro-frontend.d.ts +11 -0
- package/types/unipin-angular-applet-popover.d.ts +58 -0
- package/types/unipin-angular-applet-progress-bar.d.ts +14 -0
- package/types/unipin-angular-applet-skeleton.d.ts +11 -0
- package/types/unipin-angular-applet-spinner.d.ts +12 -0
- package/types/unipin-angular-applet-swipeable.d.ts +66 -0
- package/types/unipin-angular-applet-tabs.d.ts +40 -0
- package/types/unipin-angular-applet-tooltip.d.ts +32 -0
- package/types/unipin-angular-applet.d.ts +3 -0
- package/esm2022/graphql/generated.mjs +0 -938
- package/esm2022/lib/components/approval/detail/approval-detail.component.mjs +0 -78
- package/esm2022/lib/components/approval/form/approval-form.component.mjs +0 -128
- package/esm2022/lib/components/approval/index.mjs +0 -5
- package/esm2022/lib/components/approval/list/approval-list.component.mjs +0 -114
- package/esm2022/lib/components/approval/list/provide-approval-entities.util.mjs +0 -9
- package/esm2022/lib/components/approval/services/approval.service.mjs +0 -46
- package/esm2022/lib/components/audit/detail/audit-detail.component.mjs +0 -123
- package/esm2022/lib/components/audit/index.mjs +0 -3
- package/esm2022/lib/components/audit/list/audit-list.component.mjs +0 -81
- package/esm2022/lib/components/audit/service/audit.service.mjs +0 -49
- package/esm2022/lib/components/audit/types/audit-detail-form.type.mjs +0 -2
- package/esm2022/lib/components/buttons/group/btn-group.component.mjs +0 -43
- package/esm2022/lib/components/buttons/group/interfaces/btn-group-config.interface.mjs +0 -2
- package/esm2022/lib/components/buttons/index.mjs +0 -3
- package/esm2022/lib/components/buttons/loading/btn-loading.component.mjs +0 -48
- package/esm2022/lib/components/containers/applet-container/applet-container.component.mjs +0 -55
- package/esm2022/lib/components/containers/applet-container/provide-applet-config.util.mjs +0 -9
- package/esm2022/lib/components/containers/colum-header-container/column-header-container.component.mjs +0 -23
- package/esm2022/lib/components/containers/column-container/column-container.component.mjs +0 -79
- package/esm2022/lib/components/containers/column-container/directives/lazy-route.directive.mjs +0 -57
- package/esm2022/lib/components/containers/index.mjs +0 -7
- package/esm2022/lib/components/containers/list-container/index.mjs +0 -3
- package/esm2022/lib/components/containers/list-container/interfaces/list-container-config.interface.mjs +0 -2
- package/esm2022/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.mjs +0 -58
- package/esm2022/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.mjs +0 -57
- package/esm2022/lib/components/containers/modal-container/modal-container.component.mjs +0 -40
- package/esm2022/lib/components/filter/filter.component.mjs +0 -222
- package/esm2022/lib/components/filter/index.mjs +0 -2
- package/esm2022/lib/components/filter/interfaces/filter-config.interface.mjs +0 -2
- package/esm2022/lib/components/filter/interfaces/filter-field.interface.mjs +0 -2
- package/esm2022/lib/components/filter/interfaces/filter-search-event.interface.mjs +0 -2
- package/esm2022/lib/components/forms/country-input/form-country-input.component.mjs +0 -122
- package/esm2022/lib/components/forms/currency-input/form-currency-input.component.mjs +0 -157
- package/esm2022/lib/components/forms/date/form-date.component.mjs +0 -117
- package/esm2022/lib/components/forms/image-picker/directives/drag-n-drop.directive.mjs +0 -49
- package/esm2022/lib/components/forms/image-picker/form-image-picker.component.mjs +0 -68
- package/esm2022/lib/components/forms/index.mjs +0 -12
- package/esm2022/lib/components/forms/input/form-input.component.mjs +0 -98
- package/esm2022/lib/components/forms/number/form-number.component.mjs +0 -97
- package/esm2022/lib/components/forms/number/pipes/locale-number.pipe.mjs +0 -33
- package/esm2022/lib/components/forms/password/form-password.component.mjs +0 -100
- package/esm2022/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.mjs +0 -135
- package/esm2022/lib/components/forms/searchable-select/form-searchable-select.component.mjs +0 -138
- package/esm2022/lib/components/forms/select/form-select.component.mjs +0 -119
- package/esm2022/lib/components/forms/textarea/form-textarea.component.mjs +0 -88
- package/esm2022/lib/components/grids/grid-pagination/grid-pagination.component.mjs +0 -111
- package/esm2022/lib/components/grids/grid-snapshot/grid-snapshot.component.mjs +0 -109
- package/esm2022/lib/components/grids/index.mjs +0 -4
- package/esm2022/lib/components/grids/interfaces/grid-config.interface.mjs +0 -2
- package/esm2022/lib/components/grids/services/grid.service.mjs +0 -25
- package/esm2022/lib/components/index.mjs +0 -9
- package/esm2022/lib/components/infinite-scroll/directive/infinite-scroll.directive.mjs +0 -43
- package/esm2022/lib/components/infinite-scroll/index.mjs +0 -3
- package/esm2022/lib/components/infinite-scroll/infinite-scroll.component.mjs +0 -36
- package/esm2022/lib/components/tabs/index.mjs +0 -3
- package/esm2022/lib/components/tabs/tab-content/tab-content.component.mjs +0 -37
- package/esm2022/lib/components/tabs/tab-group/tab-group.component.mjs +0 -47
- package/esm2022/lib/guards/auth/auth.guard.mjs +0 -10
- package/esm2022/lib/guards/index.mjs +0 -2
- package/esm2022/lib/interceptors/header/header.interceptor.mjs +0 -29
- package/esm2022/lib/interceptors/index.mjs +0 -3
- package/esm2022/lib/interceptors/refresh-token/refresh-token.interceptor.mjs +0 -83
- package/esm2022/lib/interfaces/index.mjs +0 -2
- package/esm2022/lib/interfaces/user/user.interface.mjs +0 -2
- package/esm2022/lib/modules/index.mjs +0 -3
- package/esm2022/lib/modules/micro-frontend/index.mjs +0 -2
- package/esm2022/lib/modules/micro-frontend/utils/mf-bootstrap.util.mjs +0 -55
- package/esm2022/lib/modules/micro-frontend/utils/mf-global-state.util.mjs +0 -14
- package/esm2022/lib/modules/permission/directive/permission.directive.mjs +0 -41
- package/esm2022/lib/modules/permission/guards/permission.guard.mjs +0 -26
- package/esm2022/lib/modules/permission/index.mjs +0 -7
- package/esm2022/lib/modules/permission/pages/401/unauthorized.page.mjs +0 -15
- package/esm2022/lib/modules/permission/pages/loading/loading.page.mjs +0 -65
- package/esm2022/lib/modules/permission/pages/loading/provide-loading-config.util.mjs +0 -9
- package/esm2022/lib/modules/permission/services/permission.service.mjs +0 -50
- package/esm2022/lib/resolvers/auth/auth.resolver.mjs +0 -87
- package/esm2022/lib/resolvers/index.mjs +0 -2
- package/esm2022/lib/services/auth/auth.service.mjs +0 -171
- package/esm2022/lib/services/country/country.service.mjs +0 -43
- package/esm2022/lib/services/currency/currency.service.mjs +0 -40
- package/esm2022/lib/services/index.mjs +0 -6
- package/esm2022/lib/services/profile/profile.service.mjs +0 -82
- package/esm2022/lib/services/rate-group-code/rate-group-code.service.mjs +0 -31
- package/esm2022/lib/utils/contrast-color-generator/contrast-color-generator.util.mjs +0 -16
- package/esm2022/lib/utils/form-error-message/form-error-message.util.mjs +0 -21
- package/esm2022/lib/utils/format-capitalize/format-capitalize.util.mjs +0 -18
- package/esm2022/lib/utils/index.mjs +0 -5
- package/esm2022/lib/utils/redirect-to-first-menu/redirect-to-first-menu.util.mjs +0 -9
- package/esm2022/public-api.mjs +0 -10
- package/esm2022/unipin-angular-applet.mjs +0 -2
- package/graphql/generated.d.ts +0 -16225
- package/index.d.ts +0 -2
- package/lib/components/approval/detail/approval-detail.component.d.ts +0 -26
- package/lib/components/approval/form/approval-form.component.d.ts +0 -33
- package/lib/components/approval/index.d.ts +0 -4
- package/lib/components/approval/list/approval-list.component.d.ts +0 -33
- package/lib/components/approval/list/provide-approval-entities.util.d.ts +0 -3
- package/lib/components/approval/services/approval.service.d.ts +0 -18
- package/lib/components/audit/detail/audit-detail.component.d.ts +0 -33
- package/lib/components/audit/index.d.ts +0 -2
- package/lib/components/audit/list/audit-list.component.d.ts +0 -31
- package/lib/components/audit/service/audit.service.d.ts +0 -15
- package/lib/components/audit/types/audit-detail-form.type.d.ts +0 -12
- package/lib/components/buttons/group/btn-group.component.d.ts +0 -18
- package/lib/components/buttons/group/interfaces/btn-group-config.interface.d.ts +0 -11
- package/lib/components/buttons/index.d.ts +0 -3
- package/lib/components/buttons/loading/btn-loading.component.d.ts +0 -19
- package/lib/components/containers/applet-container/applet-container.component.d.ts +0 -22
- package/lib/components/containers/applet-container/provide-applet-config.util.d.ts +0 -15
- package/lib/components/containers/colum-header-container/column-header-container.component.d.ts +0 -7
- package/lib/components/containers/column-container/column-container.component.d.ts +0 -26
- package/lib/components/containers/column-container/directives/lazy-route.directive.d.ts +0 -17
- package/lib/components/containers/index.d.ts +0 -6
- package/lib/components/containers/list-container/index.d.ts +0 -3
- package/lib/components/containers/list-container/interfaces/list-container-config.interface.d.ts +0 -9
- package/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.d.ts +0 -23
- package/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.d.ts +0 -23
- package/lib/components/containers/modal-container/modal-container.component.d.ts +0 -16
- package/lib/components/filter/filter.component.d.ts +0 -44
- package/lib/components/filter/index.d.ts +0 -4
- package/lib/components/filter/interfaces/filter-config.interface.d.ts +0 -5
- package/lib/components/filter/interfaces/filter-field.interface.d.ts +0 -24
- package/lib/components/filter/interfaces/filter-search-event.interface.d.ts +0 -4
- package/lib/components/forms/country-input/form-country-input.component.d.ts +0 -41
- package/lib/components/forms/currency-input/form-currency-input.component.d.ts +0 -52
- package/lib/components/forms/date/form-date.component.d.ts +0 -33
- package/lib/components/forms/image-picker/directives/drag-n-drop.directive.d.ts +0 -10
- package/lib/components/forms/image-picker/form-image-picker.component.d.ts +0 -21
- package/lib/components/forms/index.d.ts +0 -11
- package/lib/components/forms/input/form-input.component.d.ts +0 -31
- package/lib/components/forms/number/form-number.component.d.ts +0 -27
- package/lib/components/forms/number/pipes/locale-number.pipe.d.ts +0 -8
- package/lib/components/forms/password/form-password.component.d.ts +0 -27
- package/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.d.ts +0 -41
- package/lib/components/forms/searchable-select/form-searchable-select.component.d.ts +0 -42
- package/lib/components/forms/select/form-select.component.d.ts +0 -34
- package/lib/components/forms/textarea/form-textarea.component.d.ts +0 -26
- package/lib/components/grids/grid-pagination/grid-pagination.component.d.ts +0 -33
- package/lib/components/grids/grid-snapshot/grid-snapshot.component.d.ts +0 -36
- package/lib/components/grids/index.d.ts +0 -4
- package/lib/components/grids/interfaces/grid-config.interface.d.ts +0 -16
- package/lib/components/grids/services/grid.service.d.ts +0 -12
- package/lib/components/index.d.ts +0 -8
- package/lib/components/infinite-scroll/directive/infinite-scroll.directive.d.ts +0 -15
- package/lib/components/infinite-scroll/index.d.ts +0 -2
- package/lib/components/infinite-scroll/infinite-scroll.component.d.ts +0 -12
- package/lib/components/tabs/index.d.ts +0 -6
- package/lib/components/tabs/tab-content/tab-content.component.d.ts +0 -14
- package/lib/components/tabs/tab-group/tab-group.component.d.ts +0 -18
- package/lib/guards/auth/auth.guard.d.ts +0 -1
- package/lib/guards/index.d.ts +0 -1
- package/lib/interceptors/header/header.interceptor.d.ts +0 -9
- package/lib/interceptors/index.d.ts +0 -2
- package/lib/interceptors/refresh-token/refresh-token.interceptor.d.ts +0 -14
- package/lib/interfaces/index.d.ts +0 -1
- package/lib/interfaces/user/user.interface.d.ts +0 -27
- package/lib/modules/index.d.ts +0 -2
- package/lib/modules/micro-frontend/index.d.ts +0 -1
- package/lib/modules/micro-frontend/utils/mf-bootstrap.util.d.ts +0 -9
- package/lib/modules/micro-frontend/utils/mf-global-state.util.d.ts +0 -4
- package/lib/modules/permission/directive/permission.directive.d.ts +0 -16
- package/lib/modules/permission/guards/permission.guard.d.ts +0 -2
- package/lib/modules/permission/index.d.ts +0 -6
- package/lib/modules/permission/pages/401/unauthorized.page.d.ts +0 -5
- package/lib/modules/permission/pages/loading/loading.page.d.ts +0 -18
- package/lib/modules/permission/pages/loading/provide-loading-config.util.d.ts +0 -10
- package/lib/modules/permission/services/permission.service.d.ts +0 -21
- package/lib/resolvers/auth/auth.resolver.d.ts +0 -14
- package/lib/resolvers/index.d.ts +0 -1
- package/lib/services/auth/auth.service.d.ts +0 -39
- package/lib/services/country/country.service.d.ts +0 -16
- package/lib/services/currency/currency.service.d.ts +0 -16
- package/lib/services/index.d.ts +0 -5
- package/lib/services/profile/profile.service.d.ts +0 -12
- package/lib/services/rate-group-code/rate-group-code.service.d.ts +0 -14
- package/lib/utils/contrast-color-generator/contrast-color-generator.util.d.ts +0 -4
- package/lib/utils/form-error-message/form-error-message.util.d.ts +0 -2
- package/lib/utils/format-capitalize/format-capitalize.util.d.ts +0 -1
- package/lib/utils/index.d.ts +0 -4
- package/lib/utils/redirect-to-first-menu/redirect-to-first-menu.util.d.ts +0 -2
- package/public-api.d.ts +0 -11
- package/src/assets/scss/forms.scss +0 -65
- package/src/assets/scss/grid.scss +0 -7505
- package/src/assets/scss/select.scss +0 -328
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InputSignal, OnDestroy, ElementRef, Renderer2, WritableSignal } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import { Observable, Subscription } from 'rxjs';
|
|
5
|
+
import { ClassValue } from 'clsx';
|
|
6
|
+
import { UpFieldControlComponent } from '@unipin/angular-applet/forms';
|
|
7
|
+
import { HttpClient } from '@angular/common/http';
|
|
8
|
+
import { UniPinGqlConfig } from '@unipin/angular-gql';
|
|
9
|
+
|
|
10
|
+
type SelectionType = {
|
|
11
|
+
end: number;
|
|
12
|
+
word: string;
|
|
13
|
+
start: number;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
declare class MarkdownService {
|
|
17
|
+
readonly config: UniPinGqlConfig;
|
|
18
|
+
protected readonly http: HttpClient;
|
|
19
|
+
constructor(config: UniPinGqlConfig, http: HttpClient);
|
|
20
|
+
uploadImage(file: File): Observable<any>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MarkdownService>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class UpMarkdownInputComponent extends UpFieldControlComponent implements ControlValueAccessor {
|
|
26
|
+
protected readonly markdownService: MarkdownService;
|
|
27
|
+
readonly value: i0.ModelSignal<string>;
|
|
28
|
+
readonly placeholder: InputSignal<string>;
|
|
29
|
+
readonly mode: i0.ModelSignal<"write" | "preview">;
|
|
30
|
+
readonly inlineClass: InputSignal<ClassValue>;
|
|
31
|
+
readonly textarea: i0.Signal<{
|
|
32
|
+
nativeElement: HTMLTextAreaElement;
|
|
33
|
+
} | undefined>;
|
|
34
|
+
readonly buttons: {
|
|
35
|
+
icon: string;
|
|
36
|
+
action: string;
|
|
37
|
+
}[];
|
|
38
|
+
readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
39
|
+
readonly contextGuid: InputSignal<string>;
|
|
40
|
+
readonly contextType: InputSignal<string>;
|
|
41
|
+
isTouched: boolean;
|
|
42
|
+
protected readonly _computedClass: i0.Signal<string>;
|
|
43
|
+
protected imageData?: any;
|
|
44
|
+
protected selection?: SelectionType;
|
|
45
|
+
protected sub: Subscription | null;
|
|
46
|
+
/**
|
|
47
|
+
* Callback function to handle value changes in the markdown input component.
|
|
48
|
+
* @type {(_val: any) => void}
|
|
49
|
+
*/
|
|
50
|
+
protected _onChange: (_val: any) => void;
|
|
51
|
+
/**
|
|
52
|
+
* Callback function to handle touch events in the markdown input component.
|
|
53
|
+
* @type {() => void}
|
|
54
|
+
*/
|
|
55
|
+
protected _onTouched: () => void;
|
|
56
|
+
constructor(markdownService: MarkdownService);
|
|
57
|
+
/**
|
|
58
|
+
* Handles keyboard events and button actions for the markdown input.
|
|
59
|
+
*
|
|
60
|
+
* @param {KeyboardEvent} event - The keyboard event.
|
|
61
|
+
*/
|
|
62
|
+
protected handleStyleWithKeyboard(event: KeyboardEvent): void;
|
|
63
|
+
ngOnDestroy(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Registers a callback function to be called when the password input value changes.
|
|
66
|
+
* @param {(_val: any) => void} fn - Callback function for value changes.
|
|
67
|
+
*/
|
|
68
|
+
registerOnChange(fn: any): void;
|
|
69
|
+
/**
|
|
70
|
+
* Registers a callback function to be called when the password input is touched.
|
|
71
|
+
* @param {() => void} fn - Callback function for touch events.
|
|
72
|
+
*/
|
|
73
|
+
registerOnTouched(fn: any): void;
|
|
74
|
+
/**
|
|
75
|
+
* Writes a new value to the markdown input.
|
|
76
|
+
* @param {*} val - The new value to be set.
|
|
77
|
+
*/
|
|
78
|
+
writeValue(val: any): void;
|
|
79
|
+
/**
|
|
80
|
+
* Event handler to handle touch status.
|
|
81
|
+
*
|
|
82
|
+
* @returns {void}
|
|
83
|
+
*/
|
|
84
|
+
touch(): void;
|
|
85
|
+
change(event: Event): void;
|
|
86
|
+
/**
|
|
87
|
+
* Handles button actions for the markdown input.
|
|
88
|
+
*
|
|
89
|
+
* @param {string} action - The action to perform.
|
|
90
|
+
* @returns {void}
|
|
91
|
+
*/
|
|
92
|
+
applyStyle(action: string): void;
|
|
93
|
+
changeSelection(event: Event): void;
|
|
94
|
+
pasteImage(event: ClipboardEvent): Promise<void>;
|
|
95
|
+
protected replaceAndSetCursor(textarea: HTMLTextAreaElement, textReplace: {
|
|
96
|
+
searchValue: string;
|
|
97
|
+
replaceValue: string;
|
|
98
|
+
}, cursorPosition: {
|
|
99
|
+
start: number;
|
|
100
|
+
end: number;
|
|
101
|
+
}): void;
|
|
102
|
+
protected setStyle(action: string, textarea: HTMLTextAreaElement): string | null;
|
|
103
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpMarkdownInputComponent, never>;
|
|
104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpMarkdownInputComponent, "up-markdown-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "inlineClass": { "alias": "class"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "contextGuid": { "alias": "contextGuid"; "required": false; "isSignal": true; }; "contextType": { "alias": "contextType"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "mode": "modeChange"; }, never, never, true, never>;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare class UpMarkdownDirective implements OnDestroy {
|
|
108
|
+
protected readonly el: ElementRef;
|
|
109
|
+
protected readonly renderer: Renderer2;
|
|
110
|
+
protected readonly markdown: WritableSignal<string>;
|
|
111
|
+
protected readonly class: string;
|
|
112
|
+
protected observer: MutationObserver;
|
|
113
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
114
|
+
ngOnDestroy(): void;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpMarkdownDirective, never>;
|
|
116
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UpMarkdownDirective, "[upMarkdown]", ["upMarkdown"], {}, {}, never, never, true, never>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export { UpMarkdownDirective, UpMarkdownInputComponent };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Type, ApplicationConfig } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
type AppType = 'shell' | 'microfrontend';
|
|
4
|
+
type Options = {
|
|
5
|
+
production: boolean;
|
|
6
|
+
appType: AppType;
|
|
7
|
+
elementName?: string;
|
|
8
|
+
};
|
|
9
|
+
declare function bootstrap<M>(component: Type<M>, options: Options, config: ApplicationConfig): void;
|
|
10
|
+
|
|
11
|
+
export { bootstrap };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as _unipin_angular_applet_dialog from '@unipin/angular-applet/dialog';
|
|
2
|
+
import { UpDialogCloseDirective, UpDialogTriggerDirective, UpDialogContentRefDirective, UpDialog } from '@unipin/angular-applet/dialog';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { ElementRef } from '@angular/core';
|
|
5
|
+
import { ClassValue } from 'clsx';
|
|
6
|
+
|
|
7
|
+
type UpPopoverAlignment = 'start' | 'center' | 'end';
|
|
8
|
+
type UpPopoverPlacement = 'top' | 'right' | 'bottom' | 'left';
|
|
9
|
+
interface AttachPosition {
|
|
10
|
+
offsetX?: number;
|
|
11
|
+
offsetY?: number;
|
|
12
|
+
originX: 'start' | 'center' | 'end';
|
|
13
|
+
originY: 'top' | 'center' | 'bottom';
|
|
14
|
+
overlayX: 'start' | 'center' | 'end';
|
|
15
|
+
overlayY: 'top' | 'center' | 'bottom';
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class UpPopoverCloseDirective extends UpDialogCloseDirective {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpPopoverCloseDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UpPopoverCloseDirective, "[upPopoverClose]", ["upPopoverClose"], {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare class UpPopoverTriggerDirective extends UpDialogTriggerDirective {
|
|
24
|
+
protected readonly host: ElementRef<any>;
|
|
25
|
+
constructor();
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpPopoverTriggerDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UpPopoverTriggerDirective, "[upPopoverTrigger]", ["upPopoverTrigger"], {}, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class UpPopoverContentDirective {
|
|
31
|
+
readonly stateProvider: _unipin_angular_applet_dialog.ExposesState;
|
|
32
|
+
readonly userClass: i0.InputSignal<ClassValue>;
|
|
33
|
+
protected readonly _computedClass: i0.Signal<string>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpPopoverContentDirective, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UpPopoverContentDirective, "[upPopoverContent]", ["upPopoverContent"], { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare class UpPopoverContentRefDirective<T> extends UpDialogContentRefDirective<T> {
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpPopoverContentRefDirective<any>, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UpPopoverContentRefDirective<any>, "[upPopoverContentRef]", ["upPopoverContentRef"], {}, {}, never, never, true, never>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare class UpPopoverComponent extends UpDialog {
|
|
44
|
+
readonly placement: i0.InputSignal<UpPopoverPlacement>;
|
|
45
|
+
readonly alignment: i0.InputSignal<UpPopoverAlignment>;
|
|
46
|
+
readonly placementOffset: i0.InputSignalWithTransform<number, unknown>;
|
|
47
|
+
readonly alignmentOffset: i0.InputSignalWithTransform<number, unknown>;
|
|
48
|
+
constructor();
|
|
49
|
+
protected updatePositions(placement: UpPopoverPlacement, alignment: UpPopoverAlignment): void;
|
|
50
|
+
protected generatePositions(placement: UpPopoverPlacement, alignment: UpPopoverAlignment): AttachPosition[];
|
|
51
|
+
protected applyPlacementOffset(placementOffset: number): void;
|
|
52
|
+
protected applyAlignOffset(alignOffset: number): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpPopoverComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpPopoverComponent, "up-popover", never, { "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "placementOffset": { "alias": "placementOffset"; "required": false; "isSignal": true; }; "alignmentOffset": { "alias": "alignmentOffset"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export { UpPopoverCloseDirective, UpPopoverComponent, UpPopoverContentDirective, UpPopoverContentRefDirective, UpPopoverTriggerDirective };
|
|
58
|
+
export type { AttachPosition, UpPopoverAlignment, UpPopoverPlacement };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ClassValue } from 'clsx';
|
|
3
|
+
|
|
4
|
+
declare class UpProgressBarDirective {
|
|
5
|
+
readonly max: _angular_core.InputSignal<number>;
|
|
6
|
+
readonly progress: _angular_core.InputSignal<number>;
|
|
7
|
+
readonly inlineClass: _angular_core.InputSignal<ClassValue>;
|
|
8
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
9
|
+
protected readonly _progressWidth: _angular_core.Signal<string>;
|
|
10
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpProgressBarDirective, never>;
|
|
11
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UpProgressBarDirective, "[upProgressBar]", ["upProgressBar"], { "max": { "alias": "max"; "required": true; "isSignal": true; }; "progress": { "alias": "progress"; "required": true; "isSignal": true; }; "inlineClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { UpProgressBarDirective };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ClassValue } from 'clsx';
|
|
3
|
+
|
|
4
|
+
declare class UpSkeletonDirective {
|
|
5
|
+
readonly inlineClass: _angular_core.InputSignal<ClassValue>;
|
|
6
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
7
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpSkeletonDirective, never>;
|
|
8
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UpSkeletonDirective, "[upSkeleton]", ["upSkeleton"], { "inlineClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { UpSkeletonDirective };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ClassValue } from 'clsx';
|
|
3
|
+
|
|
4
|
+
declare class UpSpinnerComponent {
|
|
5
|
+
readonly stokeWidth: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
6
|
+
readonly inlineClass: _angular_core.InputSignal<ClassValue>;
|
|
7
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
8
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpSpinnerComponent, never>;
|
|
9
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<UpSpinnerComponent, "up-spinner", never, { "stokeWidth": { "alias": "stokeWidth"; "required": false; "isSignal": true; }; "inlineClass": { "alias": "inlineClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { UpSpinnerComponent };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ClassValue } from 'clsx';
|
|
3
|
+
import { UpButtonDirective } from '@unipin/angular-applet/buttons';
|
|
4
|
+
|
|
5
|
+
declare class UpSwipeableContentDirective {
|
|
6
|
+
readonly element: any;
|
|
7
|
+
readonly inlineClass: _angular_core.InputSignal<ClassValue>;
|
|
8
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
9
|
+
translateX(x: number): void;
|
|
10
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpSwipeableContentDirective, never>;
|
|
11
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UpSwipeableContentDirective, "[upSwipeableContent]", ["upSwipeableContent"], { "inlineClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class UpSwipeableButtonsDirective {
|
|
15
|
+
readonly side: _angular_core.InputSignal<"left" | "right">;
|
|
16
|
+
readonly element: any;
|
|
17
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
18
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpSwipeableButtonsDirective, never>;
|
|
19
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UpSwipeableButtonsDirective, "[upSwipeableButtons]", ["upSwipeableButtons"], { "side": { "alias": "side"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare class UpSwipeableDirective {
|
|
23
|
+
readonly threshold: _angular_core.InputSignal<number>;
|
|
24
|
+
readonly overSwipeThreshold: _angular_core.InputSignal<number>;
|
|
25
|
+
readonly inlineClass: _angular_core.InputSignal<ClassValue>;
|
|
26
|
+
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
27
|
+
readonly leftSwiped: _angular_core.OutputEmitterRef<void>;
|
|
28
|
+
readonly rightSwiped: _angular_core.OutputEmitterRef<void>;
|
|
29
|
+
readonly content: _angular_core.Signal<UpSwipeableContentDirective | undefined>;
|
|
30
|
+
readonly buttonContainers: _angular_core.Signal<readonly UpSwipeableButtonsDirective[]>;
|
|
31
|
+
protected readonly containerWidth: _angular_core.WritableSignal<number>;
|
|
32
|
+
protected readonly buttonWidth: _angular_core.WritableSignal<{
|
|
33
|
+
left: number;
|
|
34
|
+
right: number;
|
|
35
|
+
}>;
|
|
36
|
+
protected readonly openSide: _angular_core.WritableSignal<"left" | "right" | null>;
|
|
37
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
38
|
+
protected startX: number;
|
|
39
|
+
protected currentX: number;
|
|
40
|
+
protected isTouch: boolean;
|
|
41
|
+
protected isDragging: boolean;
|
|
42
|
+
protected hasOverswiped: boolean;
|
|
43
|
+
constructor();
|
|
44
|
+
onMouseDown(event: MouseEvent): void;
|
|
45
|
+
onMouseMove(event: MouseEvent): void;
|
|
46
|
+
onMouseUp(event: MouseEvent): void;
|
|
47
|
+
onTouchStart(event: TouchEvent): void;
|
|
48
|
+
onTouchMove(event: TouchEvent): void;
|
|
49
|
+
onTouchEnd(event: TouchEvent): void;
|
|
50
|
+
protected startDrag(x: number): void;
|
|
51
|
+
protected handleDrag(x: number): void;
|
|
52
|
+
protected dragEnd(event?: MouseEvent | TouchEvent): void;
|
|
53
|
+
protected openContent(side: 'left' | 'right'): void;
|
|
54
|
+
protected closeContent(): void;
|
|
55
|
+
protected triggerOverswipe(side: 'left' | 'right'): void;
|
|
56
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpSwipeableDirective, never>;
|
|
57
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UpSwipeableDirective, "[upSwipeable]", ["upSwipeable"], { "threshold": { "alias": "threshold"; "required": false; "isSignal": true; }; "overSwipeThreshold": { "alias": "overSwipeThreshold"; "required": false; "isSignal": true; }; "inlineClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; "leftSwiped": "leftSwiped"; "rightSwiped": "rightSwiped"; }, ["content", "buttonContainers"], never, true, never>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare class UpSwipeableButtonDirective extends UpButtonDirective {
|
|
61
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
62
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpSwipeableButtonDirective, never>;
|
|
63
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UpSwipeableButtonDirective, "[upSwipeableBtn]", ["upSwipeableBtn"], {}, {}, never, never, true, never>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { UpSwipeableButtonDirective, UpSwipeableButtonsDirective, UpSwipeableContentDirective, UpSwipeableDirective };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InputSignal, WritableSignal } from '@angular/core';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
|
|
5
|
+
declare class UpTabsComponent {
|
|
6
|
+
readonly size: InputSignal<'sm' | 'md' | 'lg'>;
|
|
7
|
+
readonly variant: InputSignal<'underline' | 'default'>;
|
|
8
|
+
readonly inlineStyle: InputSignal<ClassValue>;
|
|
9
|
+
readonly defaultActiveTab: InputSignal<string | null>;
|
|
10
|
+
readonly activeTab: WritableSignal<string | null>;
|
|
11
|
+
readonly tabsClass: i0.Signal<string>;
|
|
12
|
+
constructor();
|
|
13
|
+
setActive(tab: string): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpTabsComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpTabsComponent, "up-tabs", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "inlineStyle": { "alias": "class"; "required": false; "isSignal": true; }; "defaultActiveTab": { "alias": "default"; "required": false; "isSignal": true; }; }, {}, never, ["[upTabsTrigger]", "[upTabsContent]"], true, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class UpTabsContentDirective {
|
|
19
|
+
protected readonly parent: UpTabsComponent;
|
|
20
|
+
readonly value: InputSignal<string>;
|
|
21
|
+
readonly inlineStyle: InputSignal<ClassValue>;
|
|
22
|
+
readonly isActive: WritableSignal<boolean>;
|
|
23
|
+
readonly tabsContentClass: i0.Signal<string>;
|
|
24
|
+
constructor(parent: UpTabsComponent);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpTabsContentDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UpTabsContentDirective, "[upTabsContent]", ["upTabsContent"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; "inlineStyle": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare class UpTabsTriggerDirective {
|
|
30
|
+
protected readonly parent: UpTabsComponent;
|
|
31
|
+
readonly value: i0.InputSignal<string>;
|
|
32
|
+
readonly isActive: i0.WritableSignal<boolean>;
|
|
33
|
+
readonly tabsTriggerClass: i0.Signal<string>;
|
|
34
|
+
constructor(parent: UpTabsComponent);
|
|
35
|
+
activate(): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpTabsTriggerDirective, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UpTabsTriggerDirective, "[upTabsTrigger]", ["upTabsTrigger"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { UpTabsComponent, UpTabsContentDirective, UpTabsTriggerDirective };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit, OnDestroy, Renderer2, ElementRef } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class UpTooltipDirective implements OnInit, OnDestroy {
|
|
5
|
+
protected readonly doc: Document;
|
|
6
|
+
protected readonly renderer: Renderer2;
|
|
7
|
+
protected readonly el: ElementRef<HTMLElement>;
|
|
8
|
+
/**
|
|
9
|
+
* Input variable specifying the text displayed in the tooltip helper, which provides a hint to the user about the purpose of the element.
|
|
10
|
+
* @type {InputSignal<string>}
|
|
11
|
+
* @default ''
|
|
12
|
+
*/
|
|
13
|
+
readonly toolTipText: _angular_core.InputSignal<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Input variable specifying the position of the tooltip relative to the host element.
|
|
16
|
+
* @type {InputSignal<string>}
|
|
17
|
+
* @default 'top'
|
|
18
|
+
*/
|
|
19
|
+
readonly position: _angular_core.InputSignal<"top" | "right" | "bottom" | "left">;
|
|
20
|
+
protected _winListener: Array<() => void>;
|
|
21
|
+
protected _hostListener: Array<() => void>;
|
|
22
|
+
protected _tooltipElement: HTMLElement | null;
|
|
23
|
+
constructor(doc: Document, renderer: Renderer2, el: ElementRef<HTMLElement>);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
protected hideTooltip(): void;
|
|
27
|
+
protected positionTooltip(): void;
|
|
28
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UpTooltipDirective, never>;
|
|
29
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UpTooltipDirective, "[upTooltip]", ["upTooltip"], { "toolTipText": { "alias": "toolTipText"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { UpTooltipDirective };
|