@dropi/ui-components 1.0.12 → 1.0.13
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 +55 -36
- package/dist/README.md +58 -38
- package/dist/components-source/accordion/accordion-item/accordion-item.component.d.ts +31 -0
- package/dist/components-source/accordion/accordion.component.d.ts +26 -0
- package/dist/components-source/alert/alert.component.d.ts +32 -0
- package/dist/components-source/alert-modal/alert-modal.component.d.ts +78 -0
- package/dist/components-source/alert-validation/alert-validation.component.d.ts +21 -0
- package/dist/components-source/badge/badge.component.d.ts +12 -0
- package/dist/components-source/beta-tag/beta-tag.component.d.ts +5 -0
- package/dist/components-source/breadcrumb/breadcrumb.component.d.ts +11 -0
- package/dist/components-source/card-product/card-product.component.d.ts +204 -0
- package/dist/components-source/card-section/card-section.component.d.ts +31 -0
- package/dist/components-source/checkbox-selection-list/checkbox-selection-list.component.d.ts +26 -0
- package/dist/components-source/city-selector/city-selector.component.d.ts +17 -0
- package/dist/components-source/color-picker/color-picker.component.d.ts +73 -0
- package/dist/components-source/confirm-dialog/confirm-dialog.component.d.ts +10 -0
- package/dist/components-source/country-flags/country-flags.component.d.ts +12 -0
- package/dist/components-source/date-picker/date-picker.component.d.ts +27 -0
- package/dist/components-source/date-picker-range/date-picker-range.component.d.ts +26 -0
- package/dist/components-source/dropi-avatars/dropi-avatars.component.d.ts +11 -0
- package/dist/components-source/dropi-badge/dropi-badge.component.d.ts +29 -0
- package/dist/components-source/dropi-banner-external/dropi-banner-external.component.d.ts +19 -0
- package/dist/components-source/dropi-breadcrumb/dropi-breadcrumb.component.d.ts +22 -0
- package/dist/components-source/dropi-card-checkbox/dropi-card-checkbox.component.d.ts +20 -0
- package/dist/components-source/dropi-carousel/dropi-carousel.component.d.ts +52 -0
- package/dist/components-source/dropi-checkbox/dropi-checkbox.component.d.ts +11 -0
- package/dist/components-source/dropi-chips/dropi-chips.component.d.ts +17 -0
- package/dist/components-source/dropi-country-selector/countries.data.d.ts +6 -0
- package/dist/components-source/dropi-country-selector/dropi-country-selector.component.d.ts +90 -0
- package/dist/components-source/dropi-drawer/dropi-drawer.component.d.ts +20 -0
- package/dist/components-source/dropi-dropdown/dropi-dropdown.component.d.ts +20 -0
- package/dist/components-source/dropi-favorite-button/dropi-favorite-button.component.d.ts +12 -0
- package/dist/components-source/dropi-file-upload/card-view/card-view.component.d.ts +19 -0
- package/dist/components-source/dropi-file-upload/drop-zone/drop-zone.component.d.ts +38 -0
- package/dist/components-source/dropi-file-upload/dropi-file-upload.component.d.ts +18 -0
- package/dist/components-source/dropi-file-upload/file-list/file-list.component.d.ts +39 -0
- package/dist/components-source/dropi-file-upload/grid-view/grid-view.component.d.ts +15 -0
- package/dist/components-source/dropi-ilustration-icon/dropi-ilustration-icon.component.d.ts +20 -0
- package/dist/components-source/dropi-image-overlay/dropi-image-overlay.component.d.ts +8 -0
- package/dist/components-source/dropi-languages-selector/dropi-languages-selector.component.d.ts +18 -0
- package/dist/components-source/dropi-logo/dropi-logo.component.d.ts +12 -0
- package/dist/components-source/dropi-modal/dropi-modal.component.d.ts +34 -0
- package/dist/components-source/dropi-modal/p-template.directive.d.ts +9 -0
- package/dist/components-source/dropi-navbar/dropi-navbar.component.d.ts +20 -0
- package/dist/components-source/dropi-paginator/dropi-paginator.component.d.ts +21 -0
- package/dist/components-source/dropi-phone-input/dropi-phone-input.component.d.ts +55 -0
- package/dist/components-source/dropi-radio-button/dropi-radio-button.component.d.ts +17 -0
- package/dist/components-source/dropi-search/dropi-search.component.d.ts +40 -0
- package/dist/components-source/dropi-select/dropi-select.component.d.ts +34 -0
- package/dist/components-source/dropi-skeleton/dropi-skeleton.component.d.ts +14 -0
- package/dist/components-source/dropi-steps/dropi-steps.component.d.ts +64 -0
- package/dist/components-source/dropi-switch/dropi-switch.component.d.ts +11 -0
- package/dist/components-source/dropi-table/dropi-table.component.d.ts +82 -0
- package/dist/components-source/dropi-tag/dropi-tag.component.d.ts +15 -0
- package/dist/components-source/dropi-text-area/dropi-text-area.component.d.ts +14 -0
- package/dist/components-source/dropi-tooltip/dropi-tooltip.component.d.ts +28 -0
- package/dist/components-source/dropi-youtube-lazy-video/dropi-youtube-lazy-video.component.d.ts +16 -0
- package/dist/components-source/empty/empty.component.d.ts +9 -0
- package/dist/components-source/empty-state/empty-state.component.d.ts +17 -0
- package/dist/components-source/file-upload-progress-bar/file-upload-progress-bar.component.d.ts +30 -0
- package/dist/components-source/index.d.ts +85 -0
- package/dist/components-source/input/input.component.d.ts +33 -0
- package/dist/components-source/lottie-loader/lottie-loader.component.d.ts +9 -0
- package/dist/components-source/otp-send-code/otp-send-code.component.d.ts +83 -0
- package/dist/components-source/radio-selection-list/radio-selection-list.component.d.ts +30 -0
- package/dist/components-source/read-more/read-more.component.d.ts +60 -0
- package/dist/components-source/sidebar/sidebar.component.d.ts +27 -0
- package/dist/components-source/simple-stepper/simple-stepper.component.d.ts +21 -0
- package/dist/components-source/spinner/spinner.component.d.ts +9 -0
- package/dist/components-source/tabs/tabs.component.d.ts +27 -0
- package/dist/components-source/tag-type-product/tag-type-product.component.d.ts +5 -0
- package/dist/components-source/toast/toast.component.d.ts +21 -0
- package/dist/components-source/toggle/input-toggle.component.d.ts +11 -0
- package/dist/components-source/tooltip/tooltip.component.d.ts +15 -0
- package/dist/components-source/vertical-steps/vertical-steps.component.d.ts +27 -0
- package/dist/esm2022/components-source/accordion/accordion-item/accordion-item.component.mjs +51 -0
- package/dist/esm2022/components-source/accordion/accordion.component.mjs +46 -0
- package/dist/esm2022/components-source/alert/alert.component.mjs +114 -0
- package/dist/esm2022/components-source/alert-modal/alert-modal.component.mjs +247 -0
- package/dist/esm2022/components-source/alert-validation/alert-validation.component.mjs +53 -0
- package/dist/esm2022/components-source/badge/badge.component.mjs +23 -0
- package/dist/esm2022/components-source/beta-tag/beta-tag.component.mjs +11 -0
- package/dist/esm2022/components-source/breadcrumb/breadcrumb.component.mjs +26 -0
- package/dist/esm2022/components-source/card-product/card-product.component.mjs +534 -0
- package/dist/esm2022/components-source/card-section/card-section.component.mjs +91 -0
- package/dist/esm2022/components-source/checkbox-selection-list/checkbox-selection-list.component.mjs +79 -0
- package/dist/esm2022/components-source/city-selector/city-selector.component.mjs +53 -0
- package/dist/esm2022/components-source/color-picker/color-picker.component.mjs +320 -0
- package/dist/esm2022/components-source/confirm-dialog/confirm-dialog.component.mjs +27 -0
- package/dist/esm2022/components-source/country-flags/country-flags.component.mjs +27 -0
- package/dist/esm2022/components-source/date-picker/date-picker.component.mjs +73 -0
- package/dist/esm2022/components-source/date-picker-range/date-picker-range.component.mjs +67 -0
- package/dist/esm2022/components-source/dropi-avatars/dropi-avatars.component.mjs +31 -0
- package/dist/esm2022/components-source/dropi-badge/dropi-badge.component.mjs +45 -0
- package/dist/esm2022/components-source/dropi-banner-external/dropi-banner-external.component.mjs +39 -0
- package/dist/esm2022/components-source/dropi-breadcrumb/dropi-breadcrumb.component.mjs +45 -0
- package/dist/esm2022/components-source/dropi-card-checkbox/dropi-card-checkbox.component.mjs +53 -0
- package/dist/esm2022/components-source/dropi-carousel/dropi-carousel.component.mjs +243 -0
- package/dist/esm2022/components-source/dropi-checkbox/dropi-checkbox.component.mjs +31 -0
- package/dist/esm2022/components-source/dropi-chips/dropi-chips.component.mjs +38 -0
- package/dist/esm2022/components-source/dropi-country-selector/countries.data.mjs +254 -0
- package/dist/esm2022/components-source/dropi-country-selector/dropi-country-selector.component.mjs +183 -0
- package/dist/esm2022/components-source/dropi-drawer/dropi-drawer.component.mjs +69 -0
- package/dist/esm2022/components-source/dropi-dropdown/dropi-dropdown.component.mjs +59 -0
- package/dist/esm2022/components-source/dropi-favorite-button/dropi-favorite-button.component.mjs +33 -0
- package/dist/esm2022/components-source/dropi-file-upload/card-view/card-view.component.mjs +47 -0
- package/dist/esm2022/components-source/dropi-file-upload/drop-zone/drop-zone.component.mjs +115 -0
- package/dist/esm2022/components-source/dropi-file-upload/dropi-file-upload.component.mjs +66 -0
- package/dist/esm2022/components-source/dropi-file-upload/file-list/file-list.component.mjs +95 -0
- package/dist/esm2022/components-source/dropi-file-upload/grid-view/grid-view.component.mjs +37 -0
- package/dist/esm2022/components-source/dropi-ilustration-icon/dropi-ilustration-icon.component.mjs +59 -0
- package/dist/esm2022/components-source/dropi-image-overlay/dropi-image-overlay.component.mjs +31 -0
- package/dist/esm2022/components-source/dropi-languages-selector/dropi-languages-selector.component.mjs +38 -0
- package/dist/esm2022/components-source/dropi-logo/dropi-logo.component.mjs +27 -0
- package/dist/esm2022/components-source/dropi-modal/dropi-modal.component.mjs +92 -0
- package/dist/esm2022/components-source/dropi-modal/p-template.directive.mjs +22 -0
- package/dist/esm2022/components-source/dropi-navbar/dropi-navbar.component.mjs +51 -0
- package/dist/esm2022/components-source/dropi-paginator/dropi-paginator.component.mjs +89 -0
- package/dist/esm2022/components-source/dropi-phone-input/dropi-phone-input.component.mjs +155 -0
- package/dist/esm2022/components-source/dropi-radio-button/dropi-radio-button.component.mjs +48 -0
- package/dist/esm2022/components-source/dropi-search/dropi-search.component.mjs +104 -0
- package/dist/esm2022/components-source/dropi-select/dropi-select.component.mjs +96 -0
- package/dist/esm2022/components-source/dropi-skeleton/dropi-skeleton.component.mjs +39 -0
- package/dist/esm2022/components-source/dropi-steps/dropi-steps.component.mjs +97 -0
- package/dist/esm2022/components-source/dropi-switch/dropi-switch.component.mjs +22 -0
- package/dist/esm2022/components-source/dropi-table/dropi-table.component.mjs +333 -0
- package/dist/esm2022/components-source/dropi-tag/dropi-tag.component.mjs +36 -0
- package/dist/esm2022/components-source/dropi-text-area/dropi-text-area.component.mjs +53 -0
- package/dist/esm2022/components-source/dropi-tooltip/dropi-tooltip.component.mjs +78 -0
- package/dist/esm2022/components-source/dropi-youtube-lazy-video/dropi-youtube-lazy-video.component.mjs +46 -0
- package/dist/esm2022/components-source/empty/empty.component.mjs +18 -0
- package/dist/esm2022/components-source/empty-state/empty-state.component.mjs +62 -0
- package/dist/esm2022/components-source/file-upload-progress-bar/file-upload-progress-bar.component.mjs +91 -0
- package/dist/esm2022/components-source/index.mjs +107 -0
- package/dist/esm2022/components-source/input/input.component.mjs +104 -0
- package/dist/esm2022/components-source/lottie-loader/lottie-loader.component.mjs +25 -0
- package/dist/esm2022/components-source/otp-send-code/otp-send-code.component.mjs +201 -0
- package/dist/esm2022/components-source/radio-selection-list/radio-selection-list.component.mjs +89 -0
- package/dist/esm2022/components-source/read-more/read-more.component.mjs +91 -0
- package/dist/esm2022/components-source/sidebar/sidebar.component.mjs +88 -0
- package/dist/esm2022/components-source/simple-stepper/simple-stepper.component.mjs +60 -0
- package/dist/esm2022/components-source/spinner/spinner.component.mjs +19 -0
- package/dist/esm2022/components-source/tabs/tabs.component.mjs +83 -0
- package/dist/esm2022/components-source/tag-type-product/tag-type-product.component.mjs +11 -0
- package/dist/esm2022/components-source/toast/toast.component.mjs +47 -0
- package/dist/esm2022/components-source/toggle/input-toggle.component.mjs +36 -0
- package/dist/esm2022/components-source/tooltip/tooltip.component.mjs +34 -0
- package/dist/esm2022/components-source/vertical-steps/vertical-steps.component.mjs +75 -0
- package/dist/esm2022/lib/elements-registry.mjs +343 -2
- package/dist/esm2022/utilities/interfaces/ui/dropi-table.interface.mjs +2 -0
- package/dist/esm2022/utilities/interfaces/ui/input-interface.mjs +2 -0
- package/dist/esm2022/utilities/interfaces/ui/select-interface.mjs +2 -0
- package/dist/esm2022/utilities/interfaces/ui/selection-list-interface.mjs +2 -0
- package/dist/esm2022/utilities/interfaces/ui/upload.model.mjs +5 -0
- package/dist/fesm2022/dropi-ui-components.mjs +5913 -2
- package/dist/fesm2022/dropi-ui-components.mjs.map +1 -1
- package/dist/utilities/interfaces/ui/dropi-table.interface.d.ts +45 -0
- package/dist/utilities/interfaces/ui/input-interface.d.ts +33 -0
- package/dist/utilities/interfaces/ui/select-interface.d.ts +8 -0
- package/dist/utilities/interfaces/ui/selection-list-interface.d.ts +24 -0
- package/dist/utilities/interfaces/ui/upload.model.d.ts +30 -0
- package/package.json +18 -6
- package/src/components-source/alert/alert.component.ts +12 -129
- package/src/components-source/alert-modal/alert-modal.component.ts +84 -114
- package/src/components-source/alert-validation/alert-validation.component.html +8 -0
- package/src/components-source/alert-validation/alert-validation.component.scss +225 -0
- package/src/components-source/alert-validation/alert-validation.component.ts +43 -0
- package/src/components-source/beta-tag/beta-tag.component.html +1 -0
- package/src/components-source/beta-tag/beta-tag.component.scss +26 -0
- package/src/components-source/beta-tag/beta-tag.component.ts +11 -0
- package/src/components-source/breadcrumb/breadcrumb.component.html +13 -5
- package/src/components-source/breadcrumb/breadcrumb.component.scss +8 -1
- package/src/components-source/breadcrumb/breadcrumb.component.spec.ts +26 -26
- package/src/components-source/breadcrumb/breadcrumb.component.ts +10 -12
- package/src/components-source/card-product/card-product.component.spec.ts +9 -9
- package/src/components-source/card-product/card-product.component.stories.ts +2 -2
- package/src/components-source/card-product/card-product.component.ts +294 -818
- package/src/components-source/card-section/card-section.component.html +7 -7
- package/src/components-source/card-section/card-section.component.ts +41 -15
- package/src/components-source/checkbox-selection-list/checkbox-selection-list.component.ts +42 -179
- package/src/components-source/city-selector/city-selector.component.ts +37 -137
- package/src/components-source/confirm-dialog/confirm-dialog.component.html +26 -0
- package/src/components-source/confirm-dialog/confirm-dialog.component.scss +55 -0
- package/src/components-source/confirm-dialog/confirm-dialog.component.ts +22 -0
- package/src/components-source/country-flags/country-flags.component.ts +20 -12
- package/src/components-source/date-picker/date-picker.component.ts +32 -292
- package/src/components-source/date-picker-range/date-picker-range.component.html +15 -7
- package/src/components-source/date-picker-range/date-picker-range.component.ts +42 -235
- package/src/components-source/dropi-banner-external/dropi-banner-external.component.ts +24 -185
- package/src/components-source/dropi-breadcrumb/dropi-breadcrumb.component.html +21 -21
- package/src/components-source/dropi-breadcrumb/dropi-breadcrumb.component.spec.ts +9 -9
- package/src/components-source/dropi-breadcrumb/dropi-breadcrumb.component.ts +41 -23
- package/src/components-source/dropi-breadcrumb/dropi-breadcrumb.stories.ts +12 -12
- package/src/components-source/dropi-chips/dropi-chips.component.ts +22 -87
- package/src/components-source/dropi-country-selector/countries.data.ts +256 -236
- package/src/components-source/dropi-country-selector/dropi-country-selector.component.ts +37 -25
- package/src/components-source/dropi-drawer/dropi-drawer.component.ts +91 -78
- package/src/components-source/dropi-dropdown/dropi-dropdown.component.ts +44 -47
- package/src/components-source/dropi-file-upload/card-view/card-view.component.ts +33 -53
- package/src/components-source/dropi-file-upload/drop-zone/drop-zone.component.ts +52 -123
- package/src/components-source/dropi-file-upload/dropi-file-upload.component.ts +38 -294
- package/src/components-source/dropi-file-upload/file-list/file-list.component.ts +62 -43
- package/src/components-source/dropi-file-upload/grid-view/grid-view.component.ts +23 -22
- package/src/components-source/dropi-ilustration-icon/dropi-ilustration-icon.component.scss +6 -2
- package/src/components-source/dropi-image-overlay/dropi-image-overlay.component.ts +16 -71
- package/src/components-source/dropi-modal/dropi-modal.component.ts +56 -372
- package/src/components-source/dropi-navbar/dropi-navbar.component.ts +17 -17
- package/src/components-source/dropi-paginator/dropi-paginator.component.html +18 -7
- package/src/components-source/dropi-paginator/dropi-paginator.component.ts +40 -32
- package/src/components-source/dropi-phone-input/dropi-phone-input.component.html +78 -79
- package/src/components-source/dropi-phone-input/dropi-phone-input.component.ts +29 -85
- package/src/components-source/dropi-search/dropi-search.component.ts +59 -222
- package/src/components-source/dropi-select/dropi-select.component.html +82 -131
- package/src/components-source/dropi-select/dropi-select.component.ts +60 -423
- package/src/components-source/dropi-table/dropi-table.component.html +40 -23
- package/src/components-source/dropi-table/dropi-table.component.ts +130 -374
- package/src/components-source/dropi-tag/dropi-tag.component.ts +20 -90
- package/src/components-source/dropi-text-area/dropi-text-area.component.ts +22 -48
- package/src/components-source/dropi-tooltip/dropi-tooltip.component.ts +40 -129
- package/src/components-source/empty/empty.component.html +3 -0
- package/src/components-source/empty/empty.component.scss +0 -0
- package/src/components-source/empty/empty.component.ts +16 -0
- package/src/components-source/empty-state/empty-state.component.ts +47 -19
- package/src/components-source/index.ts +82 -37
- package/src/components-source/input/input.component.html +79 -63
- package/src/components-source/input/input.component.ts +51 -97
- package/src/components-source/lottie-loader/lottie-loader.component.ts +13 -16
- package/src/components-source/otp-send-code/otp-send-code.component.ts +60 -528
- package/src/components-source/radio-selection-list/radio-selection-list.component.ts +36 -97
- package/src/components-source/sidebar/sidebar.component.spec.ts +11 -11
- package/src/components-source/sidebar/sidebar.component.stories.ts +3 -3
- package/src/components-source/sidebar/sidebar.component.ts +51 -47
- package/src/components-source/simple-stepper/simple-stepper.component.ts +20 -35
- package/src/components-source/spinner/spinner.component.html +6 -0
- package/src/components-source/spinner/spinner.component.scss +15 -0
- package/src/components-source/spinner/spinner.component.ts +17 -0
- package/src/components-source/tabs/tabs.component.spec.ts +8 -8
- package/src/components-source/tabs/tabs.component.stories.ts +5 -5
- package/src/components-source/tabs/tabs.component.ts +41 -83
- package/src/components-source/toast/toast.component.ts +40 -46
- package/src/components-source/toggle/input-toggle.component.html +34 -0
- package/src/components-source/toggle/input-toggle.component.scss +0 -0
- package/src/components-source/toggle/input-toggle.component.ts +27 -0
- package/src/components-source/toggle/inputToggleConfig.ts +11 -0
- package/src/components-source/tooltip/tooltip.component.html +22 -11
- package/src/components-source/tooltip/tooltip.component.ts +28 -13
- package/src/components-source/vertical-steps/vertical-steps.component.ts +16 -78
- package/src/lib/elements-registry.ts +413 -1
- package/src/lib/router-stub.ts +7 -0
- package/src/libreria work space.code-workspace +11 -8
- package/src/utilities/interfaces/ui/dropi-table.interface.ts +60 -0
- package/src/utilities/interfaces/ui/input-interface.ts +34 -0
- package/src/utilities/interfaces/ui/select-interface.ts +8 -0
- package/src/utilities/interfaces/ui/selection-list-interface.ts +15 -0
- package/src/utilities/interfaces/ui/upload.model.ts +41 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DropiTooltipComponent implements OnInit {
|
|
4
|
+
text: string;
|
|
5
|
+
maxWidth: string;
|
|
6
|
+
minWidth: string;
|
|
7
|
+
position: "top" | "bottom" | "left" | "right";
|
|
8
|
+
arrowPosition: "start" | "center" | "end";
|
|
9
|
+
trigger: "hover" | "click" | "focus";
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
showIcon: boolean;
|
|
12
|
+
iconName: string;
|
|
13
|
+
iconColor: string;
|
|
14
|
+
iconSize: string;
|
|
15
|
+
showX: boolean;
|
|
16
|
+
isVisible: boolean;
|
|
17
|
+
displayContent: string;
|
|
18
|
+
constructor();
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
onMouseEnter(): void;
|
|
21
|
+
onMouseLeave(): void;
|
|
22
|
+
onClick(): void;
|
|
23
|
+
onFocus(): void;
|
|
24
|
+
onBlur(): void;
|
|
25
|
+
onCloseClick(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropiTooltipComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropiTooltipComponent, "app-dropi-tooltip", never, { "text": { "alias": "text"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "position": { "alias": "position"; "required": false; }; "arrowPosition": { "alias": "arrowPosition"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "showX": { "alias": "showX"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
28
|
+
}
|
package/dist/components-source/dropi-youtube-lazy-video/dropi-youtube-lazy-video.component.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DropiYoutubeLazyVideoComponent {
|
|
4
|
+
private sanitizer;
|
|
5
|
+
videoId: string;
|
|
6
|
+
thumbnailSrc: string;
|
|
7
|
+
videoTitle: string;
|
|
8
|
+
isPlaying: boolean;
|
|
9
|
+
safeVideoUrl: SafeResourceUrl | null;
|
|
10
|
+
constructor(sanitizer: DomSanitizer);
|
|
11
|
+
get thumbnail(): string;
|
|
12
|
+
playVideo(): void;
|
|
13
|
+
onImageError(event: Event): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropiYoutubeLazyVideoComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropiYoutubeLazyVideoComponent, "dropi-youtube-lazy-video", never, { "videoId": { "alias": "videoId"; "required": false; }; "thumbnailSrc": { "alias": "thumbnailSrc"; "required": false; }; "videoTitle": { "alias": "videoTitle"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EmptyComponent implements OnInit {
|
|
4
|
+
text: string;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyComponent, "app-empty", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EmptyStateComponent implements OnInit {
|
|
4
|
+
private readonly settingsService;
|
|
5
|
+
buttonText: string;
|
|
6
|
+
description: string;
|
|
7
|
+
buttonSeverity: "primary" | "secondary" | "tertiary";
|
|
8
|
+
title: string;
|
|
9
|
+
buttonClickEvent: EventEmitter<any>;
|
|
10
|
+
brandName: string;
|
|
11
|
+
dropiIcon: "success" | "error" | "warning" | "info" | "default" | "loading" | "sorry";
|
|
12
|
+
constructor(settingsService: any);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
buttonClick(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "app-empty-state", never, { "buttonText": { "alias": "buttonText"; "required": false; }; "description": { "alias": "description"; "required": false; }; "buttonSeverity": { "alias": "buttonSeverity"; "required": false; }; "title": { "alias": "title"; "required": false; }; "dropiIcon": { "alias": "dropiIcon"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; }, never, never, true, never>;
|
|
17
|
+
}
|
package/dist/components-source/file-upload-progress-bar/file-upload-progress-bar.component.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FileUploadProgressBarComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
textFile: string;
|
|
6
|
+
progress: number;
|
|
7
|
+
type: 'image' | 'file';
|
|
8
|
+
ulrImage: string;
|
|
9
|
+
isPreview: boolean;
|
|
10
|
+
deleteFile: EventEmitter<any>;
|
|
11
|
+
uploadComplete: EventEmitter<any>;
|
|
12
|
+
viewFile: EventEmitter<any>;
|
|
13
|
+
fileExtension: string;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
+
checkProgress(): void;
|
|
17
|
+
deleteFileAction(): void;
|
|
18
|
+
viewEmiter(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Extrae la extensión de un archivo y determina si es una imagen
|
|
21
|
+
* @param fileName Nombre del archivo (ej: 'documento.pdf' o 'foto.jpg')
|
|
22
|
+
* @returns Objeto con la extensión y un booleano indicando si es imagen
|
|
23
|
+
*/
|
|
24
|
+
getFileExtensionInfo(fileName: string): {
|
|
25
|
+
extension: string;
|
|
26
|
+
isImage: boolean;
|
|
27
|
+
};
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadProgressBarComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadProgressBarComponent, "app-file-upload-progress-bar", never, { "textFile": { "alias": "textFile"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "type": { "alias": "type"; "required": false; }; "ulrImage": { "alias": "ulrImage"; "required": false; }; "isPreview": { "alias": "isPreview"; "required": false; }; }, { "deleteFile": "deleteFile"; "uploadComplete": "uploadComplete"; "viewFile": "viewFile"; }, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UI Dropi Components - Barrel Exports
|
|
3
|
+
*
|
|
4
|
+
* Este archivo exporta todos los componentes UI standalone.
|
|
5
|
+
* Uso: import { IconComponent, AlertComponent } from '@app/ui';
|
|
6
|
+
*
|
|
7
|
+
* Para importar todos: import * as UiComponents from '@app/ui';
|
|
8
|
+
*/
|
|
9
|
+
export { DatePickerRangeComponent } from "./date-picker-range/date-picker-range.component";
|
|
10
|
+
export { DatePickerComponent } from "./date-picker/date-picker.component";
|
|
11
|
+
export { TooltipComponent } from "./tooltip/tooltip.component";
|
|
12
|
+
export { DropiTooltipComponent } from "./dropi-tooltip/dropi-tooltip.component";
|
|
13
|
+
export { TagTypeProductComponent } from "./tag-type-product/tag-type-product.component";
|
|
14
|
+
export { DropiTagComponent } from "./dropi-tag/dropi-tag.component";
|
|
15
|
+
export { DropiChipsComponent } from "./dropi-chips/dropi-chips.component";
|
|
16
|
+
export { DropiBannerExternalComponent } from "./dropi-banner-external/dropi-banner-external.component";
|
|
17
|
+
export { AlertValidationComponent } from "./alert-validation/alert-validation.component";
|
|
18
|
+
export { BetaTagComponent } from "./beta-tag/beta-tag.component";
|
|
19
|
+
export { AlertModalComponent } from "./alert-modal/alert-modal.component";
|
|
20
|
+
export { AlertComponent } from "./alert/alert.component";
|
|
21
|
+
export { ConfirmDialogComponent } from "./confirm-dialog/confirm-dialog.component";
|
|
22
|
+
export { DropiModalComponent } from "./dropi-modal/dropi-modal.component";
|
|
23
|
+
export { PTemplateDirective } from "./dropi-modal/p-template.directive";
|
|
24
|
+
export { SimpleStepperComponent } from "./simple-stepper/simple-stepper.component";
|
|
25
|
+
export { BreadcrumbComponent } from "./breadcrumb/breadcrumb.component";
|
|
26
|
+
export { TabsComponent } from "./tabs/tabs.component";
|
|
27
|
+
export { DropiStepsComponent } from "./dropi-steps/dropi-steps.component";
|
|
28
|
+
export { VerticalStepsComponent } from "./vertical-steps/vertical-steps.component";
|
|
29
|
+
export type { VerticalStep, VerticalStepState, } from "./vertical-steps/vertical-steps.component";
|
|
30
|
+
export { DropiPaginatorComponent } from "./dropi-paginator/dropi-paginator.component";
|
|
31
|
+
export { DropiBreadcrumbComponent } from "./dropi-breadcrumb/dropi-breadcrumb.component";
|
|
32
|
+
export { DropiLanguagesSelectorComponent } from "./dropi-languages-selector/dropi-languages-selector.component";
|
|
33
|
+
export { CitySelectorComponent } from "./city-selector/city-selector.component";
|
|
34
|
+
export { DropiSelectComponent } from "./dropi-select/dropi-select.component";
|
|
35
|
+
export { RadioSelectionListComponent } from "./radio-selection-list/radio-selection-list.component";
|
|
36
|
+
export { CheckboxSelectionListComponent } from "./checkbox-selection-list/checkbox-selection-list.component";
|
|
37
|
+
export { DropiCheckboxComponent } from "./dropi-checkbox/dropi-checkbox.component";
|
|
38
|
+
export { DropiRadioButtonComponent } from "./dropi-radio-button/dropi-radio-button.component";
|
|
39
|
+
export { LottieLoaderComponent } from "./lottie-loader/lottie-loader.component";
|
|
40
|
+
export { ToastComponent } from "./toast/toast.component";
|
|
41
|
+
export { FileUploadProgressBarComponent } from "./file-upload-progress-bar/file-upload-progress-bar.component";
|
|
42
|
+
export { DropiIlustrationIconComponent } from "./dropi-ilustration-icon/dropi-ilustration-icon.component";
|
|
43
|
+
export { SpinnerComponent } from "./spinner/spinner.component";
|
|
44
|
+
export { AccordionComponent } from "./accordion/accordion.component";
|
|
45
|
+
export { AccordionItemComponent } from "./accordion/accordion-item/accordion-item.component";
|
|
46
|
+
export { ReadMoreComponent } from "./read-more/read-more.component";
|
|
47
|
+
export { EmptyComponent } from "./empty/empty.component";
|
|
48
|
+
export { IconComponent } from "./icon/icon.component";
|
|
49
|
+
export { DropiImageOverlayComponent } from "./dropi-image-overlay/dropi-image-overlay.component";
|
|
50
|
+
export { DropiLogoComponent } from "./dropi-logo/dropi-logo.component";
|
|
51
|
+
export { DropiAvatarsComponent } from "./dropi-avatars/dropi-avatars.component";
|
|
52
|
+
export { CountryFlagsComponent } from "./country-flags/country-flags.component";
|
|
53
|
+
export { InputComponent } from "./input/input.component";
|
|
54
|
+
export { DropiSwitchComponent } from "./dropi-switch/dropi-switch.component";
|
|
55
|
+
export { DropiSearchComponent } from "./dropi-search/dropi-search.component";
|
|
56
|
+
export { OtpSendCodeComponent } from "./otp-send-code/otp-send-code.component";
|
|
57
|
+
export { DropiTextAreaComponent } from "./dropi-text-area/dropi-text-area.component";
|
|
58
|
+
export { DropiPhoneInputComponent } from "./dropi-phone-input/dropi-phone-input.component";
|
|
59
|
+
export { InputToggleComponent } from "./toggle/input-toggle.component";
|
|
60
|
+
export { DropiCarouselComponent } from "./dropi-carousel/dropi-carousel.component";
|
|
61
|
+
export { DropiYoutubeLazyVideoComponent } from "./dropi-youtube-lazy-video/dropi-youtube-lazy-video.component";
|
|
62
|
+
export { ButtonComponent, ButtonComponent as DropiButtonComponent, } from "./dropi-button/dropi-button.component";
|
|
63
|
+
export { DropiTableComponent } from "./dropi-table/dropi-table.component";
|
|
64
|
+
export { DropiFavoriteButtonComponent } from "./dropi-favorite-button/dropi-favorite-button.component";
|
|
65
|
+
export { DropiCardCheckboxComponent } from "./dropi-card-checkbox/dropi-card-checkbox.component";
|
|
66
|
+
export { CardSectionComponent } from "./card-section/card-section.component";
|
|
67
|
+
export { CardProductComponent } from "./card-product/card-product.component";
|
|
68
|
+
export { ColorPickerComponent } from "./color-picker/color-picker.component";
|
|
69
|
+
export { DropiBadgeComponent } from "./dropi-badge/dropi-badge.component";
|
|
70
|
+
export { BadgeComponent } from "./badge/badge.component";
|
|
71
|
+
export { DropiSkeletonComponent } from "./dropi-skeleton/dropi-skeleton.component";
|
|
72
|
+
export { EmptyStateComponent } from "./empty-state/empty-state.component";
|
|
73
|
+
export { DropiFileUploadComponent } from "./dropi-file-upload/dropi-file-upload.component";
|
|
74
|
+
export { DropZoneComponent } from "./dropi-file-upload/drop-zone/drop-zone.component";
|
|
75
|
+
export { DropiCountrySelectorComponent } from "./dropi-country-selector/dropi-country-selector.component";
|
|
76
|
+
export { DropiDrawerComponent } from "./dropi-drawer/dropi-drawer.component";
|
|
77
|
+
export { SidebarComponent } from "./sidebar/sidebar.component";
|
|
78
|
+
export { DropiNavBarComponent } from "./dropi-navbar/dropi-navbar.component";
|
|
79
|
+
export { DropiDropdownComponent } from "./dropi-dropdown/dropi-dropdown.component";
|
|
80
|
+
/**
|
|
81
|
+
* Array con todos los componentes UI para importar en módulos
|
|
82
|
+
* Uso en imports de @NgModule o standalone component:
|
|
83
|
+
* imports: [...UI_COMPONENTS]
|
|
84
|
+
*/
|
|
85
|
+
export declare const UI_COMPONENTS: readonly [];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { InputProperties } from "../../utilities/interfaces/ui/input-interface";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ThousandSeparatorDirectiveStub {
|
|
5
|
+
applyFormat: boolean;
|
|
6
|
+
showCurrency: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThousandSeparatorDirectiveStub, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThousandSeparatorDirectiveStub, "[appThousandSeparator]", never, { "applyFormat": { "alias": "applyFormat"; "required": false; }; "showCurrency": { "alias": "showCurrency"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare class OnlyNumbersDirectiveStub {
|
|
11
|
+
applyOnlyNumbers: boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnlyNumbersDirectiveStub, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OnlyNumbersDirectiveStub, "[appOnlyNumbers]", never, { "applyOnlyNumbers": { "alias": "applyOnlyNumbers"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
export declare class OnlyLettersDirectiveStub {
|
|
16
|
+
applyOnlyLetters: boolean;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnlyLettersDirectiveStub, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OnlyLettersDirectiveStub, "[appOnlyLetters]", never, { "applyOnlyLetters": { "alias": "applyOnlyLetters"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
20
|
+
export declare class InputComponent implements OnInit {
|
|
21
|
+
inputProperties: InputProperties;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
showObligatoryAsterisk: boolean;
|
|
24
|
+
showPassword: boolean;
|
|
25
|
+
fixedLabel: boolean;
|
|
26
|
+
showAsterisk: boolean;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
showOrHidePassword(): void;
|
|
29
|
+
isRequired(): boolean;
|
|
30
|
+
getErrorMessage(): string;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "app-input", never, { "inputProperties": { "alias": "inputProperties"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showObligatoryAsterisk": { "alias": "showObligatoryAsterisk"; "required": false; }; "showPassword": { "alias": "showPassword"; "required": false; }; "fixedLabel": { "alias": "fixedLabel"; "required": false; }; "showAsterisk": { "alias": "showAsterisk"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LottieLoaderComponent {
|
|
3
|
+
loadingAnimation: string;
|
|
4
|
+
visible: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
message: string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LottieLoaderComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LottieLoaderComponent, "app-lottie-loader", never, { "loadingAnimation": { "alias": "loadingAnimation"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, QueryList } from "@angular/core";
|
|
2
|
+
import { FormArray, AbstractControl, ValidationErrors, ControlValueAccessor, Validator } from "@angular/forms";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface DialogParams {
|
|
5
|
+
type: "question" | "info" | "error" | "success" | "";
|
|
6
|
+
tittle: string;
|
|
7
|
+
message: string;
|
|
8
|
+
primaryButton: string;
|
|
9
|
+
secondaryButton?: string;
|
|
10
|
+
loadingTitle?: string;
|
|
11
|
+
loadingMessage?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class OtpSendCodeComponent implements ControlValueAccessor, Validator {
|
|
14
|
+
settingsService: any;
|
|
15
|
+
apiService: any;
|
|
16
|
+
segurityCodeService: any;
|
|
17
|
+
twoFactorService: any;
|
|
18
|
+
loginService: any;
|
|
19
|
+
private cd;
|
|
20
|
+
inputEls: QueryList<ElementRef<HTMLInputElement>>;
|
|
21
|
+
codeCompleted: EventEmitter<string>;
|
|
22
|
+
codeAccepted: EventEmitter<boolean>;
|
|
23
|
+
modulename: string;
|
|
24
|
+
engine: string;
|
|
25
|
+
userID: number;
|
|
26
|
+
emailSend: string;
|
|
27
|
+
typeAlert: number;
|
|
28
|
+
paramSendCode: any;
|
|
29
|
+
showLabelContact: boolean;
|
|
30
|
+
typeLabelContact: number;
|
|
31
|
+
labelContact: string;
|
|
32
|
+
typeBadge: number;
|
|
33
|
+
inputs: FormArray<any>;
|
|
34
|
+
timeLeft: number;
|
|
35
|
+
typeTimeLeft: string;
|
|
36
|
+
isVisibleAlert: boolean;
|
|
37
|
+
isMaximumAttempts: boolean;
|
|
38
|
+
paramsDialog: DialogParams;
|
|
39
|
+
failedValidation: boolean;
|
|
40
|
+
loadingValidation: boolean;
|
|
41
|
+
sendingCode: boolean;
|
|
42
|
+
emailOTP: string;
|
|
43
|
+
errorEmailOTP: boolean;
|
|
44
|
+
errorSendOTP: boolean;
|
|
45
|
+
shouldShowAlert: boolean;
|
|
46
|
+
applySendCode: boolean;
|
|
47
|
+
errorMessageValidation: string;
|
|
48
|
+
showLabelSendContact: boolean;
|
|
49
|
+
typeContact: string;
|
|
50
|
+
paramsAlert: {
|
|
51
|
+
state: string;
|
|
52
|
+
message: string;
|
|
53
|
+
show: boolean;
|
|
54
|
+
};
|
|
55
|
+
sendTotalSeconds: number;
|
|
56
|
+
validationTotalSeconds: number;
|
|
57
|
+
constructor(settingsService: any, apiService: any, segurityCodeService: any, twoFactorService: any, loginService: any, cd: ChangeDetectorRef);
|
|
58
|
+
onChange?: (value: string) => void;
|
|
59
|
+
onTouched?: () => void;
|
|
60
|
+
ngOnInit(): void;
|
|
61
|
+
sendCode(): void;
|
|
62
|
+
validateCode(otpValue: string): void;
|
|
63
|
+
writeValue(value: string): void;
|
|
64
|
+
registerOnChange(fn: any): void;
|
|
65
|
+
registerOnTouched(fn: any): void;
|
|
66
|
+
setDisabledState(isDisabled: boolean): void;
|
|
67
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
68
|
+
handleKeyDown(e: KeyboardEvent, idx: number): void;
|
|
69
|
+
handleInput(e: Event, idx: number): void;
|
|
70
|
+
handleKeyPress(e: KeyboardEvent, idx: number): void;
|
|
71
|
+
handlePaste(e: ClipboardEvent, idx: number): void;
|
|
72
|
+
handleFocus(e: FocusEvent): void;
|
|
73
|
+
updateValue(): void;
|
|
74
|
+
startTimer(): void;
|
|
75
|
+
stopTimer(): void;
|
|
76
|
+
showSuccessAlert(msg: string): void;
|
|
77
|
+
showErrorAlert(msg: string): void;
|
|
78
|
+
isNumeric(value: string): boolean;
|
|
79
|
+
calculateMinutes(prop: string): number;
|
|
80
|
+
calculateSeconds(prop: string): number;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OtpSendCodeComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OtpSendCodeComponent, "otp-send-code", never, { "modulename": { "alias": "modulename"; "required": false; }; "engine": { "alias": "engine"; "required": false; }; "userID": { "alias": "userID"; "required": false; }; "emailSend": { "alias": "emailSend"; "required": false; }; "typeAlert": { "alias": "typeAlert"; "required": false; }; "paramSendCode": { "alias": "paramSendCode"; "required": false; }; "showLabelContact": { "alias": "showLabelContact"; "required": false; }; "typeLabelContact": { "alias": "typeLabelContact"; "required": false; }; "labelContact": { "alias": "labelContact"; "required": false; }; "typeBadge": { "alias": "typeBadge"; "required": false; }; }, { "codeCompleted": "codeCompleted"; "codeAccepted": "codeAccepted"; }, never, never, true, never>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
2
|
+
import { FormControl } from "@angular/forms";
|
|
3
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
+
import { Option } from "../../utilities/interfaces/ui/selection-list-interface";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RadioSelectionListComponent implements OnInit {
|
|
7
|
+
private readonly translateService;
|
|
8
|
+
extraContent: TemplateRef<any> | null;
|
|
9
|
+
withExtraContentId: string | null;
|
|
10
|
+
options: Option[];
|
|
11
|
+
typeLayout: "description" | "default" | string;
|
|
12
|
+
alwaysShowDescription: boolean;
|
|
13
|
+
selectedOption?: string;
|
|
14
|
+
showFilter: boolean;
|
|
15
|
+
filterPlaceholder: string;
|
|
16
|
+
searchDelay: number;
|
|
17
|
+
valueChange: EventEmitter<string>;
|
|
18
|
+
onSearch: EventEmitter<any>;
|
|
19
|
+
private readonly subscriptions;
|
|
20
|
+
searchControl: FormControl<string>;
|
|
21
|
+
filteredOptions: Option[];
|
|
22
|
+
constructor(translateService: TranslateService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
filterOption(optionName: any): void;
|
|
26
|
+
selectOption(optionId: string): void;
|
|
27
|
+
clearSearchInput(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioSelectionListComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioSelectionListComponent, "app-radio-selection-list", never, { "extraContent": { "alias": "extraContent"; "required": false; }; "withExtraContentId": { "alias": "withExtraContentId"; "required": false; }; "options": { "alias": "options"; "required": false; }; "typeLayout": { "alias": "typeLayout"; "required": false; }; "alwaysShowDescription": { "alias": "alwaysShowDescription"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; "showFilter": { "alias": "showFilter"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "searchDelay": { "alias": "searchDelay"; "required": false; }; }, { "valueChange": "valueChange"; "onSearch": "onSearch"; }, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* A component that displays a truncated version of a text string, with an option
|
|
4
|
+
* to expand the text to its full length.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <app-read-more
|
|
8
|
+
* [text]="'This is a very long text'"
|
|
9
|
+
* [maxCharacters]="150"
|
|
10
|
+
* [textStyle]="'font-size: 14px'"
|
|
11
|
+
* [buttonStyle]="'color: blue'"
|
|
12
|
+
* [showSeeLess]="true"
|
|
13
|
+
* ></app-read-more>
|
|
14
|
+
*/
|
|
15
|
+
export declare class ReadMoreComponent {
|
|
16
|
+
/**
|
|
17
|
+
* Text to be displayed
|
|
18
|
+
*/
|
|
19
|
+
text: string;
|
|
20
|
+
/**
|
|
21
|
+
* Maximum number of words to display before truncating the text
|
|
22
|
+
*/
|
|
23
|
+
maxWords: number;
|
|
24
|
+
/**
|
|
25
|
+
* CSS styles for the text element
|
|
26
|
+
*/
|
|
27
|
+
textStyle: string;
|
|
28
|
+
/**
|
|
29
|
+
* CSS styles for the expand/collapse button
|
|
30
|
+
*/
|
|
31
|
+
buttonStyle: string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether to show the "see less" button when the text is expanded
|
|
34
|
+
*/
|
|
35
|
+
showSeeLess: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Current state of the component, expanded or not
|
|
38
|
+
*/
|
|
39
|
+
isExpanded: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Truncated version of the text
|
|
42
|
+
*/
|
|
43
|
+
truncatedText: string;
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Truncates the text to the maxWords limit if it is longer than
|
|
47
|
+
* that. If the text is shorter than maxWords, it is returned verbatim.
|
|
48
|
+
* If isExpanded is true, the text is not truncated.
|
|
49
|
+
*/
|
|
50
|
+
truncateText(): string;
|
|
51
|
+
/**
|
|
52
|
+
* Toggle the expanded state of the text. If the text is currently expanded,
|
|
53
|
+
* calling this function will truncate it to the maxCharacters limit. If the
|
|
54
|
+
* text is currently truncated, calling this function will expand it to its
|
|
55
|
+
* full length.
|
|
56
|
+
*/
|
|
57
|
+
toggleExpanded(): void;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReadMoreComponent, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReadMoreComponent, "app-read-more", never, { "text": { "alias": "text"; "required": false; }; "maxWords": { "alias": "maxWords"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "showSeeLess": { "alias": "showSeeLess"; "required": false; }; }, {}, never, never, true, never>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnDestroy } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface SidebarProperties {
|
|
4
|
+
id: number;
|
|
5
|
+
icon: string;
|
|
6
|
+
text: string;
|
|
7
|
+
route: string;
|
|
8
|
+
expandedMenu?: boolean;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
subItems?: SidebarProperties[];
|
|
11
|
+
}
|
|
12
|
+
export declare class SidebarComponent implements OnInit, OnDestroy {
|
|
13
|
+
private router;
|
|
14
|
+
sideBarProperties: SidebarProperties[];
|
|
15
|
+
onIndexChanged: EventEmitter<SidebarProperties>;
|
|
16
|
+
private subscriptions;
|
|
17
|
+
constructor(router: any);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
handleUrlChange(): void;
|
|
21
|
+
setActiveIndex(route: string): void;
|
|
22
|
+
setExpandedPropertie(id: number): void;
|
|
23
|
+
onItemClick(itemClicked: SidebarProperties): void;
|
|
24
|
+
onSubItemClick(itemClicked: SidebarProperties): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "app-sidebar", never, { "sideBarProperties": { "alias": "sideBarProperties"; "required": false; }; }, { "onIndexChanged": "onIndexChanged"; }, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare enum FlowMode {
|
|
4
|
+
Simultaneous = "simultaneous",
|
|
5
|
+
Sequential = "sequential"
|
|
6
|
+
}
|
|
7
|
+
export declare class SimpleStepperComponent implements OnInit {
|
|
8
|
+
stepsCount: number;
|
|
9
|
+
typeStep: string;
|
|
10
|
+
currentStep: number;
|
|
11
|
+
labelStepper: Array<string>;
|
|
12
|
+
flowMode: FlowMode;
|
|
13
|
+
white_brand: string;
|
|
14
|
+
steps: number[];
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
isLineActive(index: number): boolean;
|
|
17
|
+
isCircleActive(index: number): boolean;
|
|
18
|
+
get secondaryColor(): string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleStepperComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleStepperComponent, "app-simple-stepper", never, { "stepsCount": { "alias": "stepsCount"; "required": false; }; "typeStep": { "alias": "typeStep"; "required": false; }; "currentStep": { "alias": "currentStep"; "required": false; }; "labelStepper": { "alias": "labelStepper"; "required": false; }; "flowMode": { "alias": "flowMode"; "required": false; }; "white_brand": { "alias": "white_brand"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SpinnerComponent implements OnInit {
|
|
4
|
+
loading: boolean;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "app-spinner", never, { "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface TabProperties {
|
|
4
|
+
id: number;
|
|
5
|
+
label: string;
|
|
6
|
+
route: string;
|
|
7
|
+
completed?: boolean;
|
|
8
|
+
counter?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare class TabsComponent implements OnInit, OnDestroy {
|
|
12
|
+
private readonly router;
|
|
13
|
+
configuration: TabProperties[];
|
|
14
|
+
showIcon: boolean;
|
|
15
|
+
onIndexChanged: EventEmitter<TabProperties>;
|
|
16
|
+
activeTab: number;
|
|
17
|
+
stopAction: boolean;
|
|
18
|
+
private readonly subscriptions;
|
|
19
|
+
constructor(router: any);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
validateUrlChange(): void;
|
|
23
|
+
setActiveTabByRoute(route: string): void;
|
|
24
|
+
onTabClick(tabClicked: TabProperties): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "app-tabs", never, { "configuration": { "alias": "configuration"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "activeTab": { "alias": "activeTab"; "required": false; }; "stopAction": { "alias": "stopAction"; "required": false; }; }, { "onIndexChanged": "onIndexChanged"; }, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TagTypeProductComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagTypeProductComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagTypeProductComponent, "tag-type-product", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface ToastProps {
|
|
4
|
+
message?: string;
|
|
5
|
+
type?: "success" | "error" | "info" | "warning";
|
|
6
|
+
show?: boolean;
|
|
7
|
+
severity?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class ToastComponent implements OnInit {
|
|
10
|
+
private readonly toastService;
|
|
11
|
+
settingsService: any;
|
|
12
|
+
toastProperties: ToastProps;
|
|
13
|
+
brandIsDropi: boolean;
|
|
14
|
+
animations: any;
|
|
15
|
+
icons: any;
|
|
16
|
+
message: any;
|
|
17
|
+
constructor(toastService: any, settingsService: any);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "app-toast", never, { "toastProperties": { "alias": "toastProperties"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InputToggleComponent {
|
|
4
|
+
data: boolean;
|
|
5
|
+
config: any;
|
|
6
|
+
elemnto: string;
|
|
7
|
+
dataChange: EventEmitter<boolean>;
|
|
8
|
+
emitValue(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputToggleComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputToggleComponent, "app-input-toggle", never, { "data": { "alias": "data"; "required": false; }; "config": { "alias": "config"; "required": false; }; "elemnto": { "alias": "elemnto"; "required": false; }; }, { "dataChange": "dataChange"; }, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TooltipComponent implements OnInit {
|
|
4
|
+
text: string | undefined;
|
|
5
|
+
outlined: boolean;
|
|
6
|
+
questionTooltip: string;
|
|
7
|
+
isVisible: boolean;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
toggle(): void;
|
|
11
|
+
show(event?: any): void;
|
|
12
|
+
hide(event?: any): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "dropi-tooltip", never, { "text": { "alias": "text"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "questionTooltip": { "alias": "questionTooltip"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type VerticalStepState = "pending" | "current" | "completed";
|
|
4
|
+
export interface VerticalStep {
|
|
5
|
+
label?: string;
|
|
6
|
+
labelKey?: string;
|
|
7
|
+
state?: VerticalStepState;
|
|
8
|
+
}
|
|
9
|
+
export declare class VerticalStepsComponent implements OnInit, OnChanges {
|
|
10
|
+
steps: VerticalStep[];
|
|
11
|
+
currentStep: number;
|
|
12
|
+
clickable: boolean;
|
|
13
|
+
showCheckIcon: boolean;
|
|
14
|
+
stepClick: EventEmitter<number>;
|
|
15
|
+
processedSteps: (VerticalStep & {
|
|
16
|
+
number: number;
|
|
17
|
+
calculatedState: VerticalStepState;
|
|
18
|
+
})[];
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
+
private processSteps;
|
|
22
|
+
isStepClickable(stepNumber: number): boolean;
|
|
23
|
+
onStepClick(stepNumber: number): void;
|
|
24
|
+
isLastStep(index: number): boolean;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VerticalStepsComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VerticalStepsComponent, "vertical-steps", never, { "steps": { "alias": "steps"; "required": false; }; "currentStep": { "alias": "currentStep"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "showCheckIcon": { "alias": "showCheckIcon"; "required": false; }; }, { "stepClick": "stepClick"; }, never, never, true, never>;
|
|
27
|
+
}
|