@f1falcha/stimulus 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion-config.scss +18 -0
- package/accordion/accordion-item/accordion-item.component.d.ts +11 -0
- package/accordion/accordion-item-body/accordion-item-body.component.d.ts +10 -0
- package/accordion/accordion-item-header/accordion-item-header.component.d.ts +15 -0
- package/accordion/accordion.d.ts +12 -0
- package/accordion/accordion.icon.d.ts +3 -0
- package/accordion/accordion.scss +41 -0
- package/account-card/account-card-config.scss +36 -0
- package/account-card/account-card-header/account-card-header-config.scss +9 -0
- package/account-card/account-card-header/account-card-header.component.d.ts +12 -0
- package/account-card/account-card-header/account-card-header.scss +11 -0
- package/account-card/account-card.component.d.ts +16 -0
- package/account-card/account-card.scss +19 -0
- package/alert/alert-animation.d.ts +6 -0
- package/alert/alert-config.d.ts +26 -0
- package/alert/alert-config.scss +43 -0
- package/alert/alert-icon.d.ts +3 -0
- package/alert/alert-ref.d.ts +11 -0
- package/alert/alert.d.ts +23 -0
- package/alert/alert.scss +91 -0
- package/alert/alert.service.d.ts +31 -0
- package/avatar/avatar-config.scss +12 -0
- package/avatar/avatar.d.ts +21 -0
- package/avatar/avatar.scss +2 -0
- package/badge/badge-config.scss +68 -0
- package/badge/badge.d.ts +17 -0
- package/badge/badge.scss +21 -0
- package/bank-logo.provider.d.ts +7 -0
- package/bordered-section/bordered-section-config.scss +24 -0
- package/bordered-section/bordered-section.d.ts +15 -0
- package/bordered-section/bordered-section.scss +22 -0
- package/box-shadow/box-shadow-config.scss +18 -0
- package/button/button-config.scss +342 -0
- package/button/button.d.ts +10 -0
- package/button/button.scss +62 -0
- package/button-group/button-group-config.scss +12 -0
- package/button-group/button-group-header/button-group-header-config.scss +9 -0
- package/button-group/button-group-header/button-group-header.d.ts +8 -0
- package/button-group/button-group-header/button-group-header.scss +5 -0
- package/button-group/button-group.d.ts +11 -0
- package/button-group/buttton-group.scss +19 -0
- package/button-spinner/button-spinner-config.scss +15 -0
- package/button-spinner/button-spinner.scss +30 -0
- package/card/card-config.scss +15 -0
- package/card/card.component.d.ts +8 -0
- package/card/card.scss +14 -0
- package/chart/chart-config.scss +21 -0
- package/chart/chart.component.d.ts +21 -0
- package/chart/chart.component.scss +34 -0
- package/checkbox/checkbox-config.scss +62 -0
- package/checkbox/checkbox.scss +45 -0
- package/checkbox-dropdown/checkbox-dropdown.component.d.ts +139 -0
- package/checkbox-dropdown/checkbox-dropdown.component.scss +11 -0
- package/checkbox-dropdown/checkbox-dropdown.icon.d.ts +3 -0
- package/clipboard/clipboard-config.scss +23 -0
- package/clipboard/clipboard.component.d.ts +15 -0
- package/clipboard/clipboard.component.scss +37 -0
- package/clipboard/clipboard.icon.d.ts +3 -0
- package/color/cherry.scss +19 -0
- package/color/chilli.scss +19 -0
- package/color/comet.scss +19 -0
- package/color/cotton-candy.scss +19 -0
- package/color/default.scss +154 -0
- package/color/emerald.scss +19 -0
- package/color/goblin.scss +19 -0
- package/color/jacaranda.scss +19 -0
- package/color/mars.scss +19 -0
- package/color/orchid.scss +19 -0
- package/color/spaceship.scss +19 -0
- package/color/summer.scss +19 -0
- package/color/tiger-lily.scss +19 -0
- package/color-wrapper/color-wrapper-config.scss +37 -0
- package/color-wrapper/color-wrapper.d.ts +17 -0
- package/color-wrapper/color-wrapper.scss +23 -0
- package/column-seperator/column-separator-config.scss +16 -0
- package/column-seperator/column-separator.d.ts +14 -0
- package/column-seperator/column-separator.scss +25 -0
- package/column-text/column-text.config.scss +12 -0
- package/column-text/column-text.d.ts +11 -0
- package/column-text/column-text.scss +22 -0
- package/container/container-config.scss +12 -0
- package/container/container.component.d.ts +12 -0
- package/container/container.scss +19 -0
- package/custom-datepicker/custom-datepicker-config.scss +50 -0
- package/custom-datepicker/custom-datepicker.component.d.ts +80 -0
- package/custom-datepicker/custom-datepicker.component.scss +127 -0
- package/custom-datepicker/custom-datepicker.model.d.ts +18 -0
- package/custom-datepicker/datepicker.icon.d.ts +3 -0
- package/custom-datepicker/timepicker/timepicker.component.d.ts +37 -0
- package/custom-datepicker/timepicker/timepicker.component.scss +79 -0
- package/data-list/data-list.config.scss +35 -0
- package/data-list/data-list.d.ts +13 -0
- package/data-list/data-list.scss +67 -0
- package/date-range-picker/date-range-picker.d.ts +40 -0
- package/datepicker/datepicker.config.scss +0 -0
- package/datepicker/datepicker.d.ts +45 -0
- package/datepicker/datepicker.scss +0 -0
- package/datepicker-icon/datepicker-icon-config.scss +10 -0
- package/datepicker-icon/datepicker-icon.d.ts +6 -0
- package/datepicker-icon/datepicker-icon.scss +7 -0
- package/datepicker.provider.d.ts +2 -0
- package/detail-panel/detail-panel-config.scss +16 -0
- package/detail-panel/detail-panel-row/detail-panel-column/detail-panel-column-config.scss +11 -0
- package/detail-panel/detail-panel-row/detail-panel-column/detail-panel-column.d.ts +6 -0
- package/detail-panel/detail-panel-row/detail-panel-column/detail-panel-column.scss +15 -0
- package/detail-panel/detail-panel-row/detail-panel-row.d.ts +6 -0
- package/detail-panel/detail-panel-row/detail-panel-row.scss +5 -0
- package/detail-panel/detail-panel-title/detail-panel-title-config.scss +14 -0
- package/detail-panel/detail-panel-title/detail-panel-title.d.ts +7 -0
- package/detail-panel/detail-panel-title/detail-panel-title.scss +16 -0
- package/detail-panel/detail-panel.d.ts +11 -0
- package/detail-panel/detail-panel.scss +50 -0
- package/dialog/dialog-body/dialog-body.component.d.ts +6 -0
- package/dialog/dialog-config.scss +24 -0
- package/dialog/dialog-container/dialog-container-config.scss +9 -0
- package/dialog/dialog-container/dialog-container.component.d.ts +6 -0
- package/dialog/dialog-container/dialog-container.scss +6 -0
- package/dialog/dialog-footer/dialog-footer.component.d.ts +6 -0
- package/dialog/dialog-footer/dialog-footer.scss +6 -0
- package/dialog/dialog-header/dialog-header-config.scss +14 -0
- package/dialog/dialog-header/dialog-header.component.d.ts +10 -0
- package/dialog/dialog-header/dialog-header.scss +16 -0
- package/dialog/dialog-icon.d.ts +3 -0
- package/dialog/dialog.component.d.ts +12 -0
- package/dialog/dialog.scss +27 -0
- package/dialog.provider.d.ts +3 -0
- package/dialog.ref.d.ts +4 -0
- package/dialog.service.d.ts +7 -0
- package/dropdown/context-menu-config.scss +23 -0
- package/dropdown/context-menu-content/context-menu-content.d.ts +9 -0
- package/dropdown/context-menu-item.d.ts +10 -0
- package/dropdown/context-menu-list/context-menu-list.d.ts +9 -0
- package/dropdown/context-menu.d.ts +19 -0
- package/dropdown/context-menu.scss +41 -0
- package/error-page-container/error-content/error-content-config.scss +29 -0
- package/error-page-container/error-content/error-content.d.ts +24 -0
- package/error-page-container/error-content/error-content.scss +58 -0
- package/error-page-container/error-page-container.d.ts +6 -0
- package/error-page-container/error-page-container.scss +15 -0
- package/esm2022/accordion/accordion-item/accordion-item.component.mjs +23 -0
- package/esm2022/accordion/accordion-item-body/accordion-item-body.component.mjs +18 -0
- package/esm2022/accordion/accordion-item-header/accordion-item-header.component.mjs +41 -0
- package/esm2022/accordion/accordion.icon.mjs +25 -0
- package/esm2022/accordion/accordion.mjs +14 -0
- package/esm2022/account-card/account-card-header/account-card-header.component.mjs +30 -0
- package/esm2022/account-card/account-card.component.mjs +64 -0
- package/esm2022/alert/alert-animation.mjs +9 -0
- package/esm2022/alert/alert-config.mjs +13 -0
- package/esm2022/alert/alert-icon.mjs +33 -0
- package/esm2022/alert/alert-ref.mjs +23 -0
- package/esm2022/alert/alert.mjs +50 -0
- package/esm2022/alert/alert.service.mjs +112 -0
- package/esm2022/avatar/avatar.mjs +91 -0
- package/esm2022/badge/badge.mjs +77 -0
- package/esm2022/bank-logo.provider.mjs +12 -0
- package/esm2022/bordered-section/bordered-section.mjs +70 -0
- package/esm2022/button/button.mjs +26 -0
- package/esm2022/button-group/button-group-header/button-group-header.mjs +24 -0
- package/esm2022/button-group/button-group.mjs +41 -0
- package/esm2022/card/card.component.mjs +28 -0
- package/esm2022/chart/chart.component.mjs +70 -0
- package/esm2022/checkbox-dropdown/checkbox-dropdown.component.mjs +232 -0
- package/esm2022/checkbox-dropdown/checkbox-dropdown.icon.mjs +14 -0
- package/esm2022/clipboard/clipboard.component.mjs +36 -0
- package/esm2022/clipboard/clipboard.icon.mjs +6 -0
- package/esm2022/color-wrapper/color-wrapper.mjs +82 -0
- package/esm2022/column-seperator/column-separator.mjs +62 -0
- package/esm2022/column-text/column-text.mjs +38 -0
- package/esm2022/container/container.component.mjs +46 -0
- package/esm2022/custom-datepicker/custom-datepicker.component.mjs +364 -0
- package/esm2022/custom-datepicker/custom-datepicker.model.mjs +12 -0
- package/esm2022/custom-datepicker/datepicker.icon.mjs +7 -0
- package/esm2022/custom-datepicker/timepicker/timepicker.component.mjs +195 -0
- package/esm2022/data-list/data-list.mjs +46 -0
- package/esm2022/date-range-picker/date-range-picker.mjs +207 -0
- package/esm2022/datepicker/datepicker.mjs +153 -0
- package/esm2022/datepicker-icon/datepicker-icon.mjs +18 -0
- package/esm2022/datepicker.provider.mjs +6 -0
- package/esm2022/detail-panel/detail-panel-row/detail-panel-column/detail-panel-column.mjs +15 -0
- package/esm2022/detail-panel/detail-panel-row/detail-panel-row.mjs +15 -0
- package/esm2022/detail-panel/detail-panel-title/detail-panel-title.mjs +19 -0
- package/esm2022/detail-panel/detail-panel.mjs +36 -0
- package/esm2022/dialog/dialog-body/dialog-body.component.mjs +16 -0
- package/esm2022/dialog/dialog-container/dialog-container.component.mjs +16 -0
- package/esm2022/dialog/dialog-footer/dialog-footer.component.mjs +16 -0
- package/esm2022/dialog/dialog-header/dialog-header.component.mjs +25 -0
- package/esm2022/dialog/dialog-icon.mjs +8 -0
- package/esm2022/dialog/dialog.component.mjs +36 -0
- package/esm2022/dialog.provider.mjs +5 -0
- package/esm2022/dialog.ref.mjs +4 -0
- package/esm2022/dialog.service.mjs +15 -0
- package/esm2022/dropdown/context-menu-content/context-menu-content.mjs +18 -0
- package/esm2022/dropdown/context-menu-item.mjs +28 -0
- package/esm2022/dropdown/context-menu-list/context-menu-list.mjs +18 -0
- package/esm2022/dropdown/context-menu.mjs +61 -0
- package/esm2022/error-page-container/error-content/error-content.mjs +49 -0
- package/esm2022/error-page-container/error-page-container.mjs +18 -0
- package/esm2022/extract-inital/extract-initial.mjs +21 -0
- package/esm2022/f1softinternational-stimulus.mjs +5 -0
- package/esm2022/file-uploader/file-uploader-icon.mjs +13 -0
- package/esm2022/file-uploader/file-uploader.mjs +274 -0
- package/esm2022/file-uploader/file-uploader.ref.mjs +3 -0
- package/esm2022/file-uploader/file-uploader.service.mjs +26 -0
- package/esm2022/filter/filter.mjs +173 -0
- package/esm2022/form/form-control/form-control-action.mjs +18 -0
- package/esm2022/form/form-control/form-control-icon.mjs +18 -0
- package/esm2022/form/form-control/form-field.mjs +86 -0
- package/esm2022/form/form-control-wrapper/form-control-wrapper.component.mjs +22 -0
- package/esm2022/form/form-error-messages.mjs +43 -0
- package/esm2022/form/form-message/form-message.mjs +30 -0
- package/esm2022/form/select-input-field/select-input-field.mjs +14 -0
- package/esm2022/form/validate-and-submit.mjs +54 -0
- package/esm2022/full-container/full-container.component.mjs +30 -0
- package/esm2022/grid/grid-item.component.mjs +24 -0
- package/esm2022/grid/grid.component.mjs +56 -0
- package/esm2022/grid-row/grid-row.mjs +18 -0
- package/esm2022/icon/icons.mjs +619 -0
- package/esm2022/image-card/illustration.pipe.mjs +57 -0
- package/esm2022/image-card/image-card.component.mjs +22 -0
- package/esm2022/image-panel/image-panel.component.mjs +88 -0
- package/esm2022/info-column/info-column.mjs +18 -0
- package/esm2022/info-slider/info-slider.component.mjs +50 -0
- package/esm2022/inline-alert/inline-alert.mjs +51 -0
- package/esm2022/inline-group/inline-group.component.mjs +32 -0
- package/esm2022/input/input.mjs +25 -0
- package/esm2022/label/label.mjs +18 -0
- package/esm2022/layout/layout.component.mjs +23 -0
- package/esm2022/link/link.mjs +79 -0
- package/esm2022/media-preview/media-preview-icon.mjs +41 -0
- package/esm2022/media-preview/media-preview-modal/media-preview-modal.mjs +128 -0
- package/esm2022/media-preview/media-preview.mjs +131 -0
- package/esm2022/media-preview/media_preview.service.mjs +31 -0
- package/esm2022/menu/menu-icon.mjs +29 -0
- package/esm2022/menu/menu.component.mjs +151 -0
- package/esm2022/nebular-icon.mjs +179 -0
- package/esm2022/otp-input/otp-input.component.mjs +106 -0
- package/esm2022/otp-input/otp-input.icon.mjs +13 -0
- package/esm2022/page-container/page-container-info/page-container-info.component.mjs +28 -0
- package/esm2022/page-container/page-container.component.mjs +63 -0
- package/esm2022/page-header/page-header.component.mjs +47 -0
- package/esm2022/page-header/page-header.icons.mjs +8 -0
- package/esm2022/page-header/page-sub-heading/page-sub-heading.component.mjs +12 -0
- package/esm2022/page-loader/page-loader.component.mjs +47 -0
- package/esm2022/pagination/pagination.icon.mjs +11 -0
- package/esm2022/pagination/pagination.mjs +170 -0
- package/esm2022/popover-content/popover-content-item/popover-content-item.component.mjs +15 -0
- package/esm2022/popover-content/popover-content.component.mjs +23 -0
- package/esm2022/preview-box/preview-box.component.mjs +73 -0
- package/esm2022/progress-bar/progress-bar.component.mjs +31 -0
- package/esm2022/progress-chart/progress-chart.component.mjs +87 -0
- package/esm2022/public-api.mjs +141 -0
- package/esm2022/radio-card-group/radio-card/radio-card.component.mjs +86 -0
- package/esm2022/radio-card-group/radio-card-group.component.mjs +61 -0
- package/esm2022/regex-checker/regex-checker-icon.mjs +18 -0
- package/esm2022/regex-checker/regex-checker.mjs +77 -0
- package/esm2022/regex-checker/regex-validity-icon.pipe.mjs +25 -0
- package/esm2022/ribbon/ribbon-icon.mjs +8 -0
- package/esm2022/ribbon/ribbon.mjs +37 -0
- package/esm2022/round-checkbox/round-checkbox.component.mjs +43 -0
- package/esm2022/row/column/column.component.mjs +19 -0
- package/esm2022/row/row.component.mjs +32 -0
- package/esm2022/scrollable-content/scrollable-content.component.mjs +22 -0
- package/esm2022/section-header/section-header.component.mjs +29 -0
- package/esm2022/section-row/section-row.mjs +35 -0
- package/esm2022/section-separator/section-separator.mjs +69 -0
- package/esm2022/section-shell/section-shell.component.mjs +45 -0
- package/esm2022/select/select.component.mjs +137 -0
- package/esm2022/select-card/select-card-icon.mjs +24 -0
- package/esm2022/select-card/select-card.component.mjs +117 -0
- package/esm2022/select-country/select-country.component.mjs +86 -0
- package/esm2022/shell/checker-sidebar/checker-sidebar.component.mjs +19 -0
- package/esm2022/shell/maker-sidebar/maker-sidebar.component.mjs +19 -0
- package/esm2022/shell/nebular-icons.mjs +180 -0
- package/esm2022/shell/shell-icons.mjs +474 -0
- package/esm2022/shell/shell-sidebar/shell-sidebar.component.mjs +38 -0
- package/esm2022/shell/shell.component.mjs +77 -0
- package/esm2022/side-drawer/side-drawer.mjs +15 -0
- package/esm2022/side-drawer/side-drawer.service.mjs +71 -0
- package/esm2022/size/component-size.mjs +2 -0
- package/esm2022/spinner/spinner.mjs +32 -0
- package/esm2022/stepper/step/step.mjs +20 -0
- package/esm2022/stepper/step/step.pipe.mjs +21 -0
- package/esm2022/stepper/step-header/step-header.mjs +29 -0
- package/esm2022/stepper/stepper-button/stepper-next.mjs +21 -0
- package/esm2022/stepper/stepper-button/stepper-previous.mjs +21 -0
- package/esm2022/stepper/stepper.mjs +56 -0
- package/esm2022/stimulus.module.mjs +891 -0
- package/esm2022/table/table-column/scl-table-column.mjs +54 -0
- package/esm2022/table/table-icon.mjs +13 -0
- package/esm2022/table/table-text/scl-table-text.mjs +51 -0
- package/esm2022/table/table.config.mjs +15 -0
- package/esm2022/table/table.mjs +186 -0
- package/esm2022/table-action-control/table-action-control.component.mjs +20 -0
- package/esm2022/tabset/tab/tab.component.mjs +29 -0
- package/esm2022/tabset/tab-directive/tabset.directive.mjs +22 -0
- package/esm2022/tabset/tabset.component.mjs +40 -0
- package/esm2022/taglist/tag/tag.component.mjs +51 -0
- package/esm2022/taglist/tag/tag.directive.mjs +30 -0
- package/esm2022/taglist/taglist.component.mjs +39 -0
- package/esm2022/text-decoration/text-decoration.component.mjs +26 -0
- package/esm2022/text-editor/text-editor.mjs +263 -0
- package/esm2022/theme.provider.mjs +9 -0
- package/esm2022/timeline/timeline.component.mjs +66 -0
- package/esm2022/timepicker/timepicker.component.mjs +377 -0
- package/esm2022/timepicker/timepicker.icon.mjs +7 -0
- package/esm2022/timepicker/timepicker.model.mjs +6 -0
- package/esm2022/toggle/toggle-description/toggle-description.mjs +18 -0
- package/esm2022/toggle/toggle.mjs +75 -0
- package/esm2022/toggle-password/toggle-password.component.mjs +54 -0
- package/esm2022/toggle-password/toggle-password.directive.mjs +26 -0
- package/esm2022/toggle-password/toggle-password.icon.mjs +13 -0
- package/esm2022/treeview/treeview-header/treeview-header.mjs +26 -0
- package/esm2022/treeview/treeview.icon.mjs +53 -0
- package/esm2022/treeview/treeview.mjs +319 -0
- package/esm2022/truncate/truncate.component.mjs +53 -0
- package/esm2022/typography/typography.mjs +168 -0
- package/extract-inital/extract-initial.d.ts +8 -0
- package/f1softinternational-stimulus-1.0.0.tgz +0 -0
- package/fesm2022/f1softinternational-stimulus.mjs +10275 -0
- package/file-uploader/file-upload-config.scss +48 -0
- package/file-uploader/file-upload.scss +77 -0
- package/file-uploader/file-uploader-icon.d.ts +3 -0
- package/file-uploader/file-uploader.d.ts +84 -0
- package/file-uploader/file-uploader.ref.d.ts +6 -0
- package/file-uploader/file-uploader.service.d.ts +11 -0
- package/filter/filter.d.ts +48 -0
- package/flag/_flags.scss +9 -0
- package/form/form-config.scss +14 -0
- package/form/form-control/form-control-action.d.ts +6 -0
- package/form/form-control/form-control-config.scss +9 -0
- package/form/form-control/form-control-icon.d.ts +6 -0
- package/form/form-control/form-control.scss +17 -0
- package/form/form-control/form-field.d.ts +26 -0
- package/form/form-control-wrapper/form-control-wrapper-config.scss +11 -0
- package/form/form-control-wrapper/form-control-wrapper.component.d.ts +8 -0
- package/form/form-control-wrapper/form-control-wrapper.scss +17 -0
- package/form/form-error-messages.d.ts +8 -0
- package/form/form-message/form-message-config.scss +7 -0
- package/form/form-message/form-message.d.ts +15 -0
- package/form/form-message/form-message.scss +6 -0
- package/form/form.scss +22 -0
- package/form/select-input-field/select-input-field-config.scss +13 -0
- package/form/select-input-field/select-input-field.d.ts +6 -0
- package/form/select-input-field/select-input-field.scss +43 -0
- package/form/validate-and-submit.d.ts +14 -0
- package/full-container/full-container-config.scss +16 -0
- package/full-container/full-container.component.d.ts +11 -0
- package/full-container/full-container.component.scss +54 -0
- package/grid/grid-config.scss +14 -0
- package/grid/grid-item.component.d.ts +8 -0
- package/grid/grid.component.d.ts +10 -0
- package/grid/grid.component.scss +26 -0
- package/grid-row/grid-row.config.scss +9 -0
- package/grid-row/grid-row.d.ts +6 -0
- package/grid-row/grid-row.scss +7 -0
- package/icon/icon.config.scss +9 -0
- package/icon/icon.scss +9 -0
- package/icon/icons.d.ts +3 -0
- package/image-card/illustration.pipe.d.ts +8 -0
- package/image-card/image-card-config.scss +29 -0
- package/image-card/image-card.component.d.ts +8 -0
- package/image-card/image-card.scss +37 -0
- package/image-panel/image-panel-config.scss +30 -0
- package/image-panel/image-panel.component.d.ts +26 -0
- package/image-panel/image-panel.component.scss +80 -0
- package/index.d.ts +6 -0
- package/info-column/info-column-config.scss +14 -0
- package/info-column/info-column.d.ts +7 -0
- package/info-column/info-column.scss +17 -0
- package/info-slider/info-slider-config.scss +10 -0
- package/info-slider/info-slider.component.d.ts +16 -0
- package/info-slider/info-slider.component.scss +21 -0
- package/inline-alert/inline-alert-config.scss +12 -0
- package/inline-alert/inline-alert.d.ts +20 -0
- package/inline-alert/inline-alert.scss +16 -0
- package/inline-group/inline-group.component.d.ts +10 -0
- package/inline-group/inline-group.component.scss +15 -0
- package/input/input-config.scss +57 -0
- package/input/input.d.ts +10 -0
- package/input/input.scss +68 -0
- package/label/label-config.scss +13 -0
- package/label/label.d.ts +6 -0
- package/label/label.scss +10 -0
- package/layout/layout.component.d.ts +9 -0
- package/link/link-config.scss +89 -0
- package/link/link.d.ts +19 -0
- package/link/link.scss +157 -0
- package/media-preview/media-preview-config.scss +15 -0
- package/media-preview/media-preview-icon.d.ts +3 -0
- package/media-preview/media-preview-modal/media-preview-modal.d.ts +31 -0
- package/media-preview/media-preview-modal/media-preview-modal.scss +148 -0
- package/media-preview/media-preview-modal/media-previw-modal-config.scss +44 -0
- package/media-preview/media-preview.d.ts +48 -0
- package/media-preview/media-preview.scss +59 -0
- package/media-preview/media_preview.service.d.ts +16 -0
- package/menu/menu-config.scss +33 -0
- package/menu/menu-icon.d.ts +3 -0
- package/menu/menu.component.d.ts +47 -0
- package/menu/menu.component.scss +80 -0
- package/nebular-icon.d.ts +3 -0
- package/otp-input/otp-input-config.scss +22 -0
- package/otp-input/otp-input.component.d.ts +33 -0
- package/otp-input/otp-input.component.scss +52 -0
- package/otp-input/otp-input.icon.d.ts +3 -0
- package/package.json +57 -0
- package/page-container/page-container-config.scss +9 -0
- package/page-container/page-container-info/page-container-info-config.scss +9 -0
- package/page-container/page-container-info/page-container-info.component.d.ts +10 -0
- package/page-container/page-container-info/page-container-info.scss +6 -0
- package/page-container/page-container.component.d.ts +14 -0
- package/page-container/page-container.component.scss +11 -0
- package/page-header/page-header-config.scss +28 -0
- package/page-header/page-header.component.d.ts +18 -0
- package/page-header/page-header.component.scss +37 -0
- package/page-header/page-header.icons.d.ts +3 -0
- package/page-header/page-sub-heading/page-sub-heading.component.d.ts +6 -0
- package/page-loader/page-loader-config.scss +23 -0
- package/page-loader/page-loader.component.d.ts +13 -0
- package/page-loader/page-loader.component.scss +44 -0
- package/pagination/pagination-config.scss +24 -0
- package/pagination/pagination.d.ts +47 -0
- package/pagination/pagination.icon.d.ts +3 -0
- package/pagination/pagination.scss +67 -0
- package/popover-content/popover-content-item/popover-content-item-config.scss +22 -0
- package/popover-content/popover-content-item/popover-content-item.component.d.ts +6 -0
- package/popover-content/popover-content-item/popover-content-item.scss +36 -0
- package/popover-content/popover-content.component.d.ts +14 -0
- package/preview-box/preview-box-config.scss +52 -0
- package/preview-box/preview-box.component.d.ts +31 -0
- package/preview-box/preview-box.component.scss +101 -0
- package/progress-bar/progress-bar-config.scss +14 -0
- package/progress-bar/progress-bar.component.d.ts +10 -0
- package/progress-bar/progress-bar.component.scss +13 -0
- package/progress-chart/progress-chart-config.scss +15 -0
- package/progress-chart/progress-chart.component.d.ts +21 -0
- package/progress-chart/progress-chart.component.scss +41 -0
- package/public-api.d.ts +135 -0
- package/radio-button/radio-button-config.scss +47 -0
- package/radio-button/radio-button.scss +89 -0
- package/radio-card-group/radio-card/radio-card-config.scss +31 -0
- package/radio-card-group/radio-card/radio-card.component.d.ts +30 -0
- package/radio-card-group/radio-card/radio-card.component.scss +88 -0
- package/radio-card-group/radio-card-group-config.scss +9 -0
- package/radio-card-group/radio-card-group.component.d.ts +20 -0
- package/radio-card-group/radio-card-group.scss +7 -0
- package/regex-checker/regex-checker-config.scss +24 -0
- package/regex-checker/regex-checker-icon.d.ts +3 -0
- package/regex-checker/regex-checker.d.ts +29 -0
- package/regex-checker/regex-checker.scss +38 -0
- package/regex-checker/regex-validity-icon.pipe.d.ts +8 -0
- package/ribbon/ribbon-config.scss +21 -0
- package/ribbon/ribbon-icon.d.ts +3 -0
- package/ribbon/ribbon.d.ts +14 -0
- package/ribbon/ribbon.scss +29 -0
- package/round-checkbox/round-checkbox-config.scss +15 -0
- package/round-checkbox/round-checkbox.component.d.ts +16 -0
- package/round-checkbox/round-checkbox.component.scss +23 -0
- package/row/column/column.component.d.ts +9 -0
- package/row/row-config.scss +10 -0
- package/row/row.component.d.ts +9 -0
- package/row/row.scss +22 -0
- package/scrollable-content/scrollable-content-config.scss +11 -0
- package/scrollable-content/scrollable-content.component.d.ts +8 -0
- package/scrollable-content/scrollable-content.component.scss +28 -0
- package/section-header/section-header-config.scss +18 -0
- package/section-header/section-header.component.d.ts +9 -0
- package/section-header/section-header.component.scss +32 -0
- package/section-row/section-row-config.scss +9 -0
- package/section-row/section-row.d.ts +9 -0
- package/section-row/section-row.scss +23 -0
- package/section-separator/section-separator-config.scss +19 -0
- package/section-separator/section-separator.d.ts +15 -0
- package/section-separator/section-separator.scss +28 -0
- package/section-shell/section-shell-config.scss +23 -0
- package/section-shell/section-shell.component.d.ts +12 -0
- package/section-shell/section-shell.component.scss +30 -0
- package/select/select-config.scss +78 -0
- package/select/select.component.d.ts +44 -0
- package/select/select.scss +174 -0
- package/select-card/select-card-config.scss +32 -0
- package/select-card/select-card-icon.d.ts +3 -0
- package/select-card/select-card.component.d.ts +38 -0
- package/select-card/select-card.component.scss +66 -0
- package/select-country/select-country-config.scss +10 -0
- package/select-country/select-country.component.d.ts +33 -0
- package/select-country/select-country.component.scss +34 -0
- package/shell/checker-sidebar/checker-sidebar-config.scss +21 -0
- package/shell/checker-sidebar/checker-sidebar.component.d.ts +8 -0
- package/shell/checker-sidebar/checker-sidebar.component.scss +34 -0
- package/shell/maker-sidebar/maker-sidebar-config.scss +21 -0
- package/shell/maker-sidebar/maker-sidebar.component.d.ts +8 -0
- package/shell/maker-sidebar/maker-sidebar.component.scss +34 -0
- package/shell/nebular-icons.d.ts +3 -0
- package/shell/shell-config.component.scss +25 -0
- package/shell/shell-icons.d.ts +3 -0
- package/shell/shell-sidebar/shell-sidebar-config.scss +43 -0
- package/shell/shell-sidebar/shell-sidebar.component.d.ts +14 -0
- package/shell/shell-sidebar/shell-sidebar.component.scss +106 -0
- package/shell/shell-sidebar-menu/shell-sidebar-menu-config.scss +56 -0
- package/shell/shell-sidebar-menu/shell-sidebar-menu.scss +76 -0
- package/shell/shell.component.d.ts +21 -0
- package/shell/shell.component.scss +55 -0
- package/side-drawer/side-drawer-config.scss +20 -0
- package/side-drawer/side-drawer.d.ts +8 -0
- package/side-drawer/side-drawer.scss +52 -0
- package/side-drawer/side-drawer.service.d.ts +20 -0
- package/size/component-size.d.ts +2 -0
- package/spinner/spinner.d.ts +11 -0
- package/stepper/step/step.d.ts +8 -0
- package/stepper/step/step.pipe.d.ts +8 -0
- package/stepper/step-header/step-header.d.ts +12 -0
- package/stepper/stepper-button/stepper-next.d.ts +7 -0
- package/stepper/stepper-button/stepper-previous.d.ts +7 -0
- package/stepper/stepper.config.scss +37 -0
- package/stepper/stepper.d.ts +19 -0
- package/stepper/stepper.scss +149 -0
- package/stimulus-config.scss +98 -0
- package/stimulus.module.d.ts +136 -0
- package/stimulus.scss +107 -0
- package/table/table-column/scl-table-column.d.ts +26 -0
- package/table/table-config.scss +63 -0
- package/table/table-icon.d.ts +3 -0
- package/table/table-text/scl-table-text.d.ts +13 -0
- package/table/table.config.d.ts +19 -0
- package/table/table.d.ts +58 -0
- package/table/table.scss +232 -0
- package/table-action-control/table-action-control-config.scss +12 -0
- package/table-action-control/table-action-control.component.d.ts +8 -0
- package/table-action-control/table-action-control.component.scss +14 -0
- package/tabset/route-tab/route-tab-config.scss +30 -0
- package/tabset/route-tab/route-tab.scss +44 -0
- package/tabset/tab/tab.component.d.ts +9 -0
- package/tabset/tab-directive/tabset-config.scss +49 -0
- package/tabset/tab-directive/tabset.directive.d.ts +7 -0
- package/tabset/tab-directive/tabset.scss +154 -0
- package/tabset/tabset.component.d.ts +14 -0
- package/tabset/tabset.component.scss +79 -0
- package/taglist/tag/tag-config.scss +30 -0
- package/taglist/tag/tag.component.d.ts +17 -0
- package/taglist/tag/tag.directive.d.ts +16 -0
- package/taglist/tag/tag.scss +43 -0
- package/taglist/taglist.component.d.ts +12 -0
- package/text-decoration/text-decoration.component.d.ts +9 -0
- package/text-decoration/text-decoration.scss +7 -0
- package/text-editor/text-editor.config.scss +23 -0
- package/text-editor/text-editor.d.ts +60 -0
- package/text-editor/text-editor.scss +74 -0
- package/theme.provider.d.ts +2 -0
- package/timeline/timeline-config.scss +49 -0
- package/timeline/timeline.component.d.ts +26 -0
- package/timeline/timeline.component.scss +126 -0
- package/timepicker/timepicker-config.scss +41 -0
- package/timepicker/timepicker.component.d.ts +74 -0
- package/timepicker/timepicker.component.scss +111 -0
- package/timepicker/timepicker.icon.d.ts +3 -0
- package/timepicker/timepicker.model.d.ts +13 -0
- package/toggle/toggle-config.scss +51 -0
- package/toggle/toggle-description/toggle-description.d.ts +6 -0
- package/toggle/toggle.d.ts +19 -0
- package/toggle/toggle.scss +31 -0
- package/toggle-password/toggle-password-config.scss +12 -0
- package/toggle-password/toggle-password.component.d.ts +21 -0
- package/toggle-password/toggle-password.directive.d.ts +13 -0
- package/toggle-password/toggle-password.icon.d.ts +3 -0
- package/toggle-password/toggle-password.scss +16 -0
- package/treeview/treeview-config.scss +86 -0
- package/treeview/treeview-header/treeview-header.d.ts +12 -0
- package/treeview/treeview.d.ts +66 -0
- package/treeview/treeview.icon.d.ts +3 -0
- package/treeview/treeview.scss +278 -0
- package/truncate/truncate.component.d.ts +16 -0
- package/truncate/truncate.scss +18 -0
- package/typography/font.scss +28 -0
- package/typography/typography-config.scss +73 -0
- package/typography/typography.d.ts +37 -0
- package/typography/typography.scss +47 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@use '@nebular/theme/styles/theming' as *;
|
|
2
|
+
|
|
3
|
+
$nb-themes: nb-register-theme(
|
|
4
|
+
(
|
|
5
|
+
scl-file-uploader-drop-zone-height: 100%,
|
|
6
|
+
scl-file-uploader-drop-zone-border-color: color-basic-400,
|
|
7
|
+
scl-file-uploader-drop-zone-border-width: 0.063rem,
|
|
8
|
+
scl-file-uploader-drop-zone-border-radius: 0.375rem,
|
|
9
|
+
scl-file-uploader-drop-zone-padding: 1rem,
|
|
10
|
+
|
|
11
|
+
scl-file-uploader-file-drop-content-height: 100%,
|
|
12
|
+
|
|
13
|
+
scl-file-uploader-image-wrapper-width: 6.25rem,
|
|
14
|
+
scl-file-uploader-image-wrapper-height: 6.25rem,
|
|
15
|
+
|
|
16
|
+
scl-file-uploader-svg-width: 100%,
|
|
17
|
+
scl-file-uploader-svg-height: 100%,
|
|
18
|
+
|
|
19
|
+
scl-file-uploader-row-gap: 1rem,
|
|
20
|
+
|
|
21
|
+
scl-file-uploader-heading-color: color-basic-600,
|
|
22
|
+
scl-file-uploader-heading-margin: 0 0 0.25rem 0,
|
|
23
|
+
|
|
24
|
+
scl-file-uploader-title-color: color-basic-900,
|
|
25
|
+
scl-file-uploader-title-margin: 0 0 0.25rem 0,
|
|
26
|
+
|
|
27
|
+
scl-file-uploader-description-color: color-basic-500,
|
|
28
|
+
scl-file-uploader-description-margin: 0 0 0.75rem 0,
|
|
29
|
+
|
|
30
|
+
scl-file-uploader-preview-margin: 1rem 0 0 0,
|
|
31
|
+
|
|
32
|
+
scl-file-uploader-preview-list-padding: 0.75rem,
|
|
33
|
+
scl-file-uploader-preview-list-border-width: 0.063rem,
|
|
34
|
+
scl-file-uploader-preview-list-border-color: color-basic-200,
|
|
35
|
+
scl-file-uploader-preview-list-border-radius: 1rem,
|
|
36
|
+
scl-file-uploader-preview-list-gap: 0.75rem,
|
|
37
|
+
|
|
38
|
+
// List
|
|
39
|
+
scl-file-uploader-list-group-color: color-basic-500,
|
|
40
|
+
|
|
41
|
+
scl-file-uploader-list-margin-top: 0,
|
|
42
|
+
scl-file-uploader-list-padding-left: 1.563rem,
|
|
43
|
+
|
|
44
|
+
scl-file-uploader-list-item-color: color-basic-500,
|
|
45
|
+
),
|
|
46
|
+
default,
|
|
47
|
+
default
|
|
48
|
+
);
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@use '@nebular/theme/styles/theming' as *;
|
|
2
|
+
|
|
3
|
+
.scl-file-uploader {
|
|
4
|
+
ngx-file-drop {
|
|
5
|
+
.ngx-file-drop__drop-zone {
|
|
6
|
+
border: nb-theme(scl-file-uploader-drop-zone-border-width) dashed nb-theme(scl-file-uploader-drop-zone-border-color);
|
|
7
|
+
height: nb-theme(scl-file-uploader-drop-zone-height);
|
|
8
|
+
padding: nb-theme(scl-file-uploader-drop-zone-padding);
|
|
9
|
+
border-radius: nb-theme(scl-file-uploader-drop-zone-border-radius);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ngx-file-drop__content {
|
|
13
|
+
height: nb-theme(scl-file-uploader-file-drop-content-height);
|
|
14
|
+
justify-content: flex-start;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__image-wrapper {
|
|
19
|
+
width: nb-theme(scl-file-uploader-image-wrapper-width);
|
|
20
|
+
height: nb-theme(scl-file-uploader-image-wrapper-height);
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
width: nb-theme(scl-file-uploader-svg-width);
|
|
24
|
+
height: nb-theme(scl-file-uploader-svg-height);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__row {
|
|
29
|
+
display: grid;
|
|
30
|
+
grid-template-columns: 1fr auto;
|
|
31
|
+
gap: nb-theme(scl-file-uploader-row-gap);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__heading {
|
|
35
|
+
color: nb-theme(scl-file-uploader-heading-color);
|
|
36
|
+
margin: nb-theme(scl-file-uploader-heading-margin);
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__title {
|
|
42
|
+
display: block;
|
|
43
|
+
color: nb-theme(scl-file-uploader-title-color);
|
|
44
|
+
margin: nb-theme(scl-file-uploader-title-margin);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__description {
|
|
48
|
+
color: nb-theme(scl-file-uploader-description-color);
|
|
49
|
+
margin: nb-theme(scl-file-uploader-description-margin);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__preview {
|
|
53
|
+
margin: nb-theme(scl-file-uploader-preview-margin);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__preview-list {
|
|
57
|
+
list-style: none;
|
|
58
|
+
display: grid;
|
|
59
|
+
margin: 0;
|
|
60
|
+
padding: nb-theme(scl-file-uploader-preview-list-padding);
|
|
61
|
+
gap: nb-theme(scl-file-uploader-preview-list-gap);
|
|
62
|
+
border: nb-theme(scl-file-uploader-preview-list-border-width) solid nb-theme(scl-file-uploader-preview-list-border-color);
|
|
63
|
+
border-radius: nb-theme(scl-file-uploader-preview-list-border-radius);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__list-group {
|
|
67
|
+
color: nb-theme(scl-file-uploader-list-group-color);
|
|
68
|
+
}
|
|
69
|
+
&__list {
|
|
70
|
+
margin-top: nb-theme(scl-file-uploader-list-margin-top);
|
|
71
|
+
padding-left: nb-theme(scl-file-uploader-list-padding-left);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__list-item {
|
|
75
|
+
color: nb-theme(scl-file-uploader-list-item-color);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
|
3
|
+
import { NbIconLibraries } from '@nebular/theme';
|
|
4
|
+
import { NgxFileDropEntry } from 'ngx-file-drop';
|
|
5
|
+
import { SclAlertService } from '../alert/alert.service';
|
|
6
|
+
import { IconPreviewAction } from '../preview-box/preview-box.component';
|
|
7
|
+
import { SclUploaderService } from './file-uploader.ref';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare enum SclFileStatus {
|
|
10
|
+
PENDING = 0,
|
|
11
|
+
COMPLETED = 1,
|
|
12
|
+
FAILED = 2,
|
|
13
|
+
PROCESSED = 3
|
|
14
|
+
}
|
|
15
|
+
export interface SclFile<T = null> {
|
|
16
|
+
file: File;
|
|
17
|
+
name: string;
|
|
18
|
+
src?: SafeUrl;
|
|
19
|
+
id: string;
|
|
20
|
+
progress: number;
|
|
21
|
+
loadedFileSize?: string;
|
|
22
|
+
totalFileSize?: string;
|
|
23
|
+
status: SclFileStatus;
|
|
24
|
+
data: T | null;
|
|
25
|
+
}
|
|
26
|
+
export interface SclFileError {
|
|
27
|
+
name: string;
|
|
28
|
+
progress?: number;
|
|
29
|
+
loadedFileSize?: string;
|
|
30
|
+
totalFileSize?: string;
|
|
31
|
+
maxFileSize?: number;
|
|
32
|
+
}
|
|
33
|
+
export interface ErrorResponse {
|
|
34
|
+
success: boolean;
|
|
35
|
+
code: string;
|
|
36
|
+
message: string;
|
|
37
|
+
}
|
|
38
|
+
export type UploadType = 'image' | 'excel' | 'pdf' | 'icon';
|
|
39
|
+
export declare class SclFileUploader implements OnDestroy {
|
|
40
|
+
private zone;
|
|
41
|
+
private domSanitizer;
|
|
42
|
+
private uploader;
|
|
43
|
+
private alertService;
|
|
44
|
+
private iconLibraries;
|
|
45
|
+
uploadHeading?: string;
|
|
46
|
+
completedUploadHeading?: string;
|
|
47
|
+
title: string;
|
|
48
|
+
accept: string[];
|
|
49
|
+
maxFileSize: number;
|
|
50
|
+
showList: string | boolean;
|
|
51
|
+
illustrationType?: string;
|
|
52
|
+
resolution: string;
|
|
53
|
+
isProcessed?: boolean;
|
|
54
|
+
description: string;
|
|
55
|
+
uploadType: string;
|
|
56
|
+
code: string;
|
|
57
|
+
set multiple(status: string | boolean);
|
|
58
|
+
get multiple(): string | boolean;
|
|
59
|
+
get maxFileSizeInMB(): number;
|
|
60
|
+
get fileTypeUppercase(): string;
|
|
61
|
+
get descriptionContent(): string;
|
|
62
|
+
get acceptedString(): string;
|
|
63
|
+
filesChanged: EventEmitter<SclFile<null>[]>;
|
|
64
|
+
error: EventEmitter<SclFileError>;
|
|
65
|
+
errroMessage: string;
|
|
66
|
+
isMultiple: boolean;
|
|
67
|
+
isFileSupported: boolean;
|
|
68
|
+
protected fileList: SclFile[];
|
|
69
|
+
private subscriptionMap;
|
|
70
|
+
constructor(zone: NgZone, domSanitizer: DomSanitizer, uploader: SclUploaderService, alertService: SclAlertService, iconLibraries: NbIconLibraries);
|
|
71
|
+
dropped(files: NgxFileDropEntry[]): void;
|
|
72
|
+
remove(index: number | string): void;
|
|
73
|
+
reupload(index: number): void;
|
|
74
|
+
private uploadFiles;
|
|
75
|
+
ngOnDestroy(): void;
|
|
76
|
+
private imageSrc;
|
|
77
|
+
private isFileUnsupported;
|
|
78
|
+
private generateUniqueId;
|
|
79
|
+
private formatFileSize;
|
|
80
|
+
iconAction(action: IconPreviewAction): void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclFileUploader, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SclFileUploader, "scl-file-uploader", never, { "uploadHeading": { "alias": "uploadHeading"; "required": false; }; "completedUploadHeading": { "alias": "completedUploadHeading"; "required": false; }; "title": { "alias": "title"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "showList": { "alias": "showList"; "required": false; }; "illustrationType": { "alias": "illustrationType"; "required": false; }; "resolution": { "alias": "resolution"; "required": false; }; "isProcessed": { "alias": "isProcessed"; "required": false; }; "description": { "alias": "description"; "required": false; }; "uploadType": { "alias": "uploadType"; "required": false; }; "code": { "alias": "code"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, { "filesChanged": "filesChanged"; "error": "error"; }, never, ["*"], true, never>;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=file-uploader.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { SclUploaderService } from './file-uploader.ref';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SclFileUploaderService implements SclUploaderService {
|
|
5
|
+
private http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
upload(file: File): import("rxjs").Observable<import("@angular/common/http").HttpEvent<any>>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclFileUploaderService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SclFileUploaderService>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=file-uploader.service.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { EventEmitter, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { NbIconLibraries, NbIcons } from '@nebular/theme';
|
|
4
|
+
import { SclAlertService } from '../alert/alert.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface FilterFormGroup {
|
|
7
|
+
label: string;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
formControlName: string;
|
|
10
|
+
type: string;
|
|
11
|
+
options?: any[];
|
|
12
|
+
dropdownFormControlName?: string;
|
|
13
|
+
value?: any;
|
|
14
|
+
dropdownFormControlValue?: any;
|
|
15
|
+
isRequired?: boolean;
|
|
16
|
+
minDate?: Date;
|
|
17
|
+
maxDate?: Date;
|
|
18
|
+
onChange?: (value: any) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const SclIcons: NbIcons;
|
|
21
|
+
export declare class SclFilter {
|
|
22
|
+
private formBuilder;
|
|
23
|
+
private alertService;
|
|
24
|
+
private iconLibraries;
|
|
25
|
+
private _formFields;
|
|
26
|
+
onFilter: EventEmitter<any>;
|
|
27
|
+
get formFields(): FilterFormGroup[];
|
|
28
|
+
set formFields(value: FilterFormGroup[]);
|
|
29
|
+
isLoading: boolean;
|
|
30
|
+
set emitFormDataOnReset(emitValue: boolean);
|
|
31
|
+
emitValue: boolean;
|
|
32
|
+
filterForm: FormGroup;
|
|
33
|
+
formControls: {
|
|
34
|
+
[key: string]: FormControl;
|
|
35
|
+
};
|
|
36
|
+
constructor(formBuilder: FormBuilder, alertService: SclAlertService, iconLibraries: NbIconLibraries);
|
|
37
|
+
private initializeFormControls;
|
|
38
|
+
transformValue(value: any): any;
|
|
39
|
+
search(isValid: any): void;
|
|
40
|
+
reset(): void;
|
|
41
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
42
|
+
setFormFields(currentFormValue: FilterFormGroup[]): void;
|
|
43
|
+
private hasFormValues;
|
|
44
|
+
onSelect(field: FilterFormGroup, event: any): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclFilter, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SclFilter, "scl-filter", never, { "formFields": { "alias": "formFields"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "emitFormDataOnReset": { "alias": "emitFormDataOnReset"; "required": false; }; }, { "onFilter": "onFilter"; }, never, never, true, never>;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=filter.d.ts.map
|
package/flag/_flags.scss
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Emojis for flags is only available for macOS, Android and iOS
|
|
2
|
+
// So, a `country-flag-emoji-polyfill` npm package has been installed
|
|
3
|
+
// and it font has been added for it
|
|
4
|
+
//
|
|
5
|
+
// @see https://www.npmjs.com/package/country-flag-emoji-polyfill
|
|
6
|
+
|
|
7
|
+
.flags {
|
|
8
|
+
font-family: "Twemoji Country Flags", "Helvetica", "Comic Sans", serif;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use '@nebular/theme/styles/theming' as *;
|
|
2
|
+
|
|
3
|
+
$nb-themes: nb-register-theme(
|
|
4
|
+
(
|
|
5
|
+
text-caption-padding-top: 0.125rem,
|
|
6
|
+
text-caption-padding-bottom: 0.125rem,
|
|
7
|
+
text-caption-font-size: scl-text-label-medium-font-size,
|
|
8
|
+
text-caption-line-height: scl-text-label-medium-line-height,
|
|
9
|
+
|
|
10
|
+
scl-form-field-padding: 1rem,
|
|
11
|
+
),
|
|
12
|
+
default,
|
|
13
|
+
default
|
|
14
|
+
);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SclFormControlAction {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclFormControlAction, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SclFormControlAction, "[formControlAction]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=form-control-action.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SclFormControlIcon {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclFormControlIcon, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SclFormControlIcon, "[formControlIcon]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=form-control-icon.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use '@nebular/theme/styles/theming' as *;
|
|
2
|
+
|
|
3
|
+
.scl-form-control-wrapper {
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.scl-form-control-action {
|
|
8
|
+
position: absolute;
|
|
9
|
+
right: nb-theme(scl-form-control-right-position);
|
|
10
|
+
top: nb-theme(scl-form-control-top-position);
|
|
11
|
+
transform: nb-theme(scl-form-control-transformation);
|
|
12
|
+
|
|
13
|
+
// to override nebular position:relative
|
|
14
|
+
&[nbButton]:focus, &[nbButtonToggle]:focus {
|
|
15
|
+
position: absolute;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
+
import { AfterContentInit, ElementRef, QueryList } from '@angular/core';
|
|
3
|
+
import { FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
4
|
+
import { SclFormErrorMessages } from '../form-error-messages';
|
|
5
|
+
import { SclFormMessage } from '../form-message/form-message';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SclFormField implements AfterContentInit {
|
|
8
|
+
private focusMonitor;
|
|
9
|
+
private parentFormGroup;
|
|
10
|
+
private parentForm;
|
|
11
|
+
private errorMessageMapper;
|
|
12
|
+
messageBuilder?: SclFormErrorMessages;
|
|
13
|
+
controls: QueryList<NgControl>;
|
|
14
|
+
controlEls: QueryList<ElementRef>;
|
|
15
|
+
formMessage?: SclFormMessage;
|
|
16
|
+
private formSubmitSubscription;
|
|
17
|
+
private focusMonitorSubscription;
|
|
18
|
+
constructor(focusMonitor: FocusMonitor, parentFormGroup: FormGroupDirective, parentForm: NgForm, errorMessageMapper: SclFormErrorMessages);
|
|
19
|
+
ngAfterContentInit(): void;
|
|
20
|
+
private setMessage;
|
|
21
|
+
private setControl;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclFormField, [null, { optional: true; }, { optional: true; }, null]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SclFormField, "scl-form-field", never, { "messageBuilder": { "alias": "messageBuilder"; "required": false; }; }, {}, ["formMessage", "controls", "controlEls"], ["[sclLabel]", "[formControlName], [formControl], [ngModel]", "[formControlAction]", "[formControlIcon]", "*"], true, never>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=form-field.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@use '@nebular/theme/styles/theming' as *;
|
|
2
|
+
|
|
3
|
+
$nb-themes: nb-register-theme(
|
|
4
|
+
(
|
|
5
|
+
scl-form-control-wrapper-input-padding: 2.625rem,
|
|
6
|
+
scl-form-control-wrapper-icon-left: 0.875rem,
|
|
7
|
+
scl-form-control-wrapper-icon-top: 0.625rem,
|
|
8
|
+
),
|
|
9
|
+
default,
|
|
10
|
+
default
|
|
11
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SclFormControlWrapperComponent {
|
|
3
|
+
icon: string;
|
|
4
|
+
packName: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclFormControlWrapperComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SclFormControlWrapperComponent, "scl-form-control-wrapper", never, { "icon": { "alias": "icon"; "required": false; }; "packName": { "alias": "packName"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=form-control-wrapper.component.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use '@nebular/theme/styles/theming' as *;
|
|
2
|
+
|
|
3
|
+
.scl-form-control {
|
|
4
|
+
&__wrapper {
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
input[nbInput] {
|
|
8
|
+
padding-left: nb-theme(scl-form-control-wrapper-input-padding);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__icon {
|
|
13
|
+
position: absolute;
|
|
14
|
+
left: nb-theme(scl-form-control-wrapper-icon-left);
|
|
15
|
+
top: nb-theme(scl-form-control-wrapper-icon-top);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EnvironmentProviders, InjectionToken } from '@angular/core';
|
|
2
|
+
import { ValidationErrors } from '@angular/forms';
|
|
3
|
+
export interface SclFormErrorMessages {
|
|
4
|
+
[key: string]: (name: string, errors: ValidationErrors) => string;
|
|
5
|
+
}
|
|
6
|
+
export declare const SCL_FORM_ERROR_MESSAGE: InjectionToken<SclFormErrorMessages>;
|
|
7
|
+
export declare function provideFormErrorMessages(formErrorMessages?: SclFormErrorMessages): EnvironmentProviders;
|
|
8
|
+
//# sourceMappingURL=form-error-messages.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { NbComponentStatus } from '@nebular/theme';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SclFormMessage {
|
|
6
|
+
private renderer;
|
|
7
|
+
private elRef;
|
|
8
|
+
type: NbComponentStatus;
|
|
9
|
+
message?: string;
|
|
10
|
+
control?: AbstractControl | null;
|
|
11
|
+
constructor(renderer: Renderer2, elRef: ElementRef);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclFormMessage, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SclFormMessage, "scl-form-message", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=form-message.d.ts.map
|
package/form/form.scss
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@use "@nebular/theme/styles/theming" as *;
|
|
2
|
+
.scl-form-field {
|
|
3
|
+
display: block;
|
|
4
|
+
margin-bottom: calc(
|
|
5
|
+
nb-theme(scl-form-field-padding) - nb-theme(text-caption-padding-top) -
|
|
6
|
+
nb-theme(text-caption-padding-bottom)
|
|
7
|
+
);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.scl-form-control-icon {
|
|
11
|
+
position: absolute;
|
|
12
|
+
top: 4px;
|
|
13
|
+
right: 5px;
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
|
|
16
|
+
// to override nebular position:relative
|
|
17
|
+
&[nbButton]:focus,
|
|
18
|
+
&[nbButtonToggle]:focus {
|
|
19
|
+
position: absolute;
|
|
20
|
+
outline: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use '@nebular/theme/styles/theming' as *;
|
|
2
|
+
|
|
3
|
+
$nb-themes: nb-register-theme((
|
|
4
|
+
scl-select-input-field-border-color : input-basic-border-color,
|
|
5
|
+
scl-select-input-field-border-width : 0.0625rem,
|
|
6
|
+
scl-select-input-field-border-radius : 0.375rem,
|
|
7
|
+
scl-select-input-field-border-transparent : transparent,
|
|
8
|
+
scl-select-input-field-select-width: 12.5rem,
|
|
9
|
+
scl-select-input-field-select-after-width: 0.0625rem,
|
|
10
|
+
scl-select-input-field-select-after-height: 1.25rem,
|
|
11
|
+
),
|
|
12
|
+
default,
|
|
13
|
+
default);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SclSelectInputField {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclSelectInputField, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SclSelectInputField, "scl-select-input-field", never, {}, {}, never, ["ng-select, scl-select-country", "input"], true, never>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=select-input-field.d.ts.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@use "@nebular/theme/styles/theming" as *;
|
|
2
|
+
|
|
3
|
+
.scl-select-input-field {
|
|
4
|
+
display: flex;
|
|
5
|
+
border: nb-theme(scl-select-input-field-border-width) solid nb-theme(scl-select-input-field-border-color);
|
|
6
|
+
border-radius: nb-theme(scl-select-input-field-border-radius);
|
|
7
|
+
|
|
8
|
+
.ng-select{
|
|
9
|
+
border-color: nb-theme(scl-select-input-field-border-transparent);
|
|
10
|
+
width: nb-theme(scl-select-input-field-select-width);
|
|
11
|
+
|
|
12
|
+
&::after {
|
|
13
|
+
display: block;
|
|
14
|
+
content: "";
|
|
15
|
+
height: nb-theme(scl-select-input-field-select-after-height);
|
|
16
|
+
width: nb-theme(scl-select-input-field-select-after-width);
|
|
17
|
+
background-color: nb-theme(scl-select-input-field-border-color);
|
|
18
|
+
position: absolute;
|
|
19
|
+
right: -1px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.ng-select-focused {
|
|
23
|
+
&::after {
|
|
24
|
+
z-index: -1;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
input[nbInput] {
|
|
30
|
+
border-color: nb-theme(scl-select-input-field-border-transparent);
|
|
31
|
+
&:focus{
|
|
32
|
+
z-index: 1;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:hover{
|
|
37
|
+
ng-select.select {
|
|
38
|
+
&::after {
|
|
39
|
+
background-color: nb-theme(scl-select-input-field-border-transparent);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, QueryList } from '@angular/core';
|
|
2
|
+
import { FormGroupDirective, NgControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SclValidateAndSubmit {
|
|
5
|
+
private formGroup;
|
|
6
|
+
controls: QueryList<NgControl>;
|
|
7
|
+
controlEls: QueryList<ElementRef>;
|
|
8
|
+
constructor(formGroup: FormGroupDirective);
|
|
9
|
+
validateAndSubmit: EventEmitter<boolean>;
|
|
10
|
+
onSubmit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclValidateAndSubmit, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SclValidateAndSubmit, "form[formGroup][validateAndSubmit]", never, {}, { "validateAndSubmit": "validateAndSubmit"; }, ["controls", "controlEls"], never, true, never>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=validate-and-submit.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use '@nebular/theme/styles/theming' as *;
|
|
2
|
+
|
|
3
|
+
$nb-themes: nb-register-theme(
|
|
4
|
+
(
|
|
5
|
+
scl-full-container-min-height: 100vh,
|
|
6
|
+
scl-full-container-content-min-width: 24.875rem,
|
|
7
|
+
scl-full-container-content-padding: 2rem 0,
|
|
8
|
+
scl-full-container-header-margin-bottom: 3rem,
|
|
9
|
+
scl-full-container-body-card-min-height: 25rem,
|
|
10
|
+
scl-full-container-body-card-border-radius: 0.75rem,
|
|
11
|
+
scl-full-container-body-card-padding: 1.5rem,
|
|
12
|
+
scl-full-container-footer-margin-top: 1rem,
|
|
13
|
+
),
|
|
14
|
+
default,
|
|
15
|
+
default
|
|
16
|
+
);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const FULL_CONTAINER_LOGO: InjectionToken<string>;
|
|
4
|
+
export declare class SclFullContainerComponent {
|
|
5
|
+
protected imgSrc: string;
|
|
6
|
+
footerImg: string;
|
|
7
|
+
constructor(imgSrc: string);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SclFullContainerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SclFullContainerComponent, "scl-full-container", never, { "footerImg": { "alias": "footerImg"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=full-container.component.d.ts.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@use '@nebular/theme/styles/theming' as *;
|
|
2
|
+
|
|
3
|
+
.scl-full-container {
|
|
4
|
+
nb-layout {
|
|
5
|
+
.scrollable-container {
|
|
6
|
+
.layout {
|
|
7
|
+
.layout-container {
|
|
8
|
+
background-image: url('../assets/background.png');
|
|
9
|
+
background-size: cover;
|
|
10
|
+
background-position: bottom;
|
|
11
|
+
.content {
|
|
12
|
+
.columns {
|
|
13
|
+
nb-layout-column {
|
|
14
|
+
padding: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__column {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__content {
|
|
30
|
+
width: 100%;
|
|
31
|
+
max-width: nb-theme(scl-full-container-content-min-width);
|
|
32
|
+
padding: nb-theme(scl-full-container-content-padding);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__header {
|
|
36
|
+
text-align: center;
|
|
37
|
+
margin-bottom: nb-theme(scl-full-container-header-margin-bottom);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__body {
|
|
41
|
+
width: 100%;
|
|
42
|
+
nb-card {
|
|
43
|
+
border-radius: nb-theme(scl-full-container-body-card-border-radius);
|
|
44
|
+
}
|
|
45
|
+
nb-card-body {
|
|
46
|
+
padding: nb-theme(scl-full-container-body-card-padding);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&__footer {
|
|
51
|
+
text-align: center;
|
|
52
|
+
margin-top: nb-theme(scl-full-container-footer-margin-top);
|
|
53
|
+
}
|
|
54
|
+
}
|