sidesys-generic-ui 0.0.19 → 0.0.21
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/karma.conf.js +44 -0
- package/ng-package.json +8 -0
- package/package.json +15 -33
- package/src/lib/alert/index.ts +2 -0
- package/src/lib/alert/s-alert.component.css +0 -0
- package/src/lib/alert/s-alert.component.html +3 -0
- package/src/lib/alert/s-alert.component.spec.ts +25 -0
- package/src/lib/alert/s-alert.component.ts +19 -0
- package/src/lib/alert/s-alert.module.ts +15 -0
- package/src/lib/avatar/components/profile-group/index.ts +2 -0
- package/src/lib/avatar/components/profile-group/s-profile-group.component.html +9 -0
- package/src/lib/avatar/components/profile-group/s-profile-group.component.scss +40 -0
- package/src/lib/avatar/components/profile-group/s-profile-group.component.spec.ts +25 -0
- package/src/lib/avatar/components/profile-group/s-profile-group.component.ts +59 -0
- package/src/lib/avatar/components/profile-group/s-profile-group.module.ts +17 -0
- package/src/lib/avatar/index.ts +2 -0
- package/src/lib/avatar/s-avatar.component.html +50 -0
- package/src/lib/avatar/s-avatar.component.scss +239 -0
- package/src/lib/avatar/s-avatar.component.spec.ts +25 -0
- package/src/lib/avatar/s-avatar.component.ts +42 -0
- package/src/lib/avatar/s-avatar.module.ts +19 -0
- package/src/lib/badge/index.ts +2 -0
- package/src/lib/badge/s-badge.component.html +4 -0
- package/src/lib/badge/s-badge.component.scss +65 -0
- package/src/lib/badge/s-badge.component.spec.ts +25 -0
- package/src/lib/badge/s-badge.component.ts +19 -0
- package/src/lib/badge/s-badge.module.ts +16 -0
- package/src/lib/blockquote/index.ts +2 -0
- package/src/lib/blockquote/s-blockquote.component.css +24 -0
- package/src/lib/blockquote/s-blockquote.component.html +5 -0
- package/src/lib/blockquote/s-blockquote.component.spec.ts +25 -0
- package/src/lib/blockquote/s-blockquote.component.ts +17 -0
- package/src/lib/blockquote/s-blockquote.module.ts +15 -0
- package/{lib/breadcrum/index.d.ts → src/lib/breadcrum/index.ts} +1 -0
- package/src/lib/breadcrum/interface/breadcrum-nav.interface.ts +6 -0
- package/src/lib/breadcrum/interface/index.ts +1 -0
- package/src/lib/breadcrum/s-breadcrum.component.html +11 -0
- package/src/lib/breadcrum/s-breadcrum.component.scss +89 -0
- package/src/lib/breadcrum/s-breadcrum.component.spec.ts +25 -0
- package/src/lib/breadcrum/s-breadcrum.component.ts +27 -0
- package/src/lib/breadcrum/s-breadcrum.module.ts +18 -0
- package/src/lib/button/button.module.ts +16 -0
- package/src/lib/button/components/button/s-button.component.html +14 -0
- package/src/lib/button/components/button/s-button.component.scss +237 -0
- package/src/lib/button/components/button/s-button.component.spec.ts +25 -0
- package/src/lib/button/components/button/s-button.component.ts +45 -0
- package/src/lib/button/components/button/styles/s-button-loading.scss +62 -0
- package/src/lib/button/components/button/styles/s-button-themes.scss +162 -0
- package/src/lib/button/index.ts +2 -0
- package/{lib/card/index.d.ts → src/lib/card/index.ts} +1 -1
- package/src/lib/card/s-card-models.ts +11 -0
- package/src/lib/card/s-card.component.html +28 -0
- package/src/lib/card/s-card.component.scss +117 -0
- package/src/lib/card/s-card.component.spec.ts +25 -0
- package/src/lib/card/s-card.component.ts +55 -0
- package/src/lib/card/s-card.module.ts +26 -0
- package/src/lib/checkbox/index.ts +2 -0
- package/src/lib/checkbox/s-checkbox.component.html +4 -0
- package/src/lib/checkbox/s-checkbox.component.scss +63 -0
- package/src/lib/checkbox/s-checkbox.component.spec.ts +25 -0
- package/src/lib/checkbox/s-checkbox.component.ts +55 -0
- package/src/lib/checkbox/s-checkbox.module.ts +17 -0
- package/{lib/company-logo/index.d.ts → src/lib/company-logo/index.ts} +1 -1
- package/src/lib/company-logo/s-company-logo.component.html +3 -0
- package/src/lib/company-logo/s-company-logo.component.scss +14 -0
- package/src/lib/company-logo/s-company-logo.component.spec.ts +25 -0
- package/src/lib/company-logo/s-company-logo.component.ts +38 -0
- package/src/lib/company-logo/s-company-logo.module.ts +16 -0
- package/src/lib/content/index.ts +2 -0
- package/src/lib/content/s-content.component.html +3 -0
- package/src/lib/content/s-content.component.scss +20 -0
- package/src/lib/content/s-content.component.spec.ts +25 -0
- package/src/lib/content/s-content.component.ts +32 -0
- package/src/lib/content/s-content.module.ts +20 -0
- package/{lib/drop-down/index.d.ts → src/lib/drop-down/index.ts} +1 -1
- package/src/lib/drop-down/s-drop-down-button.ts +4 -0
- package/src/lib/drop-down/s-drop-down.component.html +5 -0
- package/src/lib/drop-down/s-drop-down.component.scss +34 -0
- package/src/lib/drop-down/s-drop-down.component.spec.ts +25 -0
- package/src/lib/drop-down/s-drop-down.component.ts +33 -0
- package/src/lib/drop-down/s-drop-down.module.ts +12 -0
- package/src/lib/fonts-material.scss +15 -0
- package/src/lib/fonts.scss +184 -0
- package/{lib/footer/index.d.ts → src/lib/footer/index.ts} +1 -1
- package/src/lib/footer/s-footer.component.html +4 -0
- package/src/lib/footer/s-footer.component.scss +25 -0
- package/src/lib/footer/s-footer.component.spec.ts +25 -0
- package/src/lib/footer/s-footer.component.ts +14 -0
- package/src/lib/footer/s-footer.module.ts +18 -0
- package/{lib/form/index.d.ts → src/lib/form/index.ts} +1 -1
- package/src/lib/form/s-form-control.ts +65 -0
- package/src/lib/form/s-form.component.html +60 -0
- package/src/lib/form/s-form.component.scss +7 -0
- package/src/lib/form/s-form.component.spec.ts +25 -0
- package/src/lib/form/s-form.component.ts +131 -0
- package/src/lib/form/s-form.module.ts +29 -0
- package/src/lib/icon/index.ts +2 -0
- package/src/lib/icon/s-icon.component.css +3 -0
- package/src/lib/icon/s-icon.component.html +8 -0
- package/src/lib/icon/s-icon.component.spec.ts +25 -0
- package/src/lib/icon/s-icon.component.ts +39 -0
- package/src/lib/icon/s-icon.module.ts +16 -0
- package/src/lib/icon/s-icons.ts +55 -0
- package/src/lib/icon-material/index.ts +2 -0
- package/src/lib/icon-material/s-icon-material.component.html +5 -0
- package/src/lib/icon-material/s-icon-material.component.scss +38 -0
- package/src/lib/icon-material/s-icon-material.component.spec.ts +25 -0
- package/src/lib/icon-material/s-icon-material.component.ts +51 -0
- package/src/lib/icon-material/s-icon-material.module.ts +14 -0
- package/src/lib/input/components/error-control/s-error-control.component.html +4 -0
- package/src/lib/input/components/error-control/s-error-control.component.scss +54 -0
- package/src/lib/input/components/error-control/s-error-control.component.spec.ts +25 -0
- package/src/lib/input/components/error-control/s-error-control.component.ts +50 -0
- package/src/lib/input/components/input-text/s-input-text.component.html +270 -0
- package/src/lib/input/components/input-text/s-input-text.component.scss +312 -0
- package/src/lib/input/components/input-text/s-input-text.component.spec.ts +25 -0
- package/src/lib/input/components/input-text/s-input-text.component.ts +311 -0
- package/src/lib/input/components/input-textarea/s-input-textarea.component.html +15 -0
- package/src/lib/input/components/input-textarea/s-input-textarea.component.scss +62 -0
- package/src/lib/input/components/input-textarea/s-input-textarea.component.spec.ts +25 -0
- package/src/lib/input/components/input-textarea/s-input-textarea.component.ts +82 -0
- package/src/lib/input/input.module.ts +30 -0
- package/src/lib/link/index.ts +2 -0
- package/src/lib/link/s-link.component.html +8 -0
- package/src/lib/link/s-link.component.scss +69 -0
- package/src/lib/link/s-link.component.spec.ts +25 -0
- package/src/lib/link/s-link.component.ts +24 -0
- package/src/lib/link/s-link.module.ts +15 -0
- package/src/lib/list/index.ts +2 -0
- package/src/lib/list/s-list.component.html +10 -0
- package/src/lib/list/s-list.component.scss +85 -0
- package/src/lib/list/s-list.component.spec.ts +25 -0
- package/src/lib/list/s-list.component.ts +21 -0
- package/src/lib/list/s-list.module.ts +17 -0
- package/src/lib/list-simple/index.ts +2 -0
- package/src/lib/list-simple/s-list-simple.component.html +3 -0
- package/src/lib/list-simple/s-list-simple.component.scss +146 -0
- package/src/lib/list-simple/s-list-simple.component.spec.ts +25 -0
- package/src/lib/list-simple/s-list-simple.component.ts +19 -0
- package/src/lib/list-simple/s-list-simple.module.ts +17 -0
- package/{lib/login/index.d.ts → src/lib/login/index.ts} +1 -1
- package/src/lib/login/s-login-event.ts +4 -0
- package/src/lib/login/s-login-images.ts +3 -0
- package/{lib/login/s-login-model.d.ts → src/lib/login/s-login-model.ts} +3 -3
- package/src/lib/login/s-login.component.html +46 -0
- package/src/lib/login/s-login.component.scss +69 -0
- package/src/lib/login/s-login.component.ts +92 -0
- package/src/lib/login/s-login.module.ts +24 -0
- package/src/lib/navbar/components/icon-menu/components/s-notificaction.component.ts +35 -0
- package/src/lib/navbar/components/icon-menu/components/s-notification.component.html +38 -0
- package/src/lib/navbar/components/icon-menu/components/s-notification.component.scss +93 -0
- package/src/lib/navbar/components/icon-menu/index.ts +4 -0
- package/src/lib/navbar/components/icon-menu/s-icon-menu-model.ts +21 -0
- package/src/lib/navbar/components/icon-menu/s-icon-menu.component.html +43 -0
- package/src/lib/navbar/components/icon-menu/s-icon-menu.component.scss +95 -0
- package/src/lib/navbar/components/icon-menu/s-icon-menu.component.ts +65 -0
- package/src/lib/navbar/components/icon-menu/s-icon-menu.module.ts +32 -0
- package/{lib/navbar/components/menu-config/index.d.ts → src/lib/navbar/components/menu-config/index.ts} +1 -1
- package/src/lib/navbar/components/menu-config/s-menu-config-model.ts +5 -0
- package/src/lib/navbar/components/menu-config/s-menu-config.component.html +1 -0
- package/src/lib/navbar/components/menu-config/s-menu-config.component.scss +0 -0
- package/src/lib/navbar/components/menu-config/s-menu-config.component.ts +34 -0
- package/src/lib/navbar/components/menu-config/s-menu-config.module.ts +21 -0
- package/{lib/navbar/components/menu-main/index.d.ts → src/lib/navbar/components/menu-main/index.ts} +1 -1
- package/src/lib/navbar/components/menu-main/s-menu-main-model.ts +7 -0
- package/src/lib/navbar/components/menu-main/s-menu-main.component.html +34 -0
- package/src/lib/navbar/components/menu-main/s-menu-main.component.scss +129 -0
- package/src/lib/navbar/components/menu-main/s-menu-main.component.ts +35 -0
- package/src/lib/navbar/components/menu-main/s-menu-main.module.ts +23 -0
- package/{lib/navbar/components/search-menu/index.d.ts → src/lib/navbar/components/search-menu/index.ts} +1 -1
- package/src/lib/navbar/components/search-menu/s-search-menu.component.html +1 -0
- package/src/lib/navbar/components/search-menu/s-search-menu.component.scss +0 -0
- package/src/lib/navbar/components/search-menu/s-search-menu.component.ts +34 -0
- package/src/lib/navbar/components/search-menu/s-search-menu.module.ts +19 -0
- package/{lib/navbar/index.d.ts → src/lib/navbar/index.ts} +3 -0
- package/src/lib/navbar/s-navbar.component.html +34 -0
- package/src/lib/navbar/s-navbar.component.scss +92 -0
- package/src/lib/navbar/s-navbar.component.ts +72 -0
- package/src/lib/navbar/s-navbar.module.ts +35 -0
- package/{lib/pagination/index.d.ts → src/lib/pagination/index.ts} +1 -1
- package/src/lib/pagination/new/s-pag-model.ts +4 -0
- package/src/lib/pagination/new/s-pag.component.html +27 -0
- package/src/lib/pagination/new/s-pag.component.scss +63 -0
- package/src/lib/pagination/new/s-pag.component.ts +99 -0
- package/src/lib/pagination/s-pagination.component.html +6 -0
- package/src/lib/pagination/s-pagination.component.scss +15 -0
- package/src/lib/pagination/s-pagination.component.ts +79 -0
- package/src/lib/pagination/s-pagination.module.ts +25 -0
- package/src/lib/popup/index.ts +2 -0
- package/src/lib/popup/s-popup.component.html +24 -0
- package/src/lib/popup/s-popup.component.scss +127 -0
- package/src/lib/popup/s-popup.component.spec.ts +25 -0
- package/src/lib/popup/s-popup.component.ts +125 -0
- package/src/lib/popup/s-popup.module.ts +23 -0
- package/src/lib/precode/index.ts +2 -0
- package/src/lib/precode/s-precode.component.html +7 -0
- package/src/lib/precode/s-precode.component.scss +53 -0
- package/src/lib/precode/s-precode.component.spec.ts +25 -0
- package/src/lib/precode/s-precode.component.ts +29 -0
- package/src/lib/precode/s-precode.module.ts +20 -0
- package/src/lib/progressbar/index.ts +2 -0
- package/src/lib/progressbar/s-progressbar.component.html +15 -0
- package/src/lib/progressbar/s-progressbar.component.scss +51 -0
- package/src/lib/progressbar/s-progressbar.component.spec.ts +25 -0
- package/src/lib/progressbar/s-progressbar.component.ts +20 -0
- package/src/lib/progressbar/s-progressbar.module.ts +16 -0
- package/src/lib/progressbar/temperature/temperature.component.ts +25 -0
- package/src/lib/radio/index.ts +2 -0
- package/src/lib/radio/s-radio.component.html +4 -0
- package/src/lib/radio/s-radio.component.scss +57 -0
- package/src/lib/radio/s-radio.component.spec.ts +25 -0
- package/src/lib/radio/s-radio.component.ts +55 -0
- package/src/lib/radio/s-radio.module.ts +17 -0
- package/src/lib/reset.scss +43 -0
- package/{lib/select/index.d.ts → src/lib/select/index.ts} +1 -1
- package/src/lib/select/s-select-model.ts +27 -0
- package/src/lib/select/s-select.module.ts +33 -0
- package/src/lib/select/select-multiple/s-select-multiple.component.html +44 -0
- package/src/lib/select/select-multiple/s-select-multiple.component.scss +200 -0
- package/src/lib/select/select-multiple/s-select-multiple.component.ts +106 -0
- package/src/lib/select/select-normal/s-select.component.html +3 -0
- package/src/lib/select/select-normal/s-select.component.scss +15 -0
- package/src/lib/select/select-normal/s-select.component.spec.ts +25 -0
- package/src/lib/select/select-normal/s-select.component.ts +21 -0
- package/src/lib/select/select-simple/s-select-simple.component.html +57 -0
- package/src/lib/select/select-simple/s-select-simple.component.scss +189 -0
- package/src/lib/select/select-simple/s-select-simple.component.ts +118 -0
- package/src/lib/shared/image-loader.directive.ts +28 -0
- package/src/lib/shared/localstorage.service.ts +64 -0
- package/src/lib/shared/shared.module.ts +17 -0
- package/{lib/sidebar/index.d.ts → src/lib/sidebar/index.ts} +1 -1
- package/src/lib/sidebar/s-sidebar-model.ts +19 -0
- package/src/lib/sidebar/s-sidebar.component.html +63 -0
- package/src/lib/sidebar/s-sidebar.component.scss +300 -0
- package/src/lib/sidebar/s-sidebar.component.spec.ts +25 -0
- package/src/lib/sidebar/s-sidebar.component.ts +81 -0
- package/src/lib/sidebar/s-sidebar.module.ts +24 -0
- package/src/lib/spinner/index.ts +2 -0
- package/src/lib/spinner/s-spinner.component.html +1 -0
- package/src/lib/spinner/s-spinner.component.scss +265 -0
- package/src/lib/spinner/s-spinner.component.spec.ts +25 -0
- package/src/lib/spinner/s-spinner.component.ts +21 -0
- package/src/lib/spinner/s-spinner.module.ts +16 -0
- package/src/lib/stepper/index.ts +2 -0
- package/src/lib/stepper/s-stepper.component.css +0 -0
- package/src/lib/stepper/s-stepper.component.html +3 -0
- package/src/lib/stepper/s-stepper.component.spec.ts +25 -0
- package/src/lib/stepper/s-stepper.component.ts +19 -0
- package/src/lib/stepper/s-stepper.module.ts +15 -0
- package/{lib/sub-menu/index.d.ts → src/lib/sub-menu/index.ts} +1 -1
- package/src/lib/sub-menu/s-sub-menu-model.ts +33 -0
- package/src/lib/sub-menu/s-sub-menu.component.html +77 -0
- package/src/lib/sub-menu/s-sub-menu.component.scss +99 -0
- package/src/lib/sub-menu/s-sub-menu.component.spec.ts +25 -0
- package/src/lib/sub-menu/s-sub-menu.component.ts +56 -0
- package/src/lib/sub-menu/s-sub-menu.module.ts +25 -0
- package/{lib/table/index.d.ts → src/lib/table/index.ts} +1 -1
- package/src/lib/table/s-table-content.ts +30 -0
- package/src/lib/table/s-table.component.html +24 -0
- package/src/lib/table/s-table.component.scss +49 -0
- package/src/lib/table/s-table.component.spec.ts +25 -0
- package/src/lib/table/s-table.component.ts +87 -0
- package/src/lib/table/s-table.module.ts +12 -0
- package/src/lib/table-t/s-tablet.component.html +18 -0
- package/src/lib/table-t/s-tablet.component.scss +41 -0
- package/src/lib/table-t/s-tablet.component.spec.ts +25 -0
- package/src/lib/table-t/s-tablet.component.ts +223 -0
- package/src/lib/table-t/s-tablet.module.ts +10 -0
- package/{lib/tabs/index.d.ts → src/lib/tabs/index.ts} +1 -1
- package/{lib/tabs/models/configTabs.interface.d.ts → src/lib/tabs/models/configTabs.interface.ts} +1 -1
- package/{lib/tabs/models/tab.interface.d.ts → src/lib/tabs/models/tab.interface.ts} +1 -1
- package/src/lib/tabs/s-tabs.component.html +8 -0
- package/src/lib/tabs/s-tabs.component.scss +49 -0
- package/src/lib/tabs/s-tabs.component.spec.ts +25 -0
- package/src/lib/tabs/s-tabs.component.ts +38 -0
- package/src/lib/tabs/s-tabs.module.ts +17 -0
- package/src/lib/tag/index.ts +2 -0
- package/src/lib/tag/s-tag.component.html +3 -0
- package/src/lib/tag/s-tag.component.scss +117 -0
- package/src/lib/tag/s-tag.component.spec.ts +25 -0
- package/src/lib/tag/s-tag.component.ts +17 -0
- package/src/lib/tag/s-tag.module.ts +17 -0
- package/{lib/text-search/index.d.ts → src/lib/text-search/index.ts} +1 -1
- package/src/lib/text-search/s-text-search.component.html +4 -0
- package/src/lib/text-search/s-text-search.component.scss +23 -0
- package/src/lib/text-search/s-text-search.component.spec.ts +25 -0
- package/src/lib/text-search/s-text-search.component.ts +30 -0
- package/src/lib/text-search/s-text-search.module.ts +16 -0
- package/src/lib/theme/index.ts +2 -0
- package/src/lib/theme/s-theme.component.scss +1 -0
- package/src/lib/theme/s-theme.component.spec.ts +25 -0
- package/src/lib/theme/s-theme.component.ts +12 -0
- package/src/lib/theme/s-theme.module.ts +15 -0
- package/src/lib/theme.scss +662 -0
- package/src/lib/thumbnail/index.ts +2 -0
- package/src/lib/thumbnail/s-thumbnail-model.ts +5 -0
- package/src/lib/thumbnail/s-thumbnail.component.html +3 -0
- package/src/lib/thumbnail/s-thumbnail.component.scss +6 -0
- package/src/lib/thumbnail/s-thumbnail.component.spec.ts +25 -0
- package/src/lib/thumbnail/s-thumbnail.component.ts +22 -0
- package/src/lib/thumbnail/s-thumbnail.module.ts +17 -0
- package/{lib/toast/index.d.ts → src/lib/toast/index.ts} +1 -1
- package/src/lib/toast/s-toast-service.ts +31 -0
- package/src/lib/toast/s-toast.component.html +16 -0
- package/src/lib/toast/s-toast.component.scss +200 -0
- package/src/lib/toast/s-toast.component.spec.ts +25 -0
- package/src/lib/toast/s-toast.component.ts +86 -0
- package/src/lib/toast/s-toast.module.ts +19 -0
- package/src/lib/toggle-switch/index.ts +2 -0
- package/src/lib/toggle-switch/s-toggle-switch.component.html +10 -0
- package/src/lib/toggle-switch/s-toggle-switch.component.scss +199 -0
- package/src/lib/toggle-switch/s-toggle-switch.component.spec.ts +25 -0
- package/src/lib/toggle-switch/s-toggle-switch.component.ts +72 -0
- package/src/lib/toggle-switch/s-toggle-switch.module.ts +20 -0
- package/src/lib/tooltip/directive/s-tooltip-directive.ts +26 -0
- package/{lib/tooltip/index.d.ts → src/lib/tooltip/index.ts} +1 -1
- package/src/lib/tooltip/s-tooltip-model.ts +6 -0
- package/src/lib/tooltip/s-tooltip.component.html +4 -0
- package/src/lib/tooltip/s-tooltip.component.scss +112 -0
- package/src/lib/tooltip/s-tooltip.component.spec.ts +25 -0
- package/src/lib/tooltip/s-tooltip.component.ts +79 -0
- package/src/lib/tooltip/s-tooltip.module.ts +16 -0
- package/{lib/tree-list/index.d.ts → src/lib/tree-list/index.ts} +1 -1
- package/{lib/tree-list/models/tree-node.interface.d.ts → src/lib/tree-list/models/tree-node.interface.ts} +3 -1
- package/src/lib/tree-list/s-tree-list.component.html +29 -0
- package/src/lib/tree-list/s-tree-list.component.scss +46 -0
- package/src/lib/tree-list/s-tree-list.component.ts +127 -0
- package/src/lib/tree-list/s-tree-list.module.ts +22 -0
- package/src/lib/variables.scss +107 -0
- package/src/test.ts +16 -0
- package/tsconfig.lib.json +21 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2020/lib/alert/index.mjs +0 -3
- package/esm2020/lib/alert/s-alert.component.mjs +0 -15
- package/esm2020/lib/alert/s-alert.module.mjs +0 -22
- package/esm2020/lib/avatar/components/profile-group/index.mjs +0 -3
- package/esm2020/lib/avatar/components/profile-group/s-profile-group.component.mjs +0 -55
- package/esm2020/lib/avatar/components/profile-group/s-profile-group.module.mjs +0 -26
- package/esm2020/lib/avatar/index.mjs +0 -3
- package/esm2020/lib/avatar/s-avatar.component.mjs +0 -49
- package/esm2020/lib/avatar/s-avatar.module.mjs +0 -30
- package/esm2020/lib/badge/index.mjs +0 -3
- package/esm2020/lib/badge/s-badge.component.mjs +0 -26
- package/esm2020/lib/badge/s-badge.module.mjs +0 -26
- package/esm2020/lib/blockquote/index.mjs +0 -3
- package/esm2020/lib/blockquote/s-blockquote.component.mjs +0 -14
- package/esm2020/lib/blockquote/s-blockquote.module.mjs +0 -22
- package/esm2020/lib/breadcrum/index.mjs +0 -3
- package/esm2020/lib/breadcrum/s-breadcrum.component.mjs +0 -38
- package/esm2020/lib/breadcrum/s-breadcrum.module.mjs +0 -30
- package/esm2020/lib/button/button.module.mjs +0 -24
- package/esm2020/lib/button/components/button/s-button.component.mjs +0 -62
- package/esm2020/lib/button/index.mjs +0 -3
- package/esm2020/lib/card/index.mjs +0 -4
- package/esm2020/lib/card/s-card-models.mjs +0 -11
- package/esm2020/lib/card/s-card.component.mjs +0 -76
- package/esm2020/lib/card/s-card.module.mjs +0 -44
- package/esm2020/lib/checkbox/index.mjs +0 -3
- package/esm2020/lib/checkbox/s-checkbox.component.mjs +0 -66
- package/esm2020/lib/checkbox/s-checkbox.module.mjs +0 -26
- package/esm2020/lib/company-logo/index.mjs +0 -3
- package/esm2020/lib/company-logo/s-company-logo.component.mjs +0 -35
- package/esm2020/lib/company-logo/s-company-logo.module.mjs +0 -22
- package/esm2020/lib/content/index.mjs +0 -3
- package/esm2020/lib/content/s-content.component.mjs +0 -30
- package/esm2020/lib/content/s-content.module.mjs +0 -26
- package/esm2020/lib/drop-down/index.mjs +0 -4
- package/esm2020/lib/drop-down/s-drop-down-button.mjs +0 -7
- package/esm2020/lib/drop-down/s-drop-down.component.mjs +0 -37
- package/esm2020/lib/drop-down/s-drop-down.module.mjs +0 -18
- package/esm2020/lib/footer/index.mjs +0 -3
- package/esm2020/lib/footer/s-footer.component.mjs +0 -15
- package/esm2020/lib/footer/s-footer.module.mjs +0 -28
- package/esm2020/lib/form/index.mjs +0 -4
- package/esm2020/lib/form/s-form-control.mjs +0 -59
- package/esm2020/lib/form/s-form.component.mjs +0 -130
- package/esm2020/lib/form/s-form.module.mjs +0 -51
- package/esm2020/lib/icon/index.mjs +0 -3
- package/esm2020/lib/icon/s-icon.component.mjs +0 -41
- package/esm2020/lib/icon/s-icon.module.mjs +0 -22
- package/esm2020/lib/icon/s-icons.mjs +0 -55
- package/esm2020/lib/icon-material/index.mjs +0 -3
- package/esm2020/lib/icon-material/s-icon-material.component.mjs +0 -57
- package/esm2020/lib/icon-material/s-icon-material.module.mjs +0 -22
- package/esm2020/lib/input/components/error-control/s-error-control.component.mjs +0 -52
- package/esm2020/lib/input/components/input-text/s-input-text.component.mjs +0 -317
- package/esm2020/lib/input/components/input-textarea/s-input-textarea.component.mjs +0 -99
- package/esm2020/lib/input/index.mjs +0 -5
- package/esm2020/lib/input/input.module.mjs +0 -49
- package/esm2020/lib/link/index.mjs +0 -3
- package/esm2020/lib/link/s-link.component.mjs +0 -33
- package/esm2020/lib/link/s-link.module.mjs +0 -22
- package/esm2020/lib/list/index.mjs +0 -3
- package/esm2020/lib/list/s-list.component.mjs +0 -24
- package/esm2020/lib/list/s-list.module.mjs +0 -26
- package/esm2020/lib/list-simple/index.mjs +0 -3
- package/esm2020/lib/list-simple/s-list-simple.component.mjs +0 -17
- package/esm2020/lib/list-simple/s-list-simple.module.mjs +0 -26
- package/esm2020/lib/login/index.mjs +0 -5
- package/esm2020/lib/login/s-login-event.mjs +0 -3
- package/esm2020/lib/login/s-login-images.mjs +0 -4
- package/esm2020/lib/login/s-login-model.mjs +0 -3
- package/esm2020/lib/login/s-login.component.mjs +0 -97
- package/esm2020/lib/login/s-login.module.mjs +0 -32
- package/esm2020/lib/navbar/components/icon-menu/components/s-notificaction.component.mjs +0 -41
- package/esm2020/lib/navbar/components/icon-menu/index.mjs +0 -5
- package/esm2020/lib/navbar/components/icon-menu/s-icon-menu-model.mjs +0 -3
- package/esm2020/lib/navbar/components/icon-menu/s-icon-menu.component.mjs +0 -70
- package/esm2020/lib/navbar/components/icon-menu/s-icon-menu.module.mjs +0 -53
- package/esm2020/lib/navbar/components/menu-config/index.mjs +0 -4
- package/esm2020/lib/navbar/components/menu-config/s-menu-config-model.mjs +0 -8
- package/esm2020/lib/navbar/components/menu-config/s-menu-config.component.mjs +0 -39
- package/esm2020/lib/navbar/components/menu-config/s-menu-config.module.mjs +0 -35
- package/esm2020/lib/navbar/components/menu-main/index.mjs +0 -4
- package/esm2020/lib/navbar/components/menu-main/s-menu-main-model.mjs +0 -3
- package/esm2020/lib/navbar/components/menu-main/s-menu-main.component.mjs +0 -28
- package/esm2020/lib/navbar/components/menu-main/s-menu-main.module.mjs +0 -39
- package/esm2020/lib/navbar/components/search-menu/index.mjs +0 -3
- package/esm2020/lib/navbar/components/search-menu/s-search-menu.component.mjs +0 -38
- package/esm2020/lib/navbar/components/search-menu/s-search-menu.module.mjs +0 -31
- package/esm2020/lib/navbar/index.mjs +0 -9
- package/esm2020/lib/navbar/s-navbar.component.mjs +0 -95
- package/esm2020/lib/navbar/s-navbar.module.mjs +0 -63
- package/esm2020/lib/pagination/index.mjs +0 -4
- package/esm2020/lib/pagination/new/s-pag-model.mjs +0 -7
- package/esm2020/lib/pagination/new/s-pag.component.mjs +0 -98
- package/esm2020/lib/pagination/s-pagination.component.mjs +0 -84
- package/esm2020/lib/pagination/s-pagination.module.mjs +0 -41
- package/esm2020/lib/popup/index.mjs +0 -3
- package/esm2020/lib/popup/s-popup.component.mjs +0 -139
- package/esm2020/lib/popup/s-popup.module.mjs +0 -36
- package/esm2020/lib/precode/index.mjs +0 -3
- package/esm2020/lib/precode/s-precode.component.mjs +0 -32
- package/esm2020/lib/precode/s-precode.module.mjs +0 -32
- package/esm2020/lib/progressbar/index.mjs +0 -3
- package/esm2020/lib/progressbar/s-progressbar.component.mjs +0 -27
- package/esm2020/lib/progressbar/s-progressbar.module.mjs +0 -26
- package/esm2020/lib/progressbar/temperature/temperature.component.mjs +0 -25
- package/esm2020/lib/radio/index.mjs +0 -3
- package/esm2020/lib/radio/s-radio.component.mjs +0 -67
- package/esm2020/lib/radio/s-radio.module.mjs +0 -26
- package/esm2020/lib/select/index.mjs +0 -6
- package/esm2020/lib/select/s-select-model.mjs +0 -9
- package/esm2020/lib/select/s-select.module.mjs +0 -54
- package/esm2020/lib/select/select-multiple/s-select-multiple.component.mjs +0 -127
- package/esm2020/lib/select/select-normal/s-select.component.mjs +0 -28
- package/esm2020/lib/select/select-simple/s-select-simple.component.mjs +0 -132
- package/esm2020/lib/shared/image-loader.directive.mjs +0 -31
- package/esm2020/lib/shared/localstorage.service.mjs +0 -64
- package/esm2020/lib/shared/shared.module.mjs +0 -24
- package/esm2020/lib/sidebar/index.mjs +0 -4
- package/esm2020/lib/sidebar/s-sidebar-model.mjs +0 -2
- package/esm2020/lib/sidebar/s-sidebar.component.mjs +0 -82
- package/esm2020/lib/sidebar/s-sidebar.module.mjs +0 -40
- package/esm2020/lib/spinner/index.mjs +0 -3
- package/esm2020/lib/spinner/s-spinner.component.mjs +0 -27
- package/esm2020/lib/spinner/s-spinner.module.mjs +0 -24
- package/esm2020/lib/stepper/index.mjs +0 -3
- package/esm2020/lib/stepper/s-stepper.component.mjs +0 -15
- package/esm2020/lib/stepper/s-stepper.module.mjs +0 -22
- package/esm2020/lib/sub-menu/index.mjs +0 -4
- package/esm2020/lib/sub-menu/s-sub-menu-model.mjs +0 -15
- package/esm2020/lib/sub-menu/s-sub-menu.component.mjs +0 -64
- package/esm2020/lib/sub-menu/s-sub-menu.module.mjs +0 -42
- package/esm2020/lib/table/index.mjs +0 -4
- package/esm2020/lib/table/s-table-content.mjs +0 -37
- package/esm2020/lib/table/s-table.component.mjs +0 -96
- package/esm2020/lib/table/s-table.module.mjs +0 -20
- package/esm2020/lib/table-t/index.mjs +0 -3
- package/esm2020/lib/table-t/s-tablet.component.mjs +0 -203
- package/esm2020/lib/table-t/s-tablet.module.mjs +0 -18
- package/esm2020/lib/tabs/index.mjs +0 -4
- package/esm2020/lib/tabs/models/configTabs.interface.mjs +0 -2
- package/esm2020/lib/tabs/models/index.mjs +0 -3
- package/esm2020/lib/tabs/models/tab.interface.mjs +0 -2
- package/esm2020/lib/tabs/s-tabs.component.mjs +0 -36
- package/esm2020/lib/tabs/s-tabs.module.mjs +0 -26
- package/esm2020/lib/tag/index.mjs +0 -3
- package/esm2020/lib/tag/s-tag.component.mjs +0 -22
- package/esm2020/lib/tag/s-tag.module.mjs +0 -26
- package/esm2020/lib/text-search/index.mjs +0 -3
- package/esm2020/lib/text-search/s-text-search.component.mjs +0 -29
- package/esm2020/lib/text-search/s-text-search.module.mjs +0 -26
- package/esm2020/lib/theme/index.mjs +0 -3
- package/esm2020/lib/theme/s-theme.component.mjs +0 -11
- package/esm2020/lib/theme/s-theme.module.mjs +0 -22
- package/esm2020/lib/thumbnail/index.mjs +0 -3
- package/esm2020/lib/thumbnail/s-thumbnail.component.mjs +0 -23
- package/esm2020/lib/thumbnail/s-thumbnail.module.mjs +0 -26
- package/esm2020/lib/toast/index.mjs +0 -4
- package/esm2020/lib/toast/s-toast-service.mjs +0 -30
- package/esm2020/lib/toast/s-toast.component.mjs +0 -86
- package/esm2020/lib/toast/s-toast.module.mjs +0 -28
- package/esm2020/lib/toggle-switch/index.mjs +0 -3
- package/esm2020/lib/toggle-switch/s-toggle-switch.component.mjs +0 -85
- package/esm2020/lib/toggle-switch/s-toggle-switch.module.mjs +0 -32
- package/esm2020/lib/tooltip/directive/s-tooltip-directive.mjs +0 -31
- package/esm2020/lib/tooltip/index.mjs +0 -4
- package/esm2020/lib/tooltip/s-tooltip.component.mjs +0 -80
- package/esm2020/lib/tooltip/s-tooltip.module.mjs +0 -25
- package/esm2020/lib/tree-list/index.mjs +0 -4
- package/esm2020/lib/tree-list/models/index.mjs +0 -2
- package/esm2020/lib/tree-list/models/tree-node.interface.mjs +0 -2
- package/esm2020/lib/tree-list/s-tree-list.component.mjs +0 -114
- package/esm2020/lib/tree-list/s-tree-list.module.mjs +0 -36
- package/esm2020/public-api.mjs +0 -44
- package/esm2020/sidesys-generic-ui.mjs +0 -5
- package/fesm2015/sidesys-generic-ui.mjs +0 -4770
- package/fesm2015/sidesys-generic-ui.mjs.map +0 -1
- package/fesm2020/sidesys-generic-ui.mjs +0 -4752
- package/fesm2020/sidesys-generic-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/alert/index.d.ts +0 -2
- package/lib/alert/s-alert.component.d.ts +0 -8
- package/lib/alert/s-alert.module.d.ts +0 -8
- package/lib/avatar/components/profile-group/index.d.ts +0 -2
- package/lib/avatar/components/profile-group/s-profile-group.component.d.ts +0 -12
- package/lib/avatar/components/profile-group/s-profile-group.module.d.ts +0 -9
- package/lib/avatar/index.d.ts +0 -2
- package/lib/avatar/s-avatar.component.d.ts +0 -19
- package/lib/avatar/s-avatar.module.d.ts +0 -10
- package/lib/badge/index.d.ts +0 -2
- package/lib/badge/s-badge.component.d.ts +0 -11
- package/lib/badge/s-badge.module.d.ts +0 -9
- package/lib/blockquote/index.d.ts +0 -2
- package/lib/blockquote/s-blockquote.component.d.ts +0 -8
- package/lib/blockquote/s-blockquote.module.d.ts +0 -8
- package/lib/breadcrum/s-breadcrum.component.d.ts +0 -17
- package/lib/breadcrum/s-breadcrum.module.d.ts +0 -10
- package/lib/button/button.module.d.ts +0 -8
- package/lib/button/components/button/s-button.component.d.ts +0 -21
- package/lib/button/index.d.ts +0 -2
- package/lib/card/s-card-models.d.ts +0 -6
- package/lib/card/s-card.component.d.ts +0 -32
- package/lib/card/s-card.module.d.ts +0 -13
- package/lib/checkbox/index.d.ts +0 -2
- package/lib/checkbox/s-checkbox.component.d.ts +0 -21
- package/lib/checkbox/s-checkbox.module.d.ts +0 -9
- package/lib/company-logo/s-company-logo.component.d.ts +0 -13
- package/lib/company-logo/s-company-logo.module.d.ts +0 -8
- package/lib/content/index.d.ts +0 -2
- package/lib/content/s-content.component.d.ts +0 -14
- package/lib/content/s-content.module.d.ts +0 -8
- package/lib/drop-down/s-drop-down-button.d.ts +0 -4
- package/lib/drop-down/s-drop-down.component.d.ts +0 -20
- package/lib/drop-down/s-drop-down.module.d.ts +0 -8
- package/lib/footer/s-footer.component.d.ts +0 -6
- package/lib/footer/s-footer.module.d.ts +0 -9
- package/lib/form/s-form-control.d.ts +0 -26
- package/lib/form/s-form.component.d.ts +0 -33
- package/lib/form/s-form.module.d.ts +0 -14
- package/lib/icon/index.d.ts +0 -2
- package/lib/icon/s-icon.component.d.ts +0 -18
- package/lib/icon/s-icon.module.d.ts +0 -8
- package/lib/icon/s-icons.d.ts +0 -8
- package/lib/icon-material/index.d.ts +0 -2
- package/lib/icon-material/s-icon-material.component.d.ts +0 -19
- package/lib/icon-material/s-icon-material.module.d.ts +0 -8
- package/lib/input/components/error-control/s-error-control.component.d.ts +0 -13
- package/lib/input/components/input-text/s-input-text.component.d.ts +0 -59
- package/lib/input/components/input-textarea/s-input-textarea.component.d.ts +0 -33
- package/lib/input/input.module.d.ts +0 -13
- package/lib/link/index.d.ts +0 -2
- package/lib/link/s-link.component.d.ts +0 -14
- package/lib/link/s-link.module.d.ts +0 -8
- package/lib/list/index.d.ts +0 -2
- package/lib/list/s-list.component.d.ts +0 -11
- package/lib/list/s-list.module.d.ts +0 -9
- package/lib/list-simple/index.d.ts +0 -2
- package/lib/list-simple/s-list-simple.component.d.ts +0 -9
- package/lib/list-simple/s-list-simple.module.d.ts +0 -9
- package/lib/login/s-login-event.d.ts +0 -4
- package/lib/login/s-login-images.d.ts +0 -3
- package/lib/login/s-login.component.d.ts +0 -35
- package/lib/login/s-login.module.d.ts +0 -10
- package/lib/navbar/components/icon-menu/components/s-notificaction.component.d.ts +0 -16
- package/lib/navbar/components/icon-menu/index.d.ts +0 -4
- package/lib/navbar/components/icon-menu/s-icon-menu-model.d.ts +0 -20
- package/lib/navbar/components/icon-menu/s-icon-menu.component.d.ts +0 -23
- package/lib/navbar/components/icon-menu/s-icon-menu.module.d.ts +0 -15
- package/lib/navbar/components/menu-config/s-menu-config-model.d.ts +0 -5
- package/lib/navbar/components/menu-config/s-menu-config.component.d.ts +0 -19
- package/lib/navbar/components/menu-config/s-menu-config.module.d.ts +0 -11
- package/lib/navbar/components/menu-main/s-menu-main-model.d.ts +0 -7
- package/lib/navbar/components/menu-main/s-menu-main.component.d.ts +0 -13
- package/lib/navbar/components/menu-main/s-menu-main.module.d.ts +0 -12
- package/lib/navbar/components/search-menu/s-search-menu.component.d.ts +0 -17
- package/lib/navbar/components/search-menu/s-search-menu.module.d.ts +0 -10
- package/lib/navbar/s-navbar.component.d.ts +0 -36
- package/lib/navbar/s-navbar.module.d.ts +0 -18
- package/lib/pagination/new/s-pag-model.d.ts +0 -4
- package/lib/pagination/new/s-pag.component.d.ts +0 -32
- package/lib/pagination/s-pagination.component.d.ts +0 -27
- package/lib/pagination/s-pagination.module.d.ts +0 -12
- package/lib/popup/index.d.ts +0 -2
- package/lib/popup/s-popup.component.d.ts +0 -39
- package/lib/popup/s-popup.module.d.ts +0 -10
- package/lib/precode/index.d.ts +0 -2
- package/lib/precode/s-precode.component.d.ts +0 -11
- package/lib/precode/s-precode.module.d.ts +0 -10
- package/lib/progressbar/index.d.ts +0 -2
- package/lib/progressbar/s-progressbar.component.d.ts +0 -11
- package/lib/progressbar/s-progressbar.module.d.ts +0 -9
- package/lib/progressbar/temperature/temperature.component.d.ts +0 -11
- package/lib/radio/index.d.ts +0 -2
- package/lib/radio/s-radio.component.d.ts +0 -21
- package/lib/radio/s-radio.module.d.ts +0 -9
- package/lib/select/s-select-model.d.ts +0 -25
- package/lib/select/s-select.module.d.ts +0 -15
- package/lib/select/select-multiple/s-select-multiple.component.d.ts +0 -32
- package/lib/select/select-normal/s-select.component.d.ts +0 -12
- package/lib/select/select-simple/s-select-simple.component.d.ts +0 -36
- package/lib/shared/image-loader.directive.d.ts +0 -13
- package/lib/shared/localstorage.service.d.ts +0 -14
- package/lib/shared/shared.module.d.ts +0 -8
- package/lib/sidebar/s-sidebar-model.d.ts +0 -13
- package/lib/sidebar/s-sidebar.component.d.ts +0 -28
- package/lib/sidebar/s-sidebar.module.d.ts +0 -12
- package/lib/spinner/index.d.ts +0 -2
- package/lib/spinner/s-spinner.component.d.ts +0 -12
- package/lib/spinner/s-spinner.module.d.ts +0 -8
- package/lib/stepper/index.d.ts +0 -2
- package/lib/stepper/s-stepper.component.d.ts +0 -8
- package/lib/stepper/s-stepper.module.d.ts +0 -8
- package/lib/sub-menu/s-sub-menu-model.d.ts +0 -30
- package/lib/sub-menu/s-sub-menu.component.d.ts +0 -19
- package/lib/sub-menu/s-sub-menu.module.d.ts +0 -13
- package/lib/table/s-table-content.d.ts +0 -26
- package/lib/table/s-table.component.d.ts +0 -28
- package/lib/table/s-table.module.d.ts +0 -10
- package/lib/table-t/s-tablet.component.d.ts +0 -65
- package/lib/table-t/s-tablet.module.d.ts +0 -8
- package/lib/tabs/s-tabs.component.d.ts +0 -15
- package/lib/tabs/s-tabs.module.d.ts +0 -9
- package/lib/tag/index.d.ts +0 -2
- package/lib/tag/s-tag.component.d.ts +0 -8
- package/lib/tag/s-tag.module.d.ts +0 -9
- package/lib/text-search/s-text-search.component.d.ts +0 -13
- package/lib/text-search/s-text-search.module.d.ts +0 -9
- package/lib/theme/index.d.ts +0 -2
- package/lib/theme/s-theme.component.d.ts +0 -5
- package/lib/theme/s-theme.module.d.ts +0 -8
- package/lib/thumbnail/index.d.ts +0 -2
- package/lib/thumbnail/s-thumbnail.component.d.ts +0 -11
- package/lib/thumbnail/s-thumbnail.module.d.ts +0 -9
- package/lib/toast/s-toast-service.d.ts +0 -11
- package/lib/toast/s-toast.component.d.ts +0 -25
- package/lib/toast/s-toast.module.d.ts +0 -9
- package/lib/toggle-switch/index.d.ts +0 -2
- package/lib/toggle-switch/s-toggle-switch.component.d.ts +0 -25
- package/lib/toggle-switch/s-toggle-switch.module.d.ts +0 -10
- package/lib/tooltip/directive/s-tooltip-directive.d.ts +0 -12
- package/lib/tooltip/s-tooltip.component.d.ts +0 -19
- package/lib/tooltip/s-tooltip.module.d.ts +0 -9
- package/lib/tree-list/s-tree-list.component.d.ts +0 -24
- package/lib/tree-list/s-tree-list.module.d.ts +0 -11
- /package/{lib/input/index.d.ts → src/lib/input/index.ts} +0 -0
- /package/{lib/table-t/index.d.ts → src/lib/table-t/index.ts} +0 -0
- /package/{lib/tabs/models/index.d.ts → src/lib/tabs/models/index.ts} +0 -0
- /package/{lib/tree-list/models/index.d.ts → src/lib/tree-list/models/index.ts} +0 -0
- /package/{public-api.d.ts → src/public-api.ts} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<nav class="s-navbar" [ngClass]="theme ? 'theme-'+theme : ''">
|
|
2
|
+
<div class="s-navbar__content-left">
|
|
3
|
+
<ng-container *ngIf="link">
|
|
4
|
+
<a [href]="linkHref">
|
|
5
|
+
<s-company-logo [height]="height" [width]="width" [customImage]="customImage" class="s-navbar__company-box"></s-company-logo>
|
|
6
|
+
</a>
|
|
7
|
+
</ng-container>
|
|
8
|
+
<ng-container *ngIf="!link">
|
|
9
|
+
<s-company-logo [height]="height" [width]="width" [customImage]="customImage" class="s-navbar__company-box"></s-company-logo>
|
|
10
|
+
</ng-container>
|
|
11
|
+
|
|
12
|
+
</div>
|
|
13
|
+
<div class="s-navbar__content-right">
|
|
14
|
+
<s-menu-main [menuMain]="menu"></s-menu-main>
|
|
15
|
+
<div class="s-navbar__right-menu-content">
|
|
16
|
+
<div class="s-navbar__icon-menu-list">
|
|
17
|
+
<s-icon-menu (clickTitle)="_clickTitle($event)" (clickDelete)="_clickDelete($event)" (clickUnread)="_clickUnread($event)" [iconMenu]="iconMenu"></s-icon-menu>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="s-navbar__content-user" [ngClass]="theme ? 'theme-'+theme : ''">
|
|
20
|
+
<s-profile-group class="cursor" *ngIf="user && userFull" [user]="user" (click)="toogleMenuProfile($event)"></s-profile-group>
|
|
21
|
+
<s-avatar class="cursor"
|
|
22
|
+
*ngIf="user && !userFull"
|
|
23
|
+
urlProfileImage="{{user.url}}"
|
|
24
|
+
letters="{{user.letters}}"
|
|
25
|
+
display="{{user.display}}"
|
|
26
|
+
size="32" status="{{user.status}}"
|
|
27
|
+
(click)="toogleMenuProfile($event)"></s-avatar>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="s-navbar__content-submenu-profile" *ngIf="controlMenuProfile">
|
|
30
|
+
<s-sub-menu [menu]="menuProfile" (click)="clickMenuProfile($event)" (closeMenuEvent)="closeMenuProfile($event)"></s-sub-menu>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</nav>
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.s-navbar {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
align-items: center;
|
|
5
|
+
width: 100%;
|
|
6
|
+
background: var(--neutrals-1100);
|
|
7
|
+
color: var(--text);
|
|
8
|
+
border-bottom: 1px solid rgb(9 30 66 / 25%);
|
|
9
|
+
|
|
10
|
+
&__company-box {
|
|
11
|
+
display: flex;
|
|
12
|
+
line-height: 0;
|
|
13
|
+
min-width: 240px;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__menu-icon {
|
|
18
|
+
display: flex;
|
|
19
|
+
margin: 0 10px 0 10px;
|
|
20
|
+
color: var(--text);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__right-menu-content {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
align-items: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__content-user {
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
margin-left: 10px;
|
|
33
|
+
margin-right: 10px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__icon-menu-list {
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__content-submenu-profile {
|
|
42
|
+
z-index: 1;
|
|
43
|
+
position: absolute;
|
|
44
|
+
top: 58px;
|
|
45
|
+
width: auto;
|
|
46
|
+
min-width: 190px;
|
|
47
|
+
right: 4px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&__content-right {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
flex-grow: 9;
|
|
54
|
+
justify-content: space-between;
|
|
55
|
+
flex-direction: row;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__content-left {
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__content-user {
|
|
64
|
+
margin-right: 2rem;
|
|
65
|
+
s-profile-group {
|
|
66
|
+
.content-profile-group976 {
|
|
67
|
+
|
|
68
|
+
.content-left976 p,
|
|
69
|
+
.content-left976 span {
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
&.theme-dark {
|
|
75
|
+
s-profile-group {
|
|
76
|
+
.content-profile-group976 {
|
|
77
|
+
.content-left976 {
|
|
78
|
+
|
|
79
|
+
.name976,
|
|
80
|
+
.email976 {
|
|
81
|
+
color: var(--neutrals-1200) !important;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.theme-dark {
|
|
90
|
+
background: var(--primary-900);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { SMenuMain } from './components/menu-main';
|
|
3
|
+
import { SSubMenu, SUser } from '../sub-menu/s-sub-menu-model';
|
|
4
|
+
import { SIconMenuModel } from './components/icon-menu';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@Component({
|
|
8
|
+
selector: 's-navbar',
|
|
9
|
+
templateUrl: './s-navbar.component.html',
|
|
10
|
+
styleUrls: ['./s-navbar.component.scss'],
|
|
11
|
+
encapsulation: ViewEncapsulation.None
|
|
12
|
+
})
|
|
13
|
+
export class SNavbarComponent implements OnInit {
|
|
14
|
+
|
|
15
|
+
@Input() user: SUser = {};
|
|
16
|
+
@Input() userFull: boolean = false;
|
|
17
|
+
@Input() menuProfile!: SSubMenu;
|
|
18
|
+
@Input() menu: SMenuMain[] = [];
|
|
19
|
+
@Input() showProfile: boolean = true;
|
|
20
|
+
@Input() company: string = '';
|
|
21
|
+
@Input() theme?: string;
|
|
22
|
+
@Input() customImage?: string;
|
|
23
|
+
@Input() link?: boolean = false;
|
|
24
|
+
@Input() linkHref?: string;
|
|
25
|
+
@Input() height?: number;
|
|
26
|
+
@Input() width: number = 100;
|
|
27
|
+
@Input() iconMenu: SIconMenuModel[] = [];
|
|
28
|
+
|
|
29
|
+
@Output() clickEvent = new EventEmitter<string>();
|
|
30
|
+
@Output() clickEventMenu = new EventEmitter<Event>();
|
|
31
|
+
|
|
32
|
+
@Output() clickUnread = new EventEmitter<Event>();
|
|
33
|
+
@Output() clickDelete = new EventEmitter<Event>();
|
|
34
|
+
@Output() clickTitle = new EventEmitter<Event>();
|
|
35
|
+
|
|
36
|
+
controlMenuProfile: boolean = false;
|
|
37
|
+
|
|
38
|
+
constructor() { }
|
|
39
|
+
|
|
40
|
+
ngOnInit(): void {
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
toogleMenuProfile(event: Event) {
|
|
44
|
+
this.controlMenuProfile = !this.controlMenuProfile
|
|
45
|
+
this.clickEventMenu.next(event);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
closeMenuProfile(event: Event){
|
|
49
|
+
this.controlMenuProfile = false
|
|
50
|
+
this.clickEventMenu.next(event);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
clickMenuProfile(event: any) {
|
|
54
|
+
if (event.target.type !== 'checkbox' && event.target.type !== 'radio') {
|
|
55
|
+
this.controlMenuProfile = !this.controlMenuProfile
|
|
56
|
+
}
|
|
57
|
+
this.clickEvent.next(event);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
_clickUnread(id:any){
|
|
61
|
+
this.clickUnread.emit(id);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
_clickDelete(id:any){
|
|
65
|
+
this.clickDelete.emit(id);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
_clickTitle(id:any){
|
|
69
|
+
this.clickTitle.emit(id);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { NgModule , CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { SNavbarComponent } from './s-navbar.component';
|
|
4
|
+
import { SIconModule } from '../icon/s-icon.module';
|
|
5
|
+
import { SIconMaterialModule } from '../icon-material/s-icon-material.module';
|
|
6
|
+
import { SCompanyLogoModule } from '../company-logo/s-company-logo.module'
|
|
7
|
+
import { SMenuMainModule } from './components/menu-main';
|
|
8
|
+
import { SMenuConfigModule } from './components/menu-config';
|
|
9
|
+
import { SSearchMenuModule } from './components/search-menu';
|
|
10
|
+
import { SAvatarModule } from '../avatar';
|
|
11
|
+
import { SSubMenuModule } from '../sub-menu';
|
|
12
|
+
import { SIconMenuModule } from './components/icon-menu';
|
|
13
|
+
import { SProfileGroupModule } from '../avatar/components/profile-group';
|
|
14
|
+
|
|
15
|
+
@NgModule({
|
|
16
|
+
declarations: [
|
|
17
|
+
SNavbarComponent
|
|
18
|
+
],
|
|
19
|
+
imports: [
|
|
20
|
+
CommonModule,
|
|
21
|
+
SIconModule,
|
|
22
|
+
SCompanyLogoModule,
|
|
23
|
+
SIconMaterialModule,
|
|
24
|
+
SMenuMainModule,
|
|
25
|
+
SMenuConfigModule,
|
|
26
|
+
SSearchMenuModule,
|
|
27
|
+
SAvatarModule,
|
|
28
|
+
SSubMenuModule,
|
|
29
|
+
SIconMenuModule,
|
|
30
|
+
SProfileGroupModule
|
|
31
|
+
],
|
|
32
|
+
exports: [SNavbarComponent],
|
|
33
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
34
|
+
})
|
|
35
|
+
export class SNavbarModule { }
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<div [ngClass]="pageSizes? 'pagination-bar-select' : 'pagination-bar'">
|
|
2
|
+
<div class="items">
|
|
3
|
+
<select *ngIf="pageSizes" (change)="selectPagination($event)" class="select-pagination">
|
|
4
|
+
<option *ngFor="let o of pageSizes, let i = index" [value]="o.key" [selected]="i == 0">{{o.value}}</option>
|
|
5
|
+
</select>
|
|
6
|
+
<p class="s-body-2 text" *ngIf="totalItems > pageSize">Mostrando {{startResults}} a {{endResults}} de
|
|
7
|
+
{{totalItems}} ítems.</p>
|
|
8
|
+
<p class="s-body-2 text" *ngIf="totalItems <= pageSize">Mostrando {{totalItems}} ítems.</p>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="pageSize > 1">
|
|
11
|
+
<s-icon-mat class="cursor" *ngIf="pageNumber > 1" (click)="previous()"
|
|
12
|
+
style="display: flex;">keyboard_arrow_left</s-icon-mat>
|
|
13
|
+
<p *ngIf="pageNumber > 1" class="page" (click)="pageSelection(1)">1</p>
|
|
14
|
+
<p *ngIf="previousPage > 2 && totalPages > 2" class="page points">...</p>
|
|
15
|
+
<p *ngIf="previousPage >= 2" class="page" (click)="pageSelection(previousPage)">{{previousPage}}</p>
|
|
16
|
+
<s-button [pill]="true">
|
|
17
|
+
<label>{{pageNumber}}</label>
|
|
18
|
+
</s-button>
|
|
19
|
+
<p *ngIf="nextPage > 1 && pageNumber !== totalPages" class="page" (click)="pageSelection(nextPage)">{{nextPage}}
|
|
20
|
+
</p>
|
|
21
|
+
<p *ngIf="totalPages !== nextPage +1 && pageNumber !== totalPages && totalPages > 2" class="page points">...</p>
|
|
22
|
+
<p *ngIf="totalPages !== nextPage && pageNumber !== totalPages" class="page"
|
|
23
|
+
(click)="pageSelection(totalPages)">{{totalPages}}</p>
|
|
24
|
+
<s-icon-mat class="cursor" *ngIf="pageNumber < totalPages" (click)="next()"
|
|
25
|
+
style="display: flex;">keyboard_arrow_right</s-icon-mat>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.pagination-bar {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: flex-end;
|
|
4
|
+
align-items: center;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.pagination-bar-select {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.items {
|
|
14
|
+
display: flex;
|
|
15
|
+
.select-pagination {
|
|
16
|
+
margin-right: 2rem;
|
|
17
|
+
}
|
|
18
|
+
.text {
|
|
19
|
+
color: var(--secondary-500);
|
|
20
|
+
margin: 0;
|
|
21
|
+
margin-right: 2rem;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
select {
|
|
28
|
+
background: var(--neutrals-1100) !important;
|
|
29
|
+
font-size: 0.875rem !important;
|
|
30
|
+
font-weight: 700;
|
|
31
|
+
border-radius: none;
|
|
32
|
+
width: auto;
|
|
33
|
+
color: var(--secondary-600);
|
|
34
|
+
border: none;
|
|
35
|
+
outline: none;
|
|
36
|
+
height: 2rem;
|
|
37
|
+
padding: 0 10px;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.pagination {
|
|
42
|
+
display: flex;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
button {
|
|
46
|
+
height: 2rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.pageSize {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
.page {
|
|
53
|
+
margin: 0 0.8rem 0 0.8rem;
|
|
54
|
+
color: var(--secondary-600);
|
|
55
|
+
font-weight: 700;
|
|
56
|
+
font-size: 0.875rem !important;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
.points {
|
|
60
|
+
margin-top: -0.5rem;
|
|
61
|
+
font-size: 1rem !important;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Component, Input, OnInit, Output } from "@angular/core";
|
|
2
|
+
import { EventEmitter } from "@angular/core";
|
|
3
|
+
import { SSelectModel } from "../../select";
|
|
4
|
+
import { SPaginationModel } from "./s-pag-model";
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 's-pag',
|
|
8
|
+
templateUrl: './s-pag.component.html',
|
|
9
|
+
styleUrls: ['./s-pag.component.scss']
|
|
10
|
+
})
|
|
11
|
+
export class SPagComponent implements OnInit {
|
|
12
|
+
|
|
13
|
+
pageSizesDefault: SSelectModel[] = [
|
|
14
|
+
{ key: '10', value: '10 ítems' },
|
|
15
|
+
{ key: '15', value: '15 ítems' },
|
|
16
|
+
{ key: '20', value: '20 ítems' },
|
|
17
|
+
{ key: '25', value: '25 ítems' },
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@Input() pageNumber: number = 0;
|
|
21
|
+
@Input() totalItems: number = 1; //Resultados totales
|
|
22
|
+
@Input() pageSize: number = 10;
|
|
23
|
+
@Input() pageSizes?: SSelectModel[];
|
|
24
|
+
@Output() pageEmitter: EventEmitter<number> = new EventEmitter();
|
|
25
|
+
@Output() paginationEmitter: EventEmitter<SPaginationModel> = new EventEmitter();
|
|
26
|
+
|
|
27
|
+
startIndex: number = 0;
|
|
28
|
+
totalPages: number = 0;
|
|
29
|
+
startResults: number = 0;
|
|
30
|
+
endResults: number = 0;
|
|
31
|
+
|
|
32
|
+
previousPage: number = 0;
|
|
33
|
+
nextPage: number = 0;
|
|
34
|
+
|
|
35
|
+
constructor() { }
|
|
36
|
+
|
|
37
|
+
ngOnInit(): void {
|
|
38
|
+
if (this.pageSizes) {
|
|
39
|
+
this.pageSize = Number(this.pageSizes[0].key);
|
|
40
|
+
}
|
|
41
|
+
this.setPagination();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
setPagination() {
|
|
45
|
+
if (this.pageSizes && this.pageSizes.length > 0) {
|
|
46
|
+
this.pageSize = parseInt(this.pageSizes[0].key as string) ?? 10;
|
|
47
|
+
}
|
|
48
|
+
//Calcula el total de páginas
|
|
49
|
+
this.totalPages = Math.ceil(this.totalItems / this.pageSize);
|
|
50
|
+
this.startIndex = (this.pageNumber - 1) * this.pageSize;
|
|
51
|
+
this.setResultsRange();
|
|
52
|
+
this.setPages();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
setResultsRange() {
|
|
56
|
+
this.startResults = (this.pageNumber - 1) * this.pageSize + 1;
|
|
57
|
+
const results = this.startResults + this.pageSize - 1;
|
|
58
|
+
this.endResults = (results > this.totalItems) ? this.totalItems : results;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
next() {
|
|
62
|
+
this.pageNumber++;
|
|
63
|
+
this.setPage();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
previous() {
|
|
67
|
+
this.pageNumber--;
|
|
68
|
+
this.setPage();
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
setPage() {
|
|
72
|
+
this.pageSelection(this.pageNumber);
|
|
73
|
+
this.setPages();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
setPages(){
|
|
77
|
+
this.previousPage = this.pageNumber - 1;
|
|
78
|
+
this.nextPage = this.pageNumber + 1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
pageSelection(page: number) {
|
|
82
|
+
this.pageNumber = page;
|
|
83
|
+
this.pageEmitter.emit(this.pageNumber);
|
|
84
|
+
this.setPagination();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
selectPagination(event: any) {
|
|
88
|
+
this.pageSize = Number(event.target.value);
|
|
89
|
+
this.pageNumber = 1; // reset page
|
|
90
|
+
this.setPagination();
|
|
91
|
+
let pagination: SPaginationModel = {
|
|
92
|
+
pageSize: this.pageSize,
|
|
93
|
+
startIndex: this.startIndex
|
|
94
|
+
}
|
|
95
|
+
this.paginationEmitter.emit(pagination)
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
}
|
|
99
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
<ul *ngIf="pagination.pages && pagination.pages.length > 0" class="pagination-list">
|
|
3
|
+
<li *ngFor="let page of pagination.pages">
|
|
4
|
+
<div [class.is-current]="pagination.currentPage === page" aria-label="Goto page 1" (click)="setPage(page)">{{ page }}</div>
|
|
5
|
+
</li>
|
|
6
|
+
</ul>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Component, Input, OnInit, Output } from "@angular/core";
|
|
2
|
+
import { EventEmitter } from "@angular/core";
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 's-pagination',
|
|
6
|
+
templateUrl: './s-pagination.component.html',
|
|
7
|
+
styleUrls: ['./s-pagination.component.scss']
|
|
8
|
+
})
|
|
9
|
+
export class SPaginationComponent implements OnInit {
|
|
10
|
+
@Input() totalCount: number = 10;
|
|
11
|
+
@Input() pageSize: number = 10;
|
|
12
|
+
@Input() pageNumber: number = 1;
|
|
13
|
+
@Output() getEntries = new EventEmitter<any>();
|
|
14
|
+
pagination: any = {};
|
|
15
|
+
pagedItems: any[] = [];
|
|
16
|
+
|
|
17
|
+
constructor() { }
|
|
18
|
+
|
|
19
|
+
ngOnInit(): void {
|
|
20
|
+
this.setPage(this.pageNumber, false);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
setPage(page: number, emit: boolean = true) {
|
|
24
|
+
if (page < 1 || page > this.pagination.totalPages) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
this.pagination = this.getPagination(this.totalCount, page, this.pageSize);
|
|
29
|
+
if (emit) {
|
|
30
|
+
this.getEntries.emit(this.pagination);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
getPagination(totalItems: number, currentPage: number = 1, pageSize: number = 10) {
|
|
35
|
+
// Se calcula el total de páginas
|
|
36
|
+
let totalPages = Math.ceil(totalItems / pageSize);
|
|
37
|
+
let pages = [];
|
|
38
|
+
|
|
39
|
+
let startPage: number, endPage: number;
|
|
40
|
+
|
|
41
|
+
if (totalPages <= 10) {
|
|
42
|
+
startPage = 1;
|
|
43
|
+
endPage = totalPages;
|
|
44
|
+
} else {
|
|
45
|
+
if (currentPage <= 6) {
|
|
46
|
+
startPage = 1;
|
|
47
|
+
endPage = 10;
|
|
48
|
+
} else if (currentPage + 4 >= totalPages) {
|
|
49
|
+
startPage = totalPages - 9;
|
|
50
|
+
endPage = totalPages;
|
|
51
|
+
} else {
|
|
52
|
+
startPage = currentPage - 5;
|
|
53
|
+
endPage = currentPage + 4;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Se calculan los índices
|
|
58
|
+
let startIndex = (currentPage - 1) * pageSize;
|
|
59
|
+
let endIndex = Math.min(startIndex + pageSize - 1, totalItems - 1);
|
|
60
|
+
|
|
61
|
+
// Se arma la cantidad de páginas para mostrar en el paginador
|
|
62
|
+
for (let index = startPage; index < endPage + 1; index++) {
|
|
63
|
+
pages.push(index);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Se retorna un objeto con la configuración del paginador
|
|
67
|
+
return {
|
|
68
|
+
totalItems: totalItems,
|
|
69
|
+
currentPage: currentPage,
|
|
70
|
+
pageSize: pageSize,
|
|
71
|
+
totalPages: totalPages,
|
|
72
|
+
startPage: startPage,
|
|
73
|
+
endPage: endPage,
|
|
74
|
+
startIndex: startIndex,
|
|
75
|
+
endIndex: endIndex,
|
|
76
|
+
pages: pages
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { SPaginationComponent } from './s-pagination.component';
|
|
4
|
+
import { SPagComponent } from './new/s-pag.component';
|
|
5
|
+
import { SButtonModule } from '../button';
|
|
6
|
+
import { SIconMaterialModule } from '../icon-material';
|
|
7
|
+
import { SSelectModule } from '../select';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@NgModule({
|
|
11
|
+
declarations: [
|
|
12
|
+
SPaginationComponent,
|
|
13
|
+
SPagComponent
|
|
14
|
+
],
|
|
15
|
+
imports: [
|
|
16
|
+
CommonModule,
|
|
17
|
+
SButtonModule,
|
|
18
|
+
SIconMaterialModule,
|
|
19
|
+
SSelectModule
|
|
20
|
+
],
|
|
21
|
+
exports: [
|
|
22
|
+
SPaginationComponent,
|
|
23
|
+
SPagComponent]
|
|
24
|
+
})
|
|
25
|
+
export class SPaginationModule { }
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<div *ngIf="showPopup" class="popup324">
|
|
2
|
+
<div class="popup-card" [ngClass]="show70 ? 'show70' : ''" [ngStyle]="{'width' : this.width + 'px', 'height' : this.height + 'px' , 'left' : getCalcPopUp(this.width) , 'top' : getCalcPopUp(this.height)}">
|
|
3
|
+
<div class="popup-title {{type}}">
|
|
4
|
+
<div class="divisor">
|
|
5
|
+
<s-icon-mat *ngIf="iconCustom" class="icon-title mr-2 d-flex">{{iconCustomName}}</s-icon-mat>
|
|
6
|
+
<s-icon-mat *ngIf="iconType && !iconCustom" class="icon-title mr-2 d-flex">{{iconType}}</s-icon-mat>
|
|
7
|
+
<h4>{{title}}</h4>
|
|
8
|
+
</div>
|
|
9
|
+
<s-icon-mat class="popup-close" alt="close" (click)="close()">close</s-icon-mat>
|
|
10
|
+
</div>
|
|
11
|
+
<div>
|
|
12
|
+
<div class="popup-body {{borderBody? 'border-body': ''}}" [ngStyle]="{'height' : getCalcBody(this.height) }">
|
|
13
|
+
<div class="padding-body">
|
|
14
|
+
<ng-container *ngTemplateOutlet="body"></ng-container>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="content-footer">
|
|
18
|
+
<div class="popup-footer">
|
|
19
|
+
<ng-container *ngTemplateOutlet="footer"></ng-container>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|