@datarailsshared/datarailsshared 1.4.569 → 1.5.3
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/assets/styles/_storybook-styles.scss +37 -0
- package/assets/styles/_styles.scss +9 -2
- package/assets/styles/colors.scss +88 -74
- package/assets/styles/dataRailsFont.scss +1 -1
- package/assets/styles/dialog.scss +22 -0
- package/assets/styles/icons.scss +1 -1
- package/assets/styles/mixins.scss +106 -6
- package/assets/styles/vars.scss +6 -4
- package/datarailsshared-datarailsshared-1.5.3.tgz +0 -0
- package/esm2022/datarailsshared-datarailsshared.mjs +5 -0
- package/esm2022/lib/date-tags/any-tag.component.mjs +42 -0
- package/esm2022/lib/date-tags/date-tag.component.mjs +126 -0
- package/esm2022/lib/date-tags/date-tag.module.mjs +53 -0
- package/esm2022/lib/date-tags/day-tag/day-tag.component.mjs +95 -0
- package/esm2022/lib/date-tags/forecast-tag/forecast-tag.component.mjs +222 -0
- package/esm2022/lib/date-tags/forecast-tag/forecast-tag.service.mjs +87 -0
- package/esm2022/lib/date-tags/month-tag/month-tag.component.mjs +98 -0
- package/esm2022/lib/date-tags/quarter-tag/quarter-tag.component.mjs +126 -0
- package/esm2022/lib/date-tags/week-tag/week-tag.component.mjs +102 -0
- package/esm2022/lib/date-tags/year-tag/year-tag.component.mjs +96 -0
- package/esm2022/lib/directives/click-outside/click-outside.directive.mjs +92 -0
- package/esm2022/lib/directives/click-outside/click-outside.module.mjs +19 -0
- package/esm2022/lib/directives/dr-shine-animation/dr-shine-animation.directive.mjs +63 -0
- package/esm2022/lib/directives/let/let.directive.mjs +35 -0
- package/esm2022/lib/directives/ng-track-by-property/ng-track-by-property.directive.mjs +23 -0
- package/esm2022/lib/dr-accordion/accordion-item-body.component.mjs +61 -0
- package/esm2022/lib/dr-accordion/accordion-item-header.component.mjs +154 -0
- package/esm2022/lib/dr-accordion/accordion-item.component.mjs +143 -0
- package/esm2022/lib/dr-accordion/accordion.component.mjs +55 -0
- package/esm2022/lib/dr-accordion/accordion.module.mjs +35 -0
- package/esm2022/lib/dr-alert/dr-alert.component.mjs +64 -0
- package/esm2022/lib/dr-alert/dr-alert.module.mjs +20 -0
- package/{esm2015/lib/dr-alert/enums/dr-alert-theme.enum.js → esm2022/lib/dr-alert/enums/dr-alert-theme.enum.mjs} +1 -2
- package/esm2022/lib/dr-avatar/dr-avatar.component.mjs +142 -0
- package/esm2022/lib/dr-avatar/dr-avatar.module.mjs +21 -0
- package/esm2022/lib/dr-avatar/dr-avatar.pipe.mjs +20 -0
- package/esm2022/lib/dr-avatar/services/dr-avatar.service.mjs +17 -0
- package/esm2022/lib/dr-avatar/types.mjs +2 -0
- package/esm2022/lib/dr-badge-status/dr-badge-status.component.mjs +53 -0
- package/esm2022/lib/dr-badge-status/dr-badge-status.module.mjs +21 -0
- package/esm2022/lib/dr-chat/chat.component.mjs +202 -0
- package/esm2022/lib/dr-chat/chat.module.mjs +81 -0
- package/esm2022/lib/dr-chat/dr-chat-alert/dr-chat-alert.component.mjs +31 -0
- package/esm2022/lib/dr-chat/dr-chat-form/chat-form.component.mjs +273 -0
- package/esm2022/lib/dr-chat/dr-chat-form-with-history/chat-form-with-history.component.mjs +380 -0
- package/esm2022/lib/dr-chat/dr-chat-message/chat-message.component.mjs +185 -0
- package/esm2022/lib/dr-chat/dr-chat-message/dr-chat-message-custom/chat-custom-message.directive.mjs +47 -0
- package/esm2022/lib/dr-chat/dr-chat-message/dr-chat-message-custom/chat-custom-message.service.mjs +26 -0
- package/esm2022/lib/dr-chat/dr-chat-message/dr-chat-message-file/chat-message-file.component.mjs +78 -0
- package/esm2022/lib/dr-chat/dr-chat-message/dr-chat-message-text/chat-message-text.component.mjs +30 -0
- package/esm2022/lib/dr-chat/dr-chat-suggestions/chat-suggestions.component.mjs +187 -0
- package/esm2022/lib/dr-chat/dr-dot-flashing/dr-dot-flashing.component.mjs +14 -0
- package/esm2022/lib/dr-chip/dr-chip.component.mjs +58 -0
- package/esm2022/lib/dr-code-editor/components/code-editor-hint-wrapper.component.mjs +19 -0
- package/esm2022/lib/dr-code-editor/components/dr-codemirror.component.mjs +204 -0
- package/esm2022/lib/dr-code-editor/dr-code-editor.component.mjs +326 -0
- package/esm2022/lib/dr-code-editor/dr-code-editor.module.mjs +29 -0
- package/esm2022/lib/dr-code-editor/models/code-editor-hint.mjs +6 -0
- package/esm2022/lib/dr-details-list/dr-details-list.component.mjs +106 -0
- package/esm2022/lib/dr-details-list/dr-details-list.module.mjs +20 -0
- package/esm2022/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.mjs +339 -0
- package/esm2022/lib/dr-dialog/components/dialog-wrapper/dialog-wrapper.component.mjs +238 -0
- package/esm2022/lib/dr-dialog/dialog.module.mjs +27 -0
- package/esm2022/lib/dr-dialog/interfaces/dialog-data.mjs +27 -0
- package/esm2022/lib/dr-dialog/services/dialog.service.mjs +77 -0
- package/esm2022/lib/dr-dropdown/dr-dropdown-item/dr-dropdown-item.component.mjs +29 -0
- package/esm2022/lib/dr-dropdown/dr-dropdown-item-show.pipe.mjs +16 -0
- package/esm2022/lib/dr-dropdown/dr-dropdown.component.mjs +248 -0
- package/esm2022/lib/dr-dropdown/dr-dropdown.directive.mjs +142 -0
- package/esm2022/lib/dr-dropdown/dr-dropdown.module.mjs +41 -0
- package/esm2022/lib/dr-dropdown/dr-dropdown.service.mjs +62 -0
- package/esm2022/lib/dr-dynamic-tag/dr-dynamic-tag.component.mjs +203 -0
- package/esm2022/lib/dr-dynamic-tag/dr-dynamic-tag.module.mjs +21 -0
- package/esm2022/lib/dr-error/dr-error.component.mjs +90 -0
- package/esm2022/lib/dr-error/dr-error.module.mjs +22 -0
- package/esm2022/lib/dr-inputs/button/button.component.mjs +101 -0
- package/esm2022/lib/dr-inputs/checkbox/checkbox.component.mjs +110 -0
- package/esm2022/lib/dr-inputs/date-pickers/directives/dr-date-picker-format.directive.mjs +55 -0
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.mjs +400 -0
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker-range/dr-date-picker-range.component.mjs +157 -0
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.mjs +269 -0
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.mjs +326 -0
- package/esm2022/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.mjs +16 -0
- package/esm2022/lib/dr-inputs/date-pickers/services/dr-date-picker.service.mjs +224 -0
- package/esm2022/lib/dr-inputs/date-pickers/services/week-selection-strategy.mjs +34 -0
- package/esm2022/lib/dr-inputs/date-pickers/week-selector/week-selector.component.mjs +91 -0
- package/esm2022/lib/dr-inputs/dr-input/dr-input.component.mjs +336 -0
- package/esm2022/lib/dr-inputs/dr-inputs.module.mjs +128 -0
- package/esm2022/lib/dr-inputs/dr-link/dr-link.component.mjs +43 -0
- package/esm2022/lib/dr-inputs/dr-model-debounce-change.directive.mjs +37 -0
- package/esm2022/lib/dr-inputs/dr-select/dr-select.component.mjs +391 -0
- package/esm2022/lib/dr-inputs/dr-select-add-item/dr-select-add-item.component.mjs +138 -0
- package/esm2022/lib/dr-inputs/dr-slider/dr-slider.component.mjs +53 -0
- package/esm2022/lib/dr-inputs/dr-toggle/dr-toggle.component.mjs +108 -0
- package/esm2022/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.mjs +108 -0
- package/esm2022/lib/dr-inputs/radio-button/radio-button.component.mjs +88 -0
- package/esm2022/lib/dr-inputs/radio-button/radio-group.component.mjs +185 -0
- package/esm2022/lib/dr-layout/dr-layout-body.component.mjs +19 -0
- package/esm2022/lib/dr-layout/dr-layout-header.component.mjs +25 -0
- package/esm2022/lib/dr-layout/dr-layout.component.mjs +21 -0
- package/esm2022/lib/dr-layout/dr-layout.module.mjs +22 -0
- package/esm2022/lib/dr-popover/dr-popover-ref.mjs +23 -0
- package/esm2022/lib/dr-popover/dr-popover.component.mjs +155 -0
- package/esm2022/lib/dr-popover/dr-popover.directive.mjs +137 -0
- package/esm2022/lib/dr-popover/dr-popover.module.mjs +20 -0
- package/esm2022/lib/dr-popover/dr-popover.service.mjs +117 -0
- package/esm2022/lib/dr-scenario/components/dr-scenario-configuration/dr-scenario-configuration.component.mjs +104 -0
- package/esm2022/lib/dr-scenario/components/dr-scenario-tag-configuration/dr-scenario-tag-configuration.component.mjs +100 -0
- package/esm2022/lib/dr-scenario/consts/scenario-tags-config.mjs +87 -0
- package/esm2022/lib/dr-scenario/dr-scenario.module.mjs +27 -0
- package/esm2022/lib/dr-scenario/services/scenario.service.mjs +195 -0
- package/esm2022/lib/dr-spinner/dr-spinner.component.mjs +27 -0
- package/esm2022/lib/dr-spinner/dr-spinner.directive.mjs +66 -0
- package/esm2022/lib/dr-spinner/dr-spinner.module.mjs +22 -0
- package/esm2022/lib/dr-tabs/dr-tab.component.mjs +47 -0
- package/esm2022/lib/dr-tabs/dr-tabs.component.mjs +252 -0
- package/esm2022/lib/dr-tabs/dr-tabs.module.mjs +25 -0
- package/esm2022/lib/dr-tags/dr-tag.component.mjs +235 -0
- package/esm2022/lib/dr-tags/dr-tag.module.mjs +23 -0
- package/esm2022/lib/dr-tags-constructor/dr-tags-constructor.component.mjs +161 -0
- package/esm2022/lib/dr-tags-constructor/dr-tags-constructor.module.mjs +24 -0
- package/esm2022/lib/dr-tags-constructor/tags-constructor.service.mjs +71 -0
- package/esm2022/lib/dr-toastr/default-toastr/default-toastr.component.mjs +73 -0
- package/esm2022/lib/dr-toastr/dr-toastr.module.mjs +31 -0
- package/esm2022/lib/dr-toastr/dr-toastr.service.mjs +44 -0
- package/esm2022/lib/dr-tooltip/components/tooltip-default/tooltip-default.component.mjs +31 -0
- package/esm2022/lib/dr-tooltip/components/tooltip-info/tooltip-info.component.mjs +82 -0
- package/esm2022/lib/dr-tooltip/dr-tooltip.component.mjs +86 -0
- package/esm2022/lib/dr-tooltip/dr-tooltip.directive.mjs +194 -0
- package/esm2022/lib/dr-tooltip/dr-tooltip.module.mjs +24 -0
- package/esm2022/lib/dr-tooltip/interfaces/tooltip-component-context.mjs +14 -0
- package/esm2022/lib/dr-treeview/components/treeview/treeview.component.mjs +407 -0
- package/esm2022/lib/dr-treeview/components/treeview-item/treeview-item.component.mjs +97 -0
- package/esm2022/lib/dr-treeview/dr-tree-view.module.mjs +31 -0
- package/esm2022/lib/dr-treeview/helpers/treeview-event-parser.mjs +108 -0
- package/esm2022/lib/dr-treeview/helpers/treeview-helper.mjs +82 -0
- package/esm2022/lib/dr-treeview/models/treeview-config.mjs +25 -0
- package/{esm2015/lib/dr-treeview/models/treeview-header-template-context.js → esm2022/lib/dr-treeview/models/treeview-header-template-context.mjs} +1 -1
- package/esm2022/lib/dr-treeview/models/treeview-i18n.mjs +47 -0
- package/{esm2015/lib/dr-treeview/models/treeview-item-template-context.js → esm2022/lib/dr-treeview/models/treeview-item-template-context.mjs} +1 -1
- package/esm2022/lib/dr-treeview/models/treeview-item.mjs +155 -0
- package/esm2022/lib/dr-treeview/pipes/treeview.pipe.mjs +21 -0
- package/esm2022/lib/drawer/drawer-animation.mjs +18 -0
- package/esm2022/lib/drawer/drawer-config.mjs +35 -0
- package/esm2022/lib/drawer/drawer-container.component.mjs +179 -0
- package/esm2022/lib/drawer/drawer-position-strategy.mjs +14 -0
- package/esm2022/lib/drawer/drawer-ref.mjs +106 -0
- package/esm2022/lib/drawer/drawer.module.mjs +19 -0
- package/esm2022/lib/drawer/drawer.service.mjs +140 -0
- package/esm2022/lib/drawer/public-api.mjs +6 -0
- package/esm2022/lib/image-cropper/dr-image-cropper-canvas.service.mjs +78 -0
- package/esm2022/lib/image-cropper/dr-image-cropper.component.mjs +133 -0
- package/esm2022/lib/image-cropper/dr-image-cropper.types.mjs +6 -0
- package/esm2022/lib/list-tags/list-tag.component.mjs +82 -0
- package/esm2022/lib/list-tags/list-tag.module.mjs +22 -0
- package/esm2022/lib/models/chat.mjs +36 -0
- package/{esm2015/lib/models/constants.js → esm2022/lib/models/constants.mjs} +17 -22
- package/{esm2015/lib/models/datePicker.js → esm2022/lib/models/datePicker.mjs} +2 -2
- package/esm2022/lib/models/datePickerRange.mjs +2 -0
- package/esm2022/lib/models/dropdown.mjs +2 -0
- package/{esm2015/lib/models/feedback.js → esm2022/lib/models/feedback.mjs} +1 -2
- package/esm2022/lib/models/popover.mjs +27 -0
- package/{esm2015/lib/models/serverTags.js → esm2022/lib/models/serverTags.mjs} +1 -1
- package/esm2022/lib/models/spinnerOptions.mjs +2 -0
- package/esm2022/lib/models/toastr.mjs +14 -0
- package/esm2022/lib/pipes/filter/filter.pipe.mjs +48 -0
- package/esm2022/lib/pipes/img/img.pipe.mjs +19 -0
- package/esm2022/lib/stepper/stepper.component.mjs +270 -0
- package/esm2022/lib/stepper/stepper.module.mjs +20 -0
- package/esm2022/lib/utils/data-analytics.service.mjs +21 -0
- package/esm2022/lib/utils/decorators.mjs +12 -0
- package/esm2022/lib/utils/dr-shared-utils.mjs +85 -0
- package/esm2022/public-api.mjs +156 -0
- package/esm2022/src/lib/drawer/drDrawer.mjs +5 -0
- package/esm2022/src/lib/drawer/drawer-animation.mjs +18 -0
- package/esm2022/src/lib/drawer/drawer-config.mjs +35 -0
- package/esm2022/src/lib/drawer/drawer-container.component.mjs +179 -0
- package/esm2022/src/lib/drawer/drawer-position-strategy.mjs +14 -0
- package/esm2022/src/lib/drawer/drawer-ref.mjs +106 -0
- package/esm2022/src/lib/drawer/drawer.module.mjs +19 -0
- package/esm2022/src/lib/drawer/drawer.service.mjs +140 -0
- package/esm2022/src/lib/drawer/public-api.mjs +6 -0
- package/fesm2022/datarailsshared-datarailsshared.mjs +13716 -0
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -0
- package/fesm2022/drDrawer.mjs +496 -0
- package/fesm2022/drDrawer.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/date-tags/any-tag.component.d.ts +20 -0
- package/lib/date-tags/date-tag.component.d.ts +4 -16
- package/lib/date-tags/date-tag.module.d.ts +19 -2
- package/lib/date-tags/day-tag/day-tag.component.d.ts +4 -1
- package/lib/date-tags/forecast-tag/forecast-tag.component.d.ts +4 -1
- package/lib/date-tags/forecast-tag/forecast-tag.service.d.ts +11 -8
- package/lib/date-tags/month-tag/month-tag.component.d.ts +4 -1
- package/lib/date-tags/quarter-tag/quarter-tag.component.d.ts +4 -1
- package/lib/date-tags/week-tag/week-tag.component.d.ts +4 -1
- package/lib/date-tags/year-tag/year-tag.component.d.ts +4 -1
- package/lib/directives/click-outside/click-outside.directive.d.ts +23 -0
- package/lib/directives/click-outside/click-outside.module.d.ts +8 -0
- package/lib/directives/dr-shine-animation/dr-shine-animation.directive.d.ts +18 -0
- package/lib/directives/let/let.directive.d.ts +19 -0
- package/lib/directives/ng-track-by-property/ng-track-by-property.directive.d.ts +8 -0
- package/lib/dr-accordion/accordion-item-body.component.d.ts +3 -0
- package/lib/dr-accordion/accordion-item-header.component.d.ts +14 -1
- package/lib/dr-accordion/accordion-item.component.d.ts +4 -1
- package/lib/dr-accordion/accordion.component.d.ts +5 -0
- package/lib/dr-accordion/accordion.module.d.ts +9 -0
- package/lib/dr-alert/dr-alert.component.d.ts +3 -0
- package/lib/dr-alert/dr-alert.module.d.ts +6 -0
- package/lib/dr-avatar/dr-avatar.component.d.ts +15 -13
- package/lib/dr-avatar/dr-avatar.module.d.ts +8 -0
- package/lib/dr-avatar/dr-avatar.pipe.d.ts +5 -1
- package/lib/dr-avatar/services/dr-avatar.service.d.ts +1 -1
- package/lib/dr-avatar/types.d.ts +8 -0
- package/lib/dr-badge-status/dr-badge-status.component.d.ts +5 -4
- package/lib/dr-badge-status/dr-badge-status.module.d.ts +7 -0
- package/lib/dr-chat/chat.component.d.ts +6 -7
- package/lib/dr-chat/chat.module.d.ts +20 -0
- package/lib/dr-chat/dr-chat-alert/dr-chat-alert.component.d.ts +8 -0
- package/lib/dr-chat/dr-chat-form/chat-form.component.d.ts +11 -1
- package/lib/dr-chat/dr-chat-form-with-history/chat-form-with-history.component.d.ts +81 -0
- package/lib/dr-chat/dr-chat-message/chat-message.component.d.ts +4 -0
- package/lib/dr-chat/dr-chat-message/dr-chat-message-custom/chat-custom-message.directive.d.ts +3 -0
- package/lib/dr-chat/dr-chat-message/dr-chat-message-custom/chat-custom-message.service.d.ts +3 -0
- package/lib/dr-chat/dr-chat-message/dr-chat-message-file/chat-message-file.component.d.ts +3 -0
- package/lib/dr-chat/dr-chat-message/dr-chat-message-text/chat-message-text.component.d.ts +3 -0
- package/lib/dr-chat/dr-chat-suggestions/chat-suggestions.component.d.ts +15 -2
- package/lib/dr-chat/dr-dot-flashing/dr-dot-flashing.component.d.ts +3 -0
- package/lib/dr-chip/dr-chip.component.d.ts +10 -0
- package/lib/dr-code-editor/components/code-editor-hint-wrapper.component.d.ts +7 -0
- package/lib/dr-code-editor/components/dr-codemirror.component.d.ts +47 -0
- package/lib/dr-code-editor/dr-code-editor.component.d.ts +45 -0
- package/lib/dr-code-editor/dr-code-editor.module.d.ts +17 -0
- package/lib/dr-code-editor/models/code-editor-hint.d.ts +14 -0
- package/lib/dr-details-list/dr-details-list.component.d.ts +3 -0
- package/lib/dr-details-list/dr-details-list.module.d.ts +6 -0
- package/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.d.ts +6 -5
- package/lib/dr-dialog/components/dialog-wrapper/dialog-wrapper.component.d.ts +6 -5
- package/lib/dr-dialog/dialog.module.d.ts +12 -0
- package/lib/dr-dialog/interfaces/dialog-data.d.ts +13 -9
- package/lib/dr-dialog/services/dialog.service.d.ts +10 -3
- package/lib/dr-dropdown/dr-dropdown-item/dr-dropdown-item.component.d.ts +8 -0
- package/lib/dr-dropdown/dr-dropdown-item-show.pipe.d.ts +3 -0
- package/lib/dr-dropdown/dr-dropdown.component.d.ts +28 -21
- package/lib/dr-dropdown/dr-dropdown.directive.d.ts +21 -14
- package/lib/dr-dropdown/dr-dropdown.module.d.ts +11 -0
- package/lib/dr-dropdown/dr-dropdown.service.d.ts +26 -8
- package/lib/dr-dynamic-tag/dr-dynamic-tag.component.d.ts +3 -0
- package/lib/dr-dynamic-tag/dr-dynamic-tag.module.d.ts +8 -0
- package/lib/dr-error/dr-error.component.d.ts +12 -8
- package/lib/dr-error/dr-error.module.d.ts +8 -0
- package/lib/dr-inputs/button/button.component.d.ts +6 -8
- package/lib/dr-inputs/checkbox/checkbox.component.d.ts +10 -2
- package/lib/dr-inputs/date-pickers/directives/dr-date-picker-format.directive.d.ts +3 -0
- package/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.d.ts +29 -9
- package/lib/dr-inputs/date-pickers/dr-date-picker-range/dr-date-picker-range.component.d.ts +40 -0
- package/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.d.ts +18 -11
- package/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.d.ts +11 -10
- package/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.d.ts +4 -2
- package/lib/dr-inputs/date-pickers/services/dr-date-picker.service.d.ts +22 -5
- package/lib/dr-inputs/date-pickers/services/week-selection-strategy.d.ts +12 -0
- package/lib/dr-inputs/date-pickers/week-selector/week-selector.component.d.ts +23 -0
- package/lib/dr-inputs/dr-input/dr-input.component.d.ts +35 -20
- package/lib/dr-inputs/dr-inputs.module.d.ts +30 -0
- package/lib/dr-inputs/dr-link/dr-link.component.d.ts +16 -0
- package/lib/dr-inputs/dr-model-debounce-change.directive.d.ts +4 -0
- package/lib/dr-inputs/dr-select/dr-select.component.d.ts +20 -3
- package/lib/dr-inputs/dr-select-add-item/dr-select-add-item.component.d.ts +4 -0
- package/lib/dr-inputs/dr-slider/dr-slider.component.d.ts +18 -0
- package/lib/dr-inputs/dr-toggle/dr-toggle.component.d.ts +3 -0
- package/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.d.ts +6 -1
- package/lib/dr-inputs/radio-button/radio-button.component.d.ts +3 -0
- package/lib/dr-inputs/radio-button/radio-group.component.d.ts +3 -0
- package/lib/dr-layout/dr-layout-body.component.d.ts +3 -0
- package/lib/dr-layout/dr-layout-header.component.d.ts +3 -0
- package/lib/dr-layout/dr-layout.component.d.ts +3 -0
- package/lib/dr-layout/dr-layout.module.d.ts +8 -0
- package/lib/dr-popover/dr-popover-ref.d.ts +1 -0
- package/lib/dr-popover/dr-popover.component.d.ts +8 -4
- package/lib/dr-popover/dr-popover.directive.d.ts +9 -5
- package/lib/dr-popover/dr-popover.module.d.ts +7 -0
- package/lib/dr-popover/dr-popover.service.d.ts +5 -1
- package/lib/dr-scenario/components/dr-scenario-configuration/dr-scenario-configuration.component.d.ts +3 -4
- package/lib/dr-scenario/components/dr-scenario-tag-configuration/dr-scenario-tag-configuration.component.d.ts +3 -0
- package/lib/dr-scenario/dr-scenario.module.d.ts +11 -0
- package/lib/dr-scenario/interfaces/scenario.d.ts +3 -3
- package/lib/dr-scenario/services/scenario.service.d.ts +3 -0
- package/lib/dr-spinner/dr-spinner.component.d.ts +3 -0
- package/lib/dr-spinner/dr-spinner.directive.d.ts +4 -2
- package/lib/dr-spinner/dr-spinner.module.d.ts +7 -0
- package/lib/dr-tabs/dr-tab.component.d.ts +5 -0
- package/lib/dr-tabs/dr-tabs.component.d.ts +21 -4
- package/lib/dr-tabs/dr-tabs.module.d.ts +11 -0
- package/lib/dr-tags/dr-tag.component.d.ts +3 -0
- package/lib/dr-tags/dr-tag.module.d.ts +9 -0
- package/lib/dr-tags-constructor/dr-tags-constructor.component.d.ts +33 -0
- package/lib/dr-tags-constructor/dr-tags-constructor.module.d.ts +10 -0
- package/lib/dr-tags-constructor/tags-constructor.service.d.ts +12 -0
- package/lib/dr-toastr/default-toastr/default-toastr.component.d.ts +15 -0
- package/lib/dr-toastr/dr-toastr.module.d.ts +9 -0
- package/lib/dr-toastr/dr-toastr.service.d.ts +14 -0
- package/lib/dr-tooltip/components/tooltip-default/tooltip-default.component.d.ts +9 -0
- package/lib/dr-tooltip/components/tooltip-info/tooltip-info.component.d.ts +3 -1
- package/lib/dr-tooltip/dr-tooltip.component.d.ts +4 -1
- package/lib/dr-tooltip/dr-tooltip.directive.d.ts +7 -0
- package/lib/dr-tooltip/dr-tooltip.module.d.ts +9 -0
- package/lib/dr-tooltip/interfaces/tooltip-component-context.d.ts +18 -2
- package/lib/dr-treeview/components/treeview/treeview.component.d.ts +3 -0
- package/lib/dr-treeview/components/treeview-item/treeview-item.component.d.ts +3 -0
- package/lib/dr-treeview/dr-tree-view.module.d.ts +9 -0
- package/lib/dr-treeview/helpers/treeview-event-parser.d.ts +9 -0
- package/lib/dr-treeview/models/treeview-config.d.ts +3 -0
- package/lib/dr-treeview/models/treeview-i18n.d.ts +5 -0
- package/lib/dr-treeview/models/treeview-item.d.ts +2 -1
- package/lib/dr-treeview/pipes/treeview.pipe.d.ts +3 -0
- package/lib/drawer/drawer-animation.d.ts +5 -0
- package/lib/drawer/drawer-config.d.ts +68 -0
- package/lib/drawer/drawer-container.component.d.ts +45 -0
- package/lib/drawer/drawer-position-strategy.d.ts +10 -0
- package/lib/drawer/drawer-ref.d.ts +55 -0
- package/lib/drawer/drawer.module.d.ts +7 -0
- package/lib/drawer/drawer.service.d.ts +62 -0
- package/lib/drawer/public-api.d.ts +5 -0
- package/lib/image-cropper/dr-image-cropper-canvas.service.d.ts +20 -0
- package/lib/image-cropper/dr-image-cropper.component.d.ts +28 -0
- package/lib/image-cropper/dr-image-cropper.types.d.ts +9 -0
- package/lib/list-tags/list-tag.component.d.ts +3 -0
- package/lib/list-tags/list-tag.module.d.ts +8 -0
- package/lib/models/chat.d.ts +3 -3
- package/lib/models/datePicker.d.ts +10 -3
- package/lib/models/datePickerRange.d.ts +4 -0
- package/lib/models/dropdown.d.ts +15 -21
- package/lib/models/popover.d.ts +7 -4
- package/lib/models/serverTags.d.ts +4 -4
- package/lib/models/spinnerOptions.d.ts +2 -10
- package/lib/models/toastr.d.ts +18 -0
- package/lib/pipes/filter/filter.pipe.d.ts +7 -0
- package/lib/pipes/img/img.pipe.d.ts +7 -0
- package/lib/stepper/interfaces/stepper.d.ts +1 -1
- package/lib/stepper/stepper.component.d.ts +13 -8
- package/lib/stepper/stepper.module.d.ts +7 -0
- package/lib/utils/data-analytics.service.d.ts +8 -0
- package/lib/utils/decorators.d.ts +1 -0
- package/lib/utils/dr-shared-utils.d.ts +9 -0
- package/package.json +41 -15
- package/public-api.d.ts +59 -6
- package/src/lib/drawer/drawer-animation.d.ts +5 -0
- package/src/lib/drawer/drawer-config.d.ts +68 -0
- package/src/lib/drawer/drawer-container.component.d.ts +45 -0
- package/src/lib/drawer/drawer-position-strategy.d.ts +10 -0
- package/src/lib/drawer/drawer-ref.d.ts +55 -0
- package/src/lib/drawer/drawer.module.d.ts +7 -0
- package/src/lib/drawer/drawer.service.d.ts +62 -0
- package/src/lib/drawer/index.d.ts +5 -0
- package/src/lib/drawer/public-api.d.ts +5 -0
- package/styles.css +749 -0
- package/_datarailsshared.styles.css +0 -4
- package/assets/styles/img/dr-icon-info.svg +0 -4
- package/bundles/datarailsshared-datarailsshared.umd.js +0 -8372
- package/bundles/datarailsshared-datarailsshared.umd.js.map +0 -1
- package/datarailsshared-datarailsshared-1.4.569.tgz +0 -0
- package/datarailsshared-datarailsshared.d.ts +0 -34
- package/datarailsshared-datarailsshared.metadata.json +0 -1
- package/esm2015/datarailsshared-datarailsshared.js +0 -35
- package/esm2015/lib/date-tags/date-tag.component.js +0 -74
- package/esm2015/lib/date-tags/date-tag.module.js +0 -36
- package/esm2015/lib/date-tags/day-tag/day-tag.component.js +0 -77
- package/esm2015/lib/date-tags/forecast-tag/forecast-tag.component.js +0 -164
- package/esm2015/lib/date-tags/forecast-tag/forecast-tag.service.js +0 -83
- package/esm2015/lib/date-tags/month-tag/month-tag.component.js +0 -80
- package/esm2015/lib/date-tags/quarter-tag/quarter-tag.component.js +0 -114
- package/esm2015/lib/date-tags/week-tag/week-tag.component.js +0 -84
- package/esm2015/lib/date-tags/year-tag/year-tag.component.js +0 -78
- package/esm2015/lib/dr-accordion/accordion-item-body.component.js +0 -55
- package/esm2015/lib/dr-accordion/accordion-item-header.component.js +0 -77
- package/esm2015/lib/dr-accordion/accordion-item.component.js +0 -123
- package/esm2015/lib/dr-accordion/accordion.component.js +0 -43
- package/esm2015/lib/dr-accordion/accordion.module.js +0 -23
- package/esm2015/lib/dr-alert/dr-alert.component.js +0 -35
- package/esm2015/lib/dr-alert/dr-alert.module.js +0 -18
- package/esm2015/lib/dr-avatar/dr-avatar.component.js +0 -54
- package/esm2015/lib/dr-avatar/dr-avatar.module.js +0 -26
- package/esm2015/lib/dr-avatar/dr-avatar.pipe.js +0 -16
- package/esm2015/lib/dr-avatar/services/dr-avatar.service.js +0 -17
- package/esm2015/lib/dr-badge-status/dr-badge-status.component.js +0 -25
- package/esm2015/lib/dr-badge-status/dr-badge-status.module.js +0 -20
- package/esm2015/lib/dr-chat/chat.component.js +0 -119
- package/esm2015/lib/dr-chat/chat.module.js +0 -41
- package/esm2015/lib/dr-chat/dr-chat-form/chat-form.component.js +0 -155
- package/esm2015/lib/dr-chat/dr-chat-message/chat-message.component.js +0 -71
- package/esm2015/lib/dr-chat/dr-chat-message/dr-chat-message-custom/chat-custom-message.directive.js +0 -49
- package/esm2015/lib/dr-chat/dr-chat-message/dr-chat-message-custom/chat-custom-message.service.js +0 -23
- package/esm2015/lib/dr-chat/dr-chat-message/dr-chat-message-file/chat-message-file.component.js +0 -47
- package/esm2015/lib/dr-chat/dr-chat-message/dr-chat-message-text/chat-message-text.component.js +0 -18
- package/esm2015/lib/dr-chat/dr-chat-suggestions/chat-suggestions.component.js +0 -87
- package/esm2015/lib/dr-chat/dr-dot-flashing/dr-dot-flashing.component.js +0 -15
- package/esm2015/lib/dr-details-list/dr-details-list.component.js +0 -65
- package/esm2015/lib/dr-details-list/dr-details-list.module.js +0 -16
- package/esm2015/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.js +0 -84
- package/esm2015/lib/dr-dialog/components/dialog-wrapper/dialog-wrapper.component.js +0 -92
- package/esm2015/lib/dr-dialog/dialog.module.js +0 -34
- package/esm2015/lib/dr-dialog/interfaces/dialog-data.js +0 -25
- package/esm2015/lib/dr-dialog/services/dialog.service.js +0 -78
- package/esm2015/lib/dr-dropdown/dr-dropdown-item-show.pipe.js +0 -12
- package/esm2015/lib/dr-dropdown/dr-dropdown-position.directive.js +0 -104
- package/esm2015/lib/dr-dropdown/dr-dropdown.component.js +0 -114
- package/esm2015/lib/dr-dropdown/dr-dropdown.directive.js +0 -104
- package/esm2015/lib/dr-dropdown/dr-dropdown.module.js +0 -34
- package/esm2015/lib/dr-dropdown/dr-dropdown.service.js +0 -24
- package/esm2015/lib/dr-dynamic-tag/dr-dynamic-tag.component.js +0 -120
- package/esm2015/lib/dr-dynamic-tag/dr-dynamic-tag.module.js +0 -19
- package/esm2015/lib/dr-error/dr-error.component.js +0 -56
- package/esm2015/lib/dr-error/dr-error.module.js +0 -22
- package/esm2015/lib/dr-inputs/button/button.component.js +0 -39
- package/esm2015/lib/dr-inputs/checkbox/checkbox.component.js +0 -66
- package/esm2015/lib/dr-inputs/date-pickers/directives/dr-date-picker-format.directive.js +0 -47
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.js +0 -234
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.js +0 -182
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.js +0 -183
- package/esm2015/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.js +0 -12
- package/esm2015/lib/dr-inputs/date-pickers/services/dr-date-picker.service.js +0 -194
- package/esm2015/lib/dr-inputs/dr-input/dr-input.component.js +0 -194
- package/esm2015/lib/dr-inputs/dr-inputs.module.js +0 -68
- package/esm2015/lib/dr-inputs/dr-model-debounce-change.directive.js +0 -29
- package/esm2015/lib/dr-inputs/dr-select/dr-select.component.js +0 -123
- package/esm2015/lib/dr-inputs/dr-select-add-item/dr-select-add-item.component.js +0 -74
- package/esm2015/lib/dr-inputs/dr-toggle/dr-toggle.component.js +0 -68
- package/esm2015/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.js +0 -67
- package/esm2015/lib/dr-inputs/radio-button/radio-button.component.js +0 -73
- package/esm2015/lib/dr-inputs/radio-button/radio-group.component.js +0 -157
- package/esm2015/lib/dr-layout/dr-layout-body.component.js +0 -13
- package/esm2015/lib/dr-layout/dr-layout-header.component.js +0 -17
- package/esm2015/lib/dr-layout/dr-layout.component.js +0 -14
- package/esm2015/lib/dr-layout/dr-layout.module.js +0 -20
- package/esm2015/lib/dr-popover/dr-popover-ref.js +0 -20
- package/esm2015/lib/dr-popover/dr-popover.component.js +0 -106
- package/esm2015/lib/dr-popover/dr-popover.directive.js +0 -84
- package/esm2015/lib/dr-popover/dr-popover.module.js +0 -23
- package/esm2015/lib/dr-popover/dr-popover.service.js +0 -106
- package/esm2015/lib/dr-scenario/components/dr-scenario-configuration/dr-scenario-configuration.component.js +0 -104
- package/esm2015/lib/dr-scenario/components/dr-scenario-tag-configuration/dr-scenario-tag-configuration.component.js +0 -75
- package/esm2015/lib/dr-scenario/consts/scenario-tags-config.js +0 -79
- package/esm2015/lib/dr-scenario/dr-scenario.module.js +0 -28
- package/esm2015/lib/dr-scenario/services/scenario.service.js +0 -196
- package/esm2015/lib/dr-spinner/dr-spinner.component.js +0 -18
- package/esm2015/lib/dr-spinner/dr-spinner.directive.js +0 -58
- package/esm2015/lib/dr-spinner/dr-spinner.module.js +0 -18
- package/esm2015/lib/dr-tabs/dr-tab.component.js +0 -26
- package/esm2015/lib/dr-tabs/dr-tabs.component.js +0 -35
- package/esm2015/lib/dr-tabs/dr-tabs.module.js +0 -32
- package/esm2015/lib/dr-tags/dr-tag.component.js +0 -183
- package/esm2015/lib/dr-tags/dr-tag.module.js +0 -24
- package/esm2015/lib/dr-tooltip/components/tooltip-info/tooltip-info.component.js +0 -19
- package/esm2015/lib/dr-tooltip/components/tooltip-info-simple/tooltip-info-simple.component.js +0 -18
- package/esm2015/lib/dr-tooltip/components/tooltip-no-body/tooltip-no-body.component.js +0 -20
- package/esm2015/lib/dr-tooltip/components/tooltip-process-default/tooltip-process-default.component.js +0 -34
- package/esm2015/lib/dr-tooltip/dr-tooltip.component.js +0 -41
- package/esm2015/lib/dr-tooltip/dr-tooltip.directive.js +0 -151
- package/esm2015/lib/dr-tooltip/dr-tooltip.module.js +0 -38
- package/esm2015/lib/dr-tooltip/interfaces/tooltip-component-context.js +0 -2
- package/esm2015/lib/dr-treeview/components/treeview/treeview.component.js +0 -210
- package/esm2015/lib/dr-treeview/components/treeview-item/treeview-item.component.js +0 -58
- package/esm2015/lib/dr-treeview/dr-tree-view.module.js +0 -38
- package/esm2015/lib/dr-treeview/helpers/treeview-event-parser.js +0 -97
- package/esm2015/lib/dr-treeview/helpers/treeview-helper.js +0 -82
- package/esm2015/lib/dr-treeview/models/treeview-config.js +0 -22
- package/esm2015/lib/dr-treeview/models/treeview-i18n.js +0 -42
- package/esm2015/lib/dr-treeview/models/treeview-item.js +0 -155
- package/esm2015/lib/dr-treeview/pipes/treeview.pipe.js +0 -17
- package/esm2015/lib/list-tags/list-tag.component.js +0 -37
- package/esm2015/lib/list-tags/list-tag.module.js +0 -23
- package/esm2015/lib/models/chat.js +0 -38
- package/esm2015/lib/models/dropdown.js +0 -2
- package/esm2015/lib/models/popover.js +0 -27
- package/esm2015/lib/models/spinnerOptions.js +0 -13
- package/esm2015/lib/stepper/stepper.component.js +0 -55
- package/esm2015/lib/stepper/stepper.module.js +0 -17
- package/esm2015/lib/utils/dr-shared-utils.js +0 -47
- package/esm2015/public-api.js +0 -101
- package/fesm2015/datarailsshared-datarailsshared.js +0 -7194
- package/fesm2015/datarailsshared-datarailsshared.js.map +0 -1
- package/lib/dr-dropdown/dr-dropdown-position.directive.d.ts +0 -12
- package/lib/dr-tooltip/components/tooltip-info-simple/tooltip-info-simple.component.d.ts +0 -5
- package/lib/dr-tooltip/components/tooltip-no-body/tooltip-no-body.component.d.ts +0 -6
- package/lib/dr-tooltip/components/tooltip-process-default/tooltip-process-default.component.d.ts +0 -4
- /package/{esm2015/lib/dr-inputs/dr-toggle-button/toggle-button-mode.js → esm2022/lib/dr-inputs/dr-toggle-button/toggle-button-mode.mjs} +0 -0
- /package/{esm2015/lib/dr-scenario/interfaces/scenario.js → esm2022/lib/dr-scenario/interfaces/scenario.mjs} +0 -0
- /package/{esm2015/lib/dr-tags/dr-tag.types.js → esm2022/lib/dr-tags/dr-tag.types.mjs} +0 -0
- /package/{esm2015/lib/dr-tooltip/enums/tooltip-position.enum.js → esm2022/lib/dr-tooltip/enums/tooltip-position.enum.mjs} +0 -0
- /package/{esm2015/lib/dr-tooltip/enums/tooltip-theme.enum.js → esm2022/lib/dr-tooltip/enums/tooltip-theme.enum.mjs} +0 -0
- /package/{esm2015/lib/models/badgeStatus.js → esm2022/lib/models/badgeStatus.mjs} +0 -0
- /package/{esm2015/lib/models/validationError.js → esm2022/lib/models/validationError.mjs} +0 -0
- /package/{esm2015/lib/stepper/interfaces/stepper.js → esm2022/lib/stepper/interfaces/stepper.mjs} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { IDateTag } from '../models/serverTags';
|
|
3
3
|
import { ITagAdditionalSettings } from '../dr-tags/dr-tag.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DateTagComponent {
|
|
5
6
|
name: string | undefined;
|
|
6
7
|
lockedDate: any[];
|
|
@@ -12,19 +13,6 @@ export declare class DateTagComponent {
|
|
|
12
13
|
tagAdditionalSettings: ITagAdditionalSettings;
|
|
13
14
|
selectedDate: EventEmitter<IDateTag>;
|
|
14
15
|
changeSelectedDate(date: any): void;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
dateChange: EventEmitter<IDateTag>;
|
|
18
|
-
name: string | undefined;
|
|
19
|
-
defaultValue: number | undefined;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
dateObj: {
|
|
22
|
-
date: any;
|
|
23
|
-
};
|
|
24
|
-
constructor();
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
initDate(): void;
|
|
27
|
-
initName(): void;
|
|
28
|
-
changeInputHandler(event: Event): void;
|
|
29
|
-
chosenTagHandler(value: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTagComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTagComponent, "date-tag", never, { "name": { "alias": "name"; "required": false; }; "lockedDate": { "alias": "lockedDate"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "dateTypeChosen": { "alias": "dateTypeChosen"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fiscalYearStartsFrom": { "alias": "fiscalYearStartsFrom"; "required": false; }; "fiscalYearBack": { "alias": "fiscalYearBack"; "required": false; }; "tagAdditionalSettings": { "alias": "tagAdditionalSettings"; "required": false; }; }, { "selectedDate": "selectedDate"; }, never, never, false, never>;
|
|
30
18
|
}
|
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
import { AnyTagComponent
|
|
2
|
-
|
|
1
|
+
import { AnyTagComponent } from './any-tag.component';
|
|
2
|
+
import { DateTagComponent } from './date-tag.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./date-tag.component";
|
|
5
|
+
import * as i2 from "./day-tag/day-tag.component";
|
|
6
|
+
import * as i3 from "./week-tag/week-tag.component";
|
|
7
|
+
import * as i4 from "./month-tag/month-tag.component";
|
|
8
|
+
import * as i5 from "./quarter-tag/quarter-tag.component";
|
|
9
|
+
import * as i6 from "./any-tag.component";
|
|
10
|
+
import * as i7 from "./year-tag/year-tag.component";
|
|
11
|
+
import * as i8 from "./forecast-tag/forecast-tag.component";
|
|
12
|
+
import * as i9 from "@angular/common";
|
|
13
|
+
import * as i10 from "@angular/forms";
|
|
14
|
+
import * as i11 from "../dr-inputs/dr-inputs.module";
|
|
15
|
+
import * as i12 from "@ng-select/ng-select";
|
|
16
|
+
export declare const components: (typeof AnyTagComponent | typeof DateTagComponent)[];
|
|
3
17
|
export declare class DateTagModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTagModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DateTagModule, [typeof i1.DateTagComponent, typeof i2.DayTagComponent, typeof i3.WeekTagComponent, typeof i4.MonthTagComponent, typeof i5.QuarterTagComponent, typeof i6.AnyTagComponent, typeof i7.YearTagComponent, typeof i8.ForecastTagComponent], [typeof i9.CommonModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.DrInputsModule, typeof i12.NgSelectModule], [typeof i1.DateTagComponent, typeof i2.DayTagComponent, typeof i3.WeekTagComponent, typeof i4.MonthTagComponent, typeof i5.QuarterTagComponent, typeof i6.AnyTagComponent, typeof i7.YearTagComponent, typeof i8.ForecastTagComponent]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DateTagModule>;
|
|
4
21
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { AnyTagComponent } from '../
|
|
1
|
+
import { AnyTagComponent } from '../any-tag.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DayTagComponent extends AnyTagComponent {
|
|
3
4
|
get isLocked(): boolean;
|
|
4
5
|
lockedDate: any[];
|
|
@@ -8,4 +9,6 @@ export declare class DayTagComponent extends AnyTagComponent {
|
|
|
8
9
|
initName(): void;
|
|
9
10
|
chosenTagHandler(value: number): void;
|
|
10
11
|
dateFilter(momentData: any): boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DayTagComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DayTagComponent, "day-tag", never, { "lockedDate": { "alias": "lockedDate"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
14
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AnyTagComponent } from '../
|
|
2
|
+
import { AnyTagComponent } from '../any-tag.component';
|
|
3
3
|
import { ITagAdditionalSettings } from '../../dr-tags/dr-tag.types';
|
|
4
4
|
import { DatePickerPeriodPosition } from '../../models/datePicker';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ForecastTagComponent extends AnyTagComponent implements OnChanges {
|
|
6
7
|
readonly datePickerPeriodPosition: typeof DatePickerPeriodPosition;
|
|
7
8
|
fiscalYearStartsFrom?: number;
|
|
@@ -25,4 +26,6 @@ export declare class ForecastTagComponent extends AnyTagComponent implements OnC
|
|
|
25
26
|
changeYearInputHandler(): void;
|
|
26
27
|
chosenTagHandler(): void;
|
|
27
28
|
dateFilter(date: any): boolean;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ForecastTagComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ForecastTagComponent, "forecast-tag", never, { "fiscalYearStartsFrom": { "alias": "fiscalYearStartsFrom"; "required": false; }; "fiscalYearBack": { "alias": "fiscalYearBack"; "required": false; }; "lockedDate": { "alias": "lockedDate"; "required": false; }; "tagAdditionalSettings": { "alias": "tagAdditionalSettings"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
31
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as moment from 'moment';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class ForecastTagService {
|
|
3
4
|
private static readonly MONTH_DIFF;
|
|
4
|
-
private static forecastByMonth;
|
|
5
|
-
|
|
6
|
-
static getFiscalMonthFromDate(date: Moment, fiscalYearStartsFrom: number): number;
|
|
7
|
-
static getFiscalYearFromDate(date: Moment, fiscalYearStartsFrom: number, fiscalYearBack: boolean): number;
|
|
5
|
+
private static readonly forecastByMonth;
|
|
6
|
+
static getForecastMonthTemplates(): string[];
|
|
7
|
+
static getFiscalMonthFromDate(date: moment.Moment, fiscalYearStartsFrom: number): number;
|
|
8
|
+
static getFiscalYearFromDate(date: moment.Moment, fiscalYearStartsFrom: number, fiscalYearBack: boolean): number;
|
|
8
9
|
static getForecastLabel(month: number): string;
|
|
9
|
-
static getCalendarDateFromMonthAndFiscalYear(chosenMoment: Moment, monthLabel: string, fiscalYearStartsFrom: number, fiscalYearBack: boolean): number;
|
|
10
|
-
static addMonthsWithoutYearChange(date: Moment, monthLabel: string, fiscalYearStartsFrom: number): Moment;
|
|
11
|
-
static transformYearFromFiscal(fiscalYearWithMonth: Moment, fiscalYearStartsFrom: number, fiscalYearBack: boolean): number;
|
|
10
|
+
static getCalendarDateFromMonthAndFiscalYear(chosenMoment: moment.Moment, monthLabel: string, fiscalYearStartsFrom: number, fiscalYearBack: boolean): number;
|
|
11
|
+
static addMonthsWithoutYearChange(date: moment.Moment, monthLabel: string, fiscalYearStartsFrom: number): moment.Moment;
|
|
12
|
+
static transformYearFromFiscal(fiscalYearWithMonth: moment.Moment, fiscalYearStartsFrom: number, fiscalYearBack: boolean): number;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ForecastTagService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ForecastTagService>;
|
|
12
15
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { AnyTagComponent } from '../
|
|
1
|
+
import { AnyTagComponent } from '../any-tag.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class MonthTagComponent extends AnyTagComponent {
|
|
3
4
|
get isLocked(): boolean;
|
|
4
5
|
lockedDate: any[];
|
|
@@ -8,4 +9,6 @@ export declare class MonthTagComponent extends AnyTagComponent {
|
|
|
8
9
|
initName(): void;
|
|
9
10
|
chosenTagHandler(value: number): void;
|
|
10
11
|
dateFilter(date: any): boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MonthTagComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonthTagComponent, "month-tag", never, { "lockedDate": { "alias": "lockedDate"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
14
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AnyTagComponent } from '../
|
|
2
|
+
import { AnyTagComponent } from '../any-tag.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class QuarterTagComponent extends AnyTagComponent implements OnInit, OnChanges {
|
|
4
5
|
get isLocked(): boolean;
|
|
5
6
|
lockedDate: any[];
|
|
@@ -15,4 +16,6 @@ export declare class QuarterTagComponent extends AnyTagComponent implements OnIn
|
|
|
15
16
|
private getQuarterLabel;
|
|
16
17
|
private getUTCTimestamp;
|
|
17
18
|
dateFilter(quarter: any): boolean;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuarterTagComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuarterTagComponent, "quarter-tag", never, { "lockedDate": { "alias": "lockedDate"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
21
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { AnyTagComponent } from '../
|
|
2
|
+
import { AnyTagComponent } from '../any-tag.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class WeekTagComponent extends AnyTagComponent implements OnInit {
|
|
4
5
|
get isLocked(): boolean;
|
|
5
6
|
lockedDate: any[];
|
|
@@ -10,4 +11,6 @@ export declare class WeekTagComponent extends AnyTagComponent implements OnInit
|
|
|
10
11
|
dateFilter(date: any): boolean;
|
|
11
12
|
chosenTagHandler(value: number): void;
|
|
12
13
|
private getWeekLabel;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WeekTagComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WeekTagComponent, "week-tag", never, { "lockedDate": { "alias": "lockedDate"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { AnyTagComponent } from '../
|
|
1
|
+
import { AnyTagComponent } from '../any-tag.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class YearTagComponent extends AnyTagComponent {
|
|
3
4
|
get isLocked(): boolean;
|
|
4
5
|
lockedDate: any[];
|
|
@@ -8,4 +9,6 @@ export declare class YearTagComponent extends AnyTagComponent {
|
|
|
8
9
|
initName(): void;
|
|
9
10
|
chosenTagHandler(value: number): void;
|
|
10
11
|
dateFilter(date: any): boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YearTagComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YearTagComponent, "year-tag", never, { "lockedDate": { "alias": "lockedDate"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
14
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ClickOutsideDirective implements OnInit, OnDestroy, OnChanges {
|
|
4
|
+
private _document;
|
|
5
|
+
private _el;
|
|
6
|
+
attachOutsideOnClick: boolean;
|
|
7
|
+
exclude: string;
|
|
8
|
+
clickOutside: EventEmitter<Event>;
|
|
9
|
+
private _nodesExcluded;
|
|
10
|
+
constructor(_document: any, _el: ElementRef);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
+
private _init;
|
|
15
|
+
/** @internal */
|
|
16
|
+
private _initOnClickBody;
|
|
17
|
+
/** @internal */
|
|
18
|
+
private _onClickBody;
|
|
19
|
+
/** @internal */
|
|
20
|
+
private _shouldExclude;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, { "attachOutsideOnClick": { "alias": "attachOutsideOnClick"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "clickOutside": "clickOutside"; }, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./click-outside.directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ClickOutsideModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClickOutsideModule, [typeof i1.ClickOutsideDirective], [typeof i2.CommonModule], [typeof i1.ClickOutsideDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ClickOutsideModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef, Renderer2, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const DR_SHINE_ANIMATION_CLASS = "dr-shine-effect-animation";
|
|
4
|
+
export declare class DrShineAnimationDirective implements OnChanges, OnDestroy {
|
|
5
|
+
private el;
|
|
6
|
+
private renderer;
|
|
7
|
+
isShineEnabled: boolean;
|
|
8
|
+
drShineAnimationInterval: number;
|
|
9
|
+
private intervalId;
|
|
10
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
private startShine;
|
|
14
|
+
private stopShine;
|
|
15
|
+
private addShineEffect;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrShineAnimationDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DrShineAnimationDirective, "[drShineAnimation]", never, { "isShineEnabled": { "alias": "drShineAnimation"; "required": false; }; "drShineAnimationInterval": { "alias": "drShineAnimationInterval"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LetContext<T> {
|
|
4
|
+
private readonly dir;
|
|
5
|
+
constructor(dir: LetDirective<T>);
|
|
6
|
+
get ngLet(): T;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Works like *ngIf but does not have a condition
|
|
10
|
+
* Use it to declare the result of pipes calculation
|
|
11
|
+
* (i.e. async pipe)
|
|
12
|
+
*/
|
|
13
|
+
export declare class LetDirective<T> {
|
|
14
|
+
ngLet: T;
|
|
15
|
+
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<LetContext<T>>);
|
|
16
|
+
static ngTemplateContextGuard<T>(dir: LetDirective<T>, ctx: any): ctx is LetContext<T>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LetDirective<any>, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LetDirective<any>, "[ngLet]", never, { "ngLet": { "alias": "ngLet"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NgForOf } from '@angular/common';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TrackByPropertyDirective<T> {
|
|
4
|
+
ngForTrackByProperty: keyof T;
|
|
5
|
+
constructor(ngForOfDir: NgForOf<T>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrackByPropertyDirective<any>, [{ host: true; }]>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TrackByPropertyDirective<any>, "[ngForTrackByProperty]", never, { "ngForTrackByProperty": { "alias": "ngForTrackByProperty"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { DrAccordionItemComponent } from './accordion-item.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DrAccordionItemBodyComponent implements OnInit, OnDestroy {
|
|
4
5
|
private accordionItem;
|
|
5
6
|
private cd;
|
|
@@ -8,4 +9,6 @@ export declare class DrAccordionItemBodyComponent implements OnInit, OnDestroy {
|
|
|
8
9
|
get state(): string;
|
|
9
10
|
ngOnInit(): void;
|
|
10
11
|
ngOnDestroy(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrAccordionItemBodyComponent, [{ host: true; }, null]>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrAccordionItemBodyComponent, "dr-accordion-item-body", never, {}, {}, never, ["*"], false, never>;
|
|
11
14
|
}
|
|
@@ -1,16 +1,29 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { DrAccordionItemComponent } from './accordion-item.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type TDrAccordionChevronPosition = 'right' | 'left';
|
|
5
|
+
export type TDrAccordionChevronOrientation = 'vertical' | 'horizontal';
|
|
3
6
|
export declare class DrAccordionItemHeaderComponent implements OnInit, OnDestroy {
|
|
4
|
-
|
|
7
|
+
accordionItem: DrAccordionItemComponent;
|
|
5
8
|
private cd;
|
|
6
9
|
private destroy$;
|
|
10
|
+
chevronOrientation: TDrAccordionChevronOrientation;
|
|
11
|
+
chevronPosition: TDrAccordionChevronPosition;
|
|
12
|
+
icon: string;
|
|
13
|
+
toggleOnChevronClick: boolean;
|
|
7
14
|
get isCollapsed(): boolean;
|
|
8
15
|
get expanded(): boolean;
|
|
9
16
|
get tabbable(): string;
|
|
10
17
|
get disabled(): boolean;
|
|
18
|
+
private theme;
|
|
11
19
|
toggle(): void;
|
|
12
20
|
get state(): string;
|
|
21
|
+
chevronIconClass: string;
|
|
22
|
+
chevronRotationDegree: number;
|
|
13
23
|
constructor(accordionItem: DrAccordionItemComponent, cd: ChangeDetectorRef);
|
|
14
24
|
ngOnInit(): void;
|
|
15
25
|
ngOnDestroy(): void;
|
|
26
|
+
private getChevronIconClass;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrAccordionItemHeaderComponent, [{ host: true; }, null]>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrAccordionItemHeaderComponent, "dr-accordion-item-header", never, { "chevronOrientation": { "alias": "chevronOrientation"; "required": false; }; "chevronPosition": { "alias": "chevronPosition"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "toggleOnChevronClick": { "alias": "toggleOnChevronClick"; "required": false; }; }, {}, never, ["dr-accordion-item-title", "dr-accordion-item-description", "*"], false, never>;
|
|
16
29
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { DrAccordionComponent } from './accordion.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DrAccordionItemComponent implements OnInit, OnChanges, OnDestroy {
|
|
5
|
-
|
|
6
|
+
accordion: DrAccordionComponent;
|
|
6
7
|
private cd;
|
|
7
8
|
/**
|
|
8
9
|
* Item is collapse (`true` by default)
|
|
@@ -52,4 +53,6 @@ export declare class DrAccordionItemComponent implements OnInit, OnChanges, OnDe
|
|
|
52
53
|
ngOnChanges(changes: SimpleChanges): void;
|
|
53
54
|
ngOnDestroy(): void;
|
|
54
55
|
private invalidate;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrAccordionItemComponent, [{ host: true; }, null]>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrAccordionItemComponent, "dr-accordion-item", never, { "collapsed": { "alias": "collapsed"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "collapsedChange": "collapsedChange"; }, never, ["dr-accordion-item-header", "dr-accordion-item-body"], false, never>;
|
|
55
58
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type TDrAccordionTheme = 'regular' | 'borderless';
|
|
2
4
|
export declare class DrAccordionComponent {
|
|
3
5
|
static ngAcceptInputType_multi: any;
|
|
4
6
|
openCloseItems: Subject<boolean>;
|
|
@@ -6,6 +8,7 @@ export declare class DrAccordionComponent {
|
|
|
6
8
|
* Allow multiple items to be expanded at the same time.
|
|
7
9
|
*/
|
|
8
10
|
get multi(): boolean;
|
|
11
|
+
theme: TDrAccordionTheme;
|
|
9
12
|
set multi(val: boolean);
|
|
10
13
|
private multiValue;
|
|
11
14
|
/**
|
|
@@ -16,4 +19,6 @@ export declare class DrAccordionComponent {
|
|
|
16
19
|
* Closes all enabled accordion items.
|
|
17
20
|
*/
|
|
18
21
|
closeAll(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrAccordionComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrAccordionComponent, "dr-accordion", never, { "multi": { "alias": "multi"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, ["dr-accordion-item"], false, never>;
|
|
19
24
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./accordion.component";
|
|
3
|
+
import * as i2 from "./accordion-item.component";
|
|
4
|
+
import * as i3 from "./accordion-item-header.component";
|
|
5
|
+
import * as i4 from "./accordion-item-body.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
1
7
|
export declare class DrAccordionModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrAccordionModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DrAccordionModule, [typeof i1.DrAccordionComponent, typeof i2.DrAccordionItemComponent, typeof i3.DrAccordionItemHeaderComponent, typeof i4.DrAccordionItemBodyComponent], [typeof i5.CommonModule], [typeof i1.DrAccordionComponent, typeof i2.DrAccordionItemComponent, typeof i3.DrAccordionItemHeaderComponent, typeof i4.DrAccordionItemBodyComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DrAccordionModule>;
|
|
2
11
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { DrAlertTheme } from './enums/dr-alert-theme.enum';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class DrAlertComponent {
|
|
3
4
|
theme: DrAlertTheme;
|
|
4
5
|
customIconClass: string;
|
|
5
6
|
text: string;
|
|
6
7
|
get elementClass(): string;
|
|
7
8
|
get themeIconClass(): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrAlertComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrAlertComponent, "dr-alert", never, { "theme": { "alias": "theme"; "required": false; }; "customIconClass": { "alias": "customIconClass"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
8
11
|
}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dr-alert.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
1
4
|
export declare class DrAlertModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrAlertModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DrAlertModule, [typeof i1.DrAlertComponent], [typeof i2.CommonModule], [typeof i1.DrAlertComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DrAlertModule>;
|
|
2
8
|
}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { AvatarUser } from './types';
|
|
3
|
+
import { ElPosition } from '../models/dropdown';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DrAvatarComponent<T extends AvatarUser = AvatarUser> {
|
|
6
|
+
set users(users: T[] | T | null | undefined);
|
|
5
7
|
showUnassigned: boolean;
|
|
6
|
-
drAvatarTooltipPosition:
|
|
8
|
+
drAvatarTooltipPosition: ElPosition;
|
|
7
9
|
drAvatarTooltipClass: string;
|
|
8
10
|
drAvatarSize: string;
|
|
9
11
|
drAvatarIsClickable: boolean;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
12
|
+
compact: boolean;
|
|
13
|
+
userClicked: EventEmitter<void>;
|
|
14
|
+
parsedUsers: T[];
|
|
15
|
+
readonly USERS_TO_SHOW = 2;
|
|
16
|
+
getFirstUsers(): T[];
|
|
17
|
+
getLastUsers(): T[];
|
|
18
|
+
getAvatarColor(user: T): string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrAvatarComponent<any>, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrAvatarComponent<any>, "dr-avatar", never, { "users": { "alias": "users"; "required": false; }; "showUnassigned": { "alias": "showUnassigned"; "required": false; }; "drAvatarTooltipPosition": { "alias": "drAvatarTooltipPosition"; "required": false; }; "drAvatarTooltipClass": { "alias": "drAvatarTooltipClass"; "required": false; }; "drAvatarSize": { "alias": "drAvatarSize"; "required": false; }; "drAvatarIsClickable": { "alias": "drAvatarIsClickable"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, { "userClicked": "userClicked"; }, never, never, false, never>;
|
|
19
21
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dr-avatar.component";
|
|
3
|
+
import * as i2 from "./dr-avatar.pipe";
|
|
4
|
+
import * as i3 from "../dr-tooltip/dr-tooltip.module";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
1
6
|
export declare class DrAvatarModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrAvatarModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DrAvatarModule, [typeof i1.DrAvatarComponent, typeof i2.DrAvatarPipe], [typeof i3.DrTooltipModule, typeof i4.CommonModule], [typeof i1.DrAvatarComponent, typeof i2.DrAvatarPipe]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DrAvatarModule>;
|
|
2
10
|
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AvatarUser } from './types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
2
4
|
export declare class DrAvatarPipe implements PipeTransform {
|
|
3
|
-
transform(item:
|
|
5
|
+
transform<T extends AvatarUser>(item: T, type?: 'full' | 'initials'): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrAvatarPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DrAvatarPipe, "drAvatar", false>;
|
|
4
8
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { BadgeStatus } from '../models/badgeStatus';
|
|
3
|
-
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DrBadgeStatusComponent {
|
|
4
4
|
theme: BadgeStatus;
|
|
5
5
|
icon: string;
|
|
6
6
|
label: string;
|
|
7
7
|
tooltip: string;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
tooltipClass: string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrBadgeStatusComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrBadgeStatusComponent, "dr-badge-status", never, { "theme": { "alias": "theme"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipClass": { "alias": "tooltipClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
11
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dr-badge-status.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../dr-tooltip/dr-tooltip.module";
|
|
1
5
|
export declare class DrBadgeStatusModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrBadgeStatusModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DrBadgeStatusModule, [typeof i1.DrBadgeStatusComponent], [typeof i2.CommonModule, typeof i3.DrTooltipModule], [typeof i1.DrBadgeStatusComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DrBadgeStatusModule>;
|
|
2
9
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { ElementRef, QueryList, AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
1
|
+
import { ElementRef, QueryList, AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
2
|
import { DrChatFormComponent } from './dr-chat-form/chat-form.component';
|
|
3
3
|
import { DrChatMessageComponent } from './dr-chat-message/chat-message.component';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
import { DrChatSuggestionsComponent } from './dr-chat-suggestions/chat-suggestions.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class DrChatComponent implements AfterViewInit, OnDestroy {
|
|
7
8
|
private cdr;
|
|
8
9
|
private destroy$;
|
|
9
10
|
fullScreen: boolean;
|
|
10
|
-
title: string;
|
|
11
|
-
subtitle: string;
|
|
12
|
-
showClearButton: boolean;
|
|
13
11
|
noMessagesPlaceholder: string;
|
|
14
12
|
set contentUpdateSubject(value: Subject<any>);
|
|
15
13
|
/**
|
|
@@ -29,8 +27,7 @@ export declare class DrChatComponent implements AfterViewInit, OnDestroy {
|
|
|
29
27
|
messagesContainer: ElementRef;
|
|
30
28
|
messages: QueryList<DrChatMessageComponent>;
|
|
31
29
|
chatForm: DrChatFormComponent;
|
|
32
|
-
|
|
33
|
-
close: EventEmitter<any>;
|
|
30
|
+
chatHeader: TemplateRef<unknown>;
|
|
34
31
|
suggestionSelect: EventEmitter<string>;
|
|
35
32
|
_chatSuggestions: DrChatSuggestionsComponent;
|
|
36
33
|
get messagesContainerWithScroll(): boolean;
|
|
@@ -39,6 +36,8 @@ export declare class DrChatComponent implements AfterViewInit, OnDestroy {
|
|
|
39
36
|
updateView(): void;
|
|
40
37
|
scrollListBottom(): void;
|
|
41
38
|
ngOnDestroy(): void;
|
|
42
|
-
|
|
39
|
+
clearHiddenSuggestions(): void;
|
|
43
40
|
hideSuggestions(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrChatComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrChatComponent, "dr-chat", never, { "fullScreen": { "alias": "fullScreen"; "required": false; }; "noMessagesPlaceholder": { "alias": "noMessagesPlaceholder"; "required": false; }; "contentUpdateSubject": { "alias": "contentUpdateSubject"; "required": false; }; "scrollBottom": { "alias": "scrollBottom"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "reopen": { "alias": "reopen"; "required": false; }; "waitForReply": { "alias": "waitForReply"; "required": false; }; }, { "suggestionSelect": "suggestionSelect"; }, ["chatForm", "chatHeader", "messages"], ["dr-chat-alert", "dr-chat-message", "dr-chat-form", "dr-chat-form-with-history"], false, never>;
|
|
44
43
|
}
|
|
@@ -1,2 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./chat.component";
|
|
3
|
+
import * as i2 from "./dr-chat-message/chat-message.component";
|
|
4
|
+
import * as i3 from "./dr-chat-form/chat-form.component";
|
|
5
|
+
import * as i4 from "./dr-chat-form-with-history/chat-form-with-history.component";
|
|
6
|
+
import * as i5 from "./dr-chat-message/dr-chat-message-text/chat-message-text.component";
|
|
7
|
+
import * as i6 from "./dr-chat-message/dr-chat-message-file/chat-message-file.component";
|
|
8
|
+
import * as i7 from "./dr-chat-suggestions/chat-suggestions.component";
|
|
9
|
+
import * as i8 from "./dr-dot-flashing/dr-dot-flashing.component";
|
|
10
|
+
import * as i9 from "./dr-chat-alert/dr-chat-alert.component";
|
|
11
|
+
import * as i10 from "./dr-chat-message/dr-chat-message-custom/chat-custom-message.directive";
|
|
12
|
+
import * as i11 from "@angular/forms";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
14
|
+
import * as i13 from "../dr-avatar/dr-avatar.module";
|
|
15
|
+
import * as i14 from "../dr-inputs/dr-inputs.module";
|
|
16
|
+
import * as i15 from "../dr-tooltip/dr-tooltip.module";
|
|
17
|
+
import * as i16 from "../directives/click-outside/click-outside.module";
|
|
1
18
|
export declare class DrChatModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrChatModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DrChatModule, [typeof i1.DrChatComponent, typeof i2.DrChatMessageComponent, typeof i3.DrChatFormComponent, typeof i4.DrChatFormWithHistoryComponent, typeof i5.DrChatMessageTextComponent, typeof i6.DrChatMessageFileComponent, typeof i7.DrChatSuggestionsComponent, typeof i8.DrDotFlashingComponent, typeof i9.DrChatAlertComponent, typeof i10.DrChatCustomMessageDirective], [typeof i11.FormsModule, typeof i11.ReactiveFormsModule, typeof i12.CommonModule, typeof i13.DrAvatarModule, typeof i14.DrInputsModule, typeof i15.DrTooltipModule, typeof i16.ClickOutsideModule], [typeof i1.DrChatComponent, typeof i2.DrChatMessageComponent, typeof i3.DrChatFormComponent, typeof i4.DrChatFormWithHistoryComponent, typeof i5.DrChatMessageTextComponent, typeof i6.DrChatMessageFileComponent, typeof i7.DrChatSuggestionsComponent, typeof i8.DrDotFlashingComponent, typeof i9.DrChatAlertComponent, typeof i10.DrChatCustomMessageDirective]>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DrChatModule>;
|
|
2
22
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DrChatAlertComponent {
|
|
4
|
+
iconClass: string;
|
|
5
|
+
close: EventEmitter<void>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrChatAlertComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrChatAlertComponent, "dr-chat-alert", never, { "iconClass": { "alias": "iconClass"; "required": false; }; }, { "close": "close"; }, never, ["*"], false, never>;
|
|
8
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DrChatFormComponent {
|
|
4
5
|
protected cdr: ChangeDetectorRef;
|
|
5
6
|
protected domSanitizer: DomSanitizer;
|
|
@@ -37,6 +38,12 @@ export declare class DrChatFormComponent {
|
|
|
37
38
|
* @type {boolean}
|
|
38
39
|
*/
|
|
39
40
|
waitForReply: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Parameter to check is send message function available
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
*/
|
|
46
|
+
showDisabledButtonInsteadOfDotFlashing: boolean;
|
|
40
47
|
/**
|
|
41
48
|
*
|
|
42
49
|
* @type {EventEmitter<{ message: string, files: File[] }>}
|
|
@@ -58,8 +65,11 @@ export declare class DrChatFormComponent {
|
|
|
58
65
|
removeFile(file: any): void;
|
|
59
66
|
onDragOver(event: DragEvent): void;
|
|
60
67
|
onDragLeave(event: DragEvent): void;
|
|
61
|
-
sendMessage(): void;
|
|
68
|
+
sendMessage($event: any): void;
|
|
62
69
|
abortMessage(): void;
|
|
63
70
|
onModelChange(value: string): void;
|
|
64
71
|
getTextAreaHeight(textAreaElement: HTMLTextAreaElement): string;
|
|
72
|
+
getSendButtonPosition(textAreaElement: HTMLTextAreaElement): string;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrChatFormComponent, never>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrChatFormComponent, "dr-chat-form", never, { "message": { "alias": "message"; "required": false; }; "messagePlaceholder": { "alias": "messagePlaceholder"; "required": false; }; "dropFiles": { "alias": "dropFiles"; "required": false; }; "dropFilePlaceholder": { "alias": "dropFilePlaceholder"; "required": false; }; "waitForReply": { "alias": "waitForReply"; "required": false; }; "showDisabledButtonInsteadOfDotFlashing": { "alias": "showDisabledButtonInsteadOfDotFlashing"; "required": false; }; }, { "send": "send"; "abort": "abort"; "inputChange": "inputChange"; }, never, never, false, never>;
|
|
65
75
|
}
|