@netgrif/components 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +132 -0
- package/README.md +106 -0
- package/bundles/netgrif-components.umd.js +4769 -0
- package/bundles/netgrif-components.umd.js.map +1 -0
- package/bundles/netgrif-components.umd.min.js +16 -0
- package/bundles/netgrif-components.umd.min.js.map +1 -0
- package/esm2015/lib/admin/admin.module.js +19 -0
- package/esm2015/lib/admin/public-api.js +5 -0
- package/esm2015/lib/admin/role-assignment/role-assignment.component.js +28 -0
- package/esm2015/lib/admin/user-invite/user-invite.component.js +35 -0
- package/esm2015/lib/authentication/auth.module.js +15 -0
- package/esm2015/lib/authentication/authentication-overlay/authentication-overlay.component.js +35 -0
- package/esm2015/lib/authentication/public-api.js +5 -0
- package/esm2015/lib/dashboard/cards/barchart-card/barchart-card.component.js +49 -0
- package/esm2015/lib/dashboard/cards/count-card/count-card.component.js +22 -0
- package/esm2015/lib/dashboard/cards/iframe-card/iframe-card.component.js +23 -0
- package/esm2015/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.js +47 -0
- package/esm2015/lib/dashboard/cards/linechart-card/line-chart-card.component.js +59 -0
- package/esm2015/lib/dashboard/cards/piechart-card/pie-chart-card.component.js +52 -0
- package/esm2015/lib/dashboard/cards/portal-card/portal-card.component.js +47 -0
- package/esm2015/lib/dashboard/dashboard-content/dashboard-content.component.js +22 -0
- package/esm2015/lib/dashboard/dashboard.module.js +44 -0
- package/esm2015/lib/dashboard/public-api.js +12 -0
- package/esm2015/lib/data-fields/boolean-field/boolean-field.component.js +28 -0
- package/esm2015/lib/data-fields/button-field/button-field.component.js +27 -0
- package/esm2015/lib/data-fields/data-field-template/data-field-template.component.js +25 -0
- package/esm2015/lib/data-fields/data-fields.module.js +134 -0
- package/esm2015/lib/data-fields/date-field/date-field.component.js +30 -0
- package/esm2015/lib/data-fields/date-time-field/date-time-field.component.js +30 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.js +23 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.js +23 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-field.component.js +21 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.js +16 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.js +16 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.js +16 -0
- package/esm2015/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.js +22 -0
- package/esm2015/lib/data-fields/file-field/file-field.component.js +52 -0
- package/esm2015/lib/data-fields/file-field/preview-dialog/preview-dialog.component.js +33 -0
- package/esm2015/lib/data-fields/file-field-list/file-list-field.component.js +32 -0
- package/esm2015/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.js +42 -0
- package/esm2015/lib/data-fields/filter-field/filter-field.component.js +27 -0
- package/esm2015/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.js +16 -0
- package/esm2015/lib/data-fields/i18n-field/i18n-field.component.js +21 -0
- package/esm2015/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.js +22 -0
- package/esm2015/lib/data-fields/multichoice-field/multichoice-field.component.js +21 -0
- package/esm2015/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.js +16 -0
- package/esm2015/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.js +12 -0
- package/esm2015/lib/data-fields/number-field/number-currency-field/number-currency-field.component.js +34 -0
- package/esm2015/lib/data-fields/number-field/number-default-field/number-default-field.component.js +22 -0
- package/esm2015/lib/data-fields/number-field/number-field.component.js +32 -0
- package/esm2015/lib/data-fields/public-api.js +18 -0
- package/esm2015/lib/data-fields/required-label/required-label.component.js +20 -0
- package/esm2015/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.js +27 -0
- package/esm2015/lib/data-fields/text-field/password-text-field/password-text-field.component.js +26 -0
- package/esm2015/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.js +23 -0
- package/esm2015/lib/data-fields/text-field/simple-text-field/simple-text-field.component.js +23 -0
- package/esm2015/lib/data-fields/text-field/text-field.component.js +21 -0
- package/esm2015/lib/data-fields/text-field/textarea-field/textarea-field.component.js +26 -0
- package/esm2015/lib/data-fields/user-field/user-field.component.js +32 -0
- package/esm2015/lib/forms/email-submission/email-submission-form.component.js +22 -0
- package/esm2015/lib/forms/email-submission/email-submission-form.module.js +24 -0
- package/esm2015/lib/forms/forgotten-password/forgotten-password-form-component.module.js +22 -0
- package/esm2015/lib/forms/forgotten-password/forgotten-password-form.component.js +29 -0
- package/esm2015/lib/forms/login/login-form.component.js +25 -0
- package/esm2015/lib/forms/login/login-form.module.js +22 -0
- package/esm2015/lib/forms/public-api.js +11 -0
- package/esm2015/lib/forms/registration/registration-form.component.js +29 -0
- package/esm2015/lib/forms/registration/registration-form.module.js +24 -0
- package/esm2015/lib/header/header-modes/edit-mode/edit-mode.component.js +26 -0
- package/esm2015/lib/header/header-modes/loading-mode/loading-mode.component.js +16 -0
- package/esm2015/lib/header/header-modes/search-mode/search-mode.component.js +34 -0
- package/esm2015/lib/header/header-modes/sort-mode/sort-mode.component.js +16 -0
- package/esm2015/lib/header/header.component.js +36 -0
- package/esm2015/lib/header/header.module.js +39 -0
- package/esm2015/lib/header/public-api.js +12 -0
- package/esm2015/lib/legal/legal-notice/legal-notice.component.js +21 -0
- package/esm2015/lib/legal/legal-notice/legal-notice.module.js +17 -0
- package/esm2015/lib/legal/public-api.js +5 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.js +54 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.js +43 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.js +67 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.js +58 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.js +30 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.js +2 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.js +35 -0
- package/esm2015/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.js +30 -0
- package/esm2015/lib/navigation/navigation-drawer/navigation-drawer.component.js +30 -0
- package/esm2015/lib/navigation/navigation-rail/navigation-rail.component.js +40 -0
- package/esm2015/lib/navigation/navigation-tree/navigation-tree.component.js +42 -0
- package/esm2015/lib/navigation/navigation.module.js +81 -0
- package/esm2015/lib/navigation/public-api.js +9 -0
- package/esm2015/lib/navigation/quick-panel/components/internal-link/internal-link.component.js +16 -0
- package/esm2015/lib/navigation/quick-panel/components/language-selector/language-selector.component.js +39 -0
- package/esm2015/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.js +32 -0
- package/esm2015/lib/navigation/quick-panel/components/quick-panel.component.js +25 -0
- package/esm2015/lib/navigation/quick-panel/public-api.js +9 -0
- package/esm2015/lib/navigation/quick-panel/quick-panel.module.js +33 -0
- package/esm2015/lib/panel/case-panel/case-panel.component.js +50 -0
- package/esm2015/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.js +25 -0
- package/esm2015/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.js +46 -0
- package/esm2015/lib/panel/panel.component.js +22 -0
- package/esm2015/lib/panel/panel.module.js +55 -0
- package/esm2015/lib/panel/public-api.js +10 -0
- package/esm2015/lib/panel/public-workflow-panel/public-workflow-panel.component.js +26 -0
- package/esm2015/lib/panel/task-panel/task-panel.component.js +113 -0
- package/esm2015/lib/panel/task-panel-list/task-list.component.js +31 -0
- package/esm2015/lib/panel/workflow-panel/workflow-panel.component.js +26 -0
- package/esm2015/lib/routing/public-api.js +3 -0
- package/esm2015/lib/routing/redirect/redirect.component.js +28 -0
- package/esm2015/lib/routing/redirect.module.js +12 -0
- package/esm2015/lib/search/advanced-search/advanced-search-component/advanced-search.component.js +24 -0
- package/esm2015/lib/search/advanced-search/advanced-search.module.js +36 -0
- package/esm2015/lib/search/advanced-search/public-api.js +8 -0
- package/esm2015/lib/search/advanced-search/search-clause-component/search-clause.component.js +16 -0
- package/esm2015/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.js +20 -0
- package/esm2015/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.js +26 -0
- package/esm2015/lib/search/advanced-search/search-predicate-component/search-predicate.component.js +27 -0
- package/esm2015/lib/search/fulltext-search-component/fulltext-search.component.js +21 -0
- package/esm2015/lib/search/public-api.js +10 -0
- package/esm2015/lib/search/search-component/case-search/case-search.component.js +24 -0
- package/esm2015/lib/search/search-component/search.component.js +98 -0
- package/esm2015/lib/search/search-component/task-search/task-search.component.js +24 -0
- package/esm2015/lib/search/search.module.js +36 -0
- package/esm2015/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.js +16 -0
- package/esm2015/lib/side-menu/content-components/filter-selector/filter-selector.component.js +45 -0
- package/esm2015/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.js +27 -0
- package/esm2015/lib/side-menu/content-components/import-net/import-net.component.js +44 -0
- package/esm2015/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.js +27 -0
- package/esm2015/lib/side-menu/content-components/load-filter/load-filter.component.js +54 -0
- package/esm2015/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.js +28 -0
- package/esm2015/lib/side-menu/content-components/new-case/new-case.component.js +48 -0
- package/esm2015/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.js +35 -0
- package/esm2015/lib/side-menu/content-components/option-selector/option-selector.component.js +22 -0
- package/esm2015/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.js +30 -0
- package/esm2015/lib/side-menu/content-components/public-api.js +19 -0
- package/esm2015/lib/side-menu/content-components/save-filter/save-filter.component.js +53 -0
- package/esm2015/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.js +26 -0
- package/esm2015/lib/side-menu/content-components/side-menu-content-component.module.js +50 -0
- package/esm2015/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.js +36 -0
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.js +19 -0
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.js +25 -0
- package/esm2015/lib/side-menu/content-components/user-assign/user-assign.component.js +29 -0
- package/esm2015/lib/side-menu/public-api.js +7 -0
- package/esm2015/lib/side-menu/side-menu-container/side-menu-container.component.js +22 -0
- package/esm2015/lib/side-menu/side-menu.module.js +27 -0
- package/esm2015/lib/tabs/public-api.js +4 -0
- package/esm2015/lib/tabs/tab-creation-detector/tab-creation-detector.component.js +22 -0
- package/esm2015/lib/tabs/tab-view/tab-view.component.js +32 -0
- package/esm2015/lib/tabs/tabs.module.js +28 -0
- package/esm2015/lib/task-content/field-component-resolver/field-component-resolver.component.js +21 -0
- package/esm2015/lib/task-content/public-api.js +6 -0
- package/esm2015/lib/task-content/task-content/task-content.component.js +36 -0
- package/esm2015/lib/task-content/task-content.module.js +32 -0
- package/esm2015/lib/toolbar/public-api.js +3 -0
- package/esm2015/lib/toolbar/toolbar.component.js +26 -0
- package/esm2015/lib/toolbar/toolbar.module.js +22 -0
- package/esm2015/lib/user/profile/profile.component.js +22 -0
- package/esm2015/lib/user/profile/profile.module.js +20 -0
- package/esm2015/lib/user/public-api.js +7 -0
- package/esm2015/lib/user/user-card/user-card.component.js +22 -0
- package/esm2015/lib/user/user.module.js +22 -0
- package/esm2015/lib/view/case-view/case-view.module.js +22 -0
- package/esm2015/lib/view/case-view/components/case-list/case-list.component.js +31 -0
- package/esm2015/lib/view/public-api.js +10 -0
- package/esm2015/lib/view/tree-case-view/tree-case-view.module.js +38 -0
- package/esm2015/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js +22 -0
- package/esm2015/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.js +22 -0
- package/esm2015/lib/view/tree-case-view/tree-component/tree.component.js +23 -0
- package/esm2015/lib/view/tree-case-view/tree-task-content/tree-task-content.component.js +55 -0
- package/esm2015/lib/view/workflow-view/workflow-view.component.js +36 -0
- package/esm2015/lib/view/workflow-view.module.js +36 -0
- package/esm2015/netgrif-components.js +43 -0
- package/esm2015/public-api.js +22 -0
- package/esm5/lib/admin/admin.module.js +23 -0
- package/esm5/lib/admin/public-api.js +5 -0
- package/esm5/lib/admin/role-assignment/role-assignment.component.js +33 -0
- package/esm5/lib/admin/user-invite/user-invite.component.js +40 -0
- package/esm5/lib/authentication/auth.module.js +19 -0
- package/esm5/lib/authentication/authentication-overlay/authentication-overlay.component.js +40 -0
- package/esm5/lib/authentication/public-api.js +5 -0
- package/esm5/lib/dashboard/cards/barchart-card/barchart-card.component.js +55 -0
- package/esm5/lib/dashboard/cards/count-card/count-card.component.js +27 -0
- package/esm5/lib/dashboard/cards/iframe-card/iframe-card.component.js +28 -0
- package/esm5/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.js +52 -0
- package/esm5/lib/dashboard/cards/linechart-card/line-chart-card.component.js +65 -0
- package/esm5/lib/dashboard/cards/piechart-card/pie-chart-card.component.js +58 -0
- package/esm5/lib/dashboard/cards/portal-card/portal-card.component.js +52 -0
- package/esm5/lib/dashboard/dashboard-content/dashboard-content.component.js +27 -0
- package/esm5/lib/dashboard/dashboard.module.js +48 -0
- package/esm5/lib/dashboard/public-api.js +12 -0
- package/esm5/lib/data-fields/boolean-field/boolean-field.component.js +33 -0
- package/esm5/lib/data-fields/button-field/button-field.component.js +32 -0
- package/esm5/lib/data-fields/data-field-template/data-field-template.component.js +30 -0
- package/esm5/lib/data-fields/data-fields.module.js +138 -0
- package/esm5/lib/data-fields/date-field/date-field.component.js +34 -0
- package/esm5/lib/data-fields/date-time-field/date-time-field.component.js +34 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.js +28 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.js +28 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-field.component.js +25 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.js +20 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.js +20 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.js +20 -0
- package/esm5/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.js +27 -0
- package/esm5/lib/data-fields/file-field/file-field.component.js +57 -0
- package/esm5/lib/data-fields/file-field/preview-dialog/preview-dialog.component.js +36 -0
- package/esm5/lib/data-fields/file-field-list/file-list-field.component.js +36 -0
- package/esm5/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.js +46 -0
- package/esm5/lib/data-fields/filter-field/filter-field.component.js +31 -0
- package/esm5/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.js +20 -0
- package/esm5/lib/data-fields/i18n-field/i18n-field.component.js +25 -0
- package/esm5/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.js +26 -0
- package/esm5/lib/data-fields/multichoice-field/multichoice-field.component.js +25 -0
- package/esm5/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.js +20 -0
- package/esm5/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.js +19 -0
- package/esm5/lib/data-fields/number-field/number-currency-field/number-currency-field.component.js +38 -0
- package/esm5/lib/data-fields/number-field/number-default-field/number-default-field.component.js +26 -0
- package/esm5/lib/data-fields/number-field/number-field.component.js +36 -0
- package/esm5/lib/data-fields/public-api.js +18 -0
- package/esm5/lib/data-fields/required-label/required-label.component.js +22 -0
- package/esm5/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.js +32 -0
- package/esm5/lib/data-fields/text-field/password-text-field/password-text-field.component.js +31 -0
- package/esm5/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.js +28 -0
- package/esm5/lib/data-fields/text-field/simple-text-field/simple-text-field.component.js +28 -0
- package/esm5/lib/data-fields/text-field/text-field.component.js +25 -0
- package/esm5/lib/data-fields/text-field/textarea-field/textarea-field.component.js +31 -0
- package/esm5/lib/data-fields/user-field/user-field.component.js +36 -0
- package/esm5/lib/forms/email-submission/email-submission-form.component.js +26 -0
- package/esm5/lib/forms/email-submission/email-submission-form.module.js +28 -0
- package/esm5/lib/forms/forgotten-password/forgotten-password-form-component.module.js +26 -0
- package/esm5/lib/forms/forgotten-password/forgotten-password-form.component.js +33 -0
- package/esm5/lib/forms/login/login-form.component.js +30 -0
- package/esm5/lib/forms/login/login-form.module.js +26 -0
- package/esm5/lib/forms/public-api.js +11 -0
- package/esm5/lib/forms/registration/registration-form.component.js +33 -0
- package/esm5/lib/forms/registration/registration-form.module.js +28 -0
- package/esm5/lib/header/header-modes/edit-mode/edit-mode.component.js +31 -0
- package/esm5/lib/header/header-modes/loading-mode/loading-mode.component.js +20 -0
- package/esm5/lib/header/header-modes/search-mode/search-mode.component.js +39 -0
- package/esm5/lib/header/header-modes/sort-mode/sort-mode.component.js +20 -0
- package/esm5/lib/header/header.component.js +41 -0
- package/esm5/lib/header/header.module.js +43 -0
- package/esm5/lib/header/public-api.js +12 -0
- package/esm5/lib/legal/legal-notice/legal-notice.component.js +25 -0
- package/esm5/lib/legal/legal-notice/legal-notice.module.js +21 -0
- package/esm5/lib/legal/public-api.js +5 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.js +58 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.js +45 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.js +71 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.js +62 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.js +30 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.js +2 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.js +39 -0
- package/esm5/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.js +34 -0
- package/esm5/lib/navigation/navigation-drawer/navigation-drawer.component.js +35 -0
- package/esm5/lib/navigation/navigation-rail/navigation-rail.component.js +44 -0
- package/esm5/lib/navigation/navigation-tree/navigation-tree.component.js +46 -0
- package/esm5/lib/navigation/navigation.module.js +85 -0
- package/esm5/lib/navigation/public-api.js +9 -0
- package/esm5/lib/navigation/quick-panel/components/internal-link/internal-link.component.js +20 -0
- package/esm5/lib/navigation/quick-panel/components/language-selector/language-selector.component.js +44 -0
- package/esm5/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.js +37 -0
- package/esm5/lib/navigation/quick-panel/components/quick-panel.component.js +30 -0
- package/esm5/lib/navigation/quick-panel/public-api.js +9 -0
- package/esm5/lib/navigation/quick-panel/quick-panel.module.js +37 -0
- package/esm5/lib/panel/case-panel/case-panel.component.js +55 -0
- package/esm5/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.js +29 -0
- package/esm5/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.js +50 -0
- package/esm5/lib/panel/panel.component.js +26 -0
- package/esm5/lib/panel/panel.module.js +59 -0
- package/esm5/lib/panel/public-api.js +10 -0
- package/esm5/lib/panel/public-workflow-panel/public-workflow-panel.component.js +30 -0
- package/esm5/lib/panel/task-panel/task-panel.component.js +118 -0
- package/esm5/lib/panel/task-panel-list/task-list.component.js +36 -0
- package/esm5/lib/panel/workflow-panel/workflow-panel.component.js +30 -0
- package/esm5/lib/routing/public-api.js +3 -0
- package/esm5/lib/routing/redirect/redirect.component.js +30 -0
- package/esm5/lib/routing/redirect.module.js +16 -0
- package/esm5/lib/search/advanced-search/advanced-search-component/advanced-search.component.js +28 -0
- package/esm5/lib/search/advanced-search/advanced-search.module.js +40 -0
- package/esm5/lib/search/advanced-search/public-api.js +8 -0
- package/esm5/lib/search/advanced-search/search-clause-component/search-clause.component.js +20 -0
- package/esm5/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.js +25 -0
- package/esm5/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.js +31 -0
- package/esm5/lib/search/advanced-search/search-predicate-component/search-predicate.component.js +31 -0
- package/esm5/lib/search/fulltext-search-component/fulltext-search.component.js +25 -0
- package/esm5/lib/search/public-api.js +10 -0
- package/esm5/lib/search/search-component/case-search/case-search.component.js +28 -0
- package/esm5/lib/search/search-component/search.component.js +105 -0
- package/esm5/lib/search/search-component/task-search/task-search.component.js +28 -0
- package/esm5/lib/search/search.module.js +40 -0
- package/esm5/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.js +23 -0
- package/esm5/lib/side-menu/content-components/filter-selector/filter-selector.component.js +50 -0
- package/esm5/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.js +31 -0
- package/esm5/lib/side-menu/content-components/import-net/import-net.component.js +49 -0
- package/esm5/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.js +31 -0
- package/esm5/lib/side-menu/content-components/load-filter/load-filter.component.js +58 -0
- package/esm5/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.js +32 -0
- package/esm5/lib/side-menu/content-components/new-case/new-case.component.js +53 -0
- package/esm5/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.js +39 -0
- package/esm5/lib/side-menu/content-components/option-selector/option-selector.component.js +27 -0
- package/esm5/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.js +34 -0
- package/esm5/lib/side-menu/content-components/public-api.js +19 -0
- package/esm5/lib/side-menu/content-components/save-filter/save-filter.component.js +57 -0
- package/esm5/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.js +30 -0
- package/esm5/lib/side-menu/content-components/side-menu-content-component.module.js +54 -0
- package/esm5/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.js +40 -0
- package/esm5/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.js +23 -0
- package/esm5/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.js +30 -0
- package/esm5/lib/side-menu/content-components/user-assign/user-assign.component.js +34 -0
- package/esm5/lib/side-menu/public-api.js +7 -0
- package/esm5/lib/side-menu/side-menu-container/side-menu-container.component.js +27 -0
- package/esm5/lib/side-menu/side-menu.module.js +31 -0
- package/esm5/lib/tabs/public-api.js +4 -0
- package/esm5/lib/tabs/tab-creation-detector/tab-creation-detector.component.js +26 -0
- package/esm5/lib/tabs/tab-view/tab-view.component.js +37 -0
- package/esm5/lib/tabs/tabs.module.js +32 -0
- package/esm5/lib/task-content/field-component-resolver/field-component-resolver.component.js +25 -0
- package/esm5/lib/task-content/public-api.js +6 -0
- package/esm5/lib/task-content/task-content/task-content.component.js +41 -0
- package/esm5/lib/task-content/task-content.module.js +36 -0
- package/esm5/lib/toolbar/public-api.js +3 -0
- package/esm5/lib/toolbar/toolbar.component.js +31 -0
- package/esm5/lib/toolbar/toolbar.module.js +26 -0
- package/esm5/lib/user/profile/profile.component.js +27 -0
- package/esm5/lib/user/profile/profile.module.js +24 -0
- package/esm5/lib/user/public-api.js +7 -0
- package/esm5/lib/user/user-card/user-card.component.js +27 -0
- package/esm5/lib/user/user.module.js +26 -0
- package/esm5/lib/view/case-view/case-view.module.js +26 -0
- package/esm5/lib/view/case-view/components/case-list/case-list.component.js +36 -0
- package/esm5/lib/view/public-api.js +10 -0
- package/esm5/lib/view/tree-case-view/tree-case-view.module.js +42 -0
- package/esm5/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.js +27 -0
- package/esm5/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.js +27 -0
- package/esm5/lib/view/tree-case-view/tree-component/tree.component.js +28 -0
- package/esm5/lib/view/tree-case-view/tree-task-content/tree-task-content.component.js +60 -0
- package/esm5/lib/view/workflow-view/workflow-view.component.js +41 -0
- package/esm5/lib/view/workflow-view.module.js +40 -0
- package/esm5/netgrif-components.js +43 -0
- package/esm5/public-api.js +22 -0
- package/fesm2015/netgrif-components.js +4034 -0
- package/fesm2015/netgrif-components.js.map +1 -0
- package/fesm5/netgrif-components.js +4419 -0
- package/fesm5/netgrif-components.js.map +1 -0
- package/lib/admin/admin.module.d.ts +2 -0
- package/lib/admin/public-api.d.ts +2 -0
- package/lib/admin/role-assignment/role-assignment.component.d.ts +6 -0
- package/lib/admin/user-invite/user-invite.component.d.ts +10 -0
- package/lib/authentication/auth.module.d.ts +2 -0
- package/lib/authentication/authentication-overlay/authentication-overlay.component.d.ts +10 -0
- package/lib/authentication/public-api.d.ts +2 -0
- package/lib/dashboard/cards/barchart-card/barchart-card.component.d.ts +14 -0
- package/lib/dashboard/cards/count-card/count-card.component.d.ts +6 -0
- package/lib/dashboard/cards/iframe-card/iframe-card.component.d.ts +6 -0
- package/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.d.ts +15 -0
- package/lib/dashboard/cards/linechart-card/line-chart-card.component.d.ts +16 -0
- package/lib/dashboard/cards/piechart-card/pie-chart-card.component.d.ts +17 -0
- package/lib/dashboard/cards/portal-card/portal-card.component.d.ts +18 -0
- package/lib/dashboard/dashboard-content/dashboard-content.component.d.ts +5 -0
- package/lib/dashboard/dashboard.module.d.ts +2 -0
- package/lib/dashboard/public-api.d.ts +9 -0
- package/lib/data-fields/boolean-field/boolean-field.component.d.ts +7 -0
- package/lib/data-fields/button-field/button-field.component.d.ts +6 -0
- package/lib/data-fields/data-field-template/data-field-template.component.d.ts +6 -0
- package/lib/data-fields/data-fields.module.d.ts +2 -0
- package/lib/data-fields/date-field/date-field.component.d.ts +5 -0
- package/lib/data-fields/date-time-field/date-time-field.component.d.ts +5 -0
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.d.ts +6 -0
- package/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.d.ts +6 -0
- package/lib/data-fields/enumeration-field/enumeration-field.component.d.ts +4 -0
- package/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.d.ts +4 -0
- package/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.d.ts +4 -0
- package/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.d.ts +4 -0
- package/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.d.ts +6 -0
- package/lib/data-fields/file-field/file-field.component.d.ts +10 -0
- package/lib/data-fields/file-field/preview-dialog/preview-dialog.component.d.ts +11 -0
- package/lib/data-fields/file-field-list/file-list-field.component.d.ts +5 -0
- package/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.d.ts +8 -0
- package/lib/data-fields/filter-field/filter-field.component.d.ts +7 -0
- package/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.d.ts +4 -0
- package/lib/data-fields/i18n-field/i18n-field.component.d.ts +4 -0
- package/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.d.ts +5 -0
- package/lib/data-fields/multichoice-field/multichoice-field.component.d.ts +4 -0
- package/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.d.ts +4 -0
- package/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.d.ts +3 -0
- package/lib/data-fields/number-field/number-currency-field/number-currency-field.component.d.ts +10 -0
- package/lib/data-fields/number-field/number-default-field/number-default-field.component.d.ts +5 -0
- package/lib/data-fields/number-field/number-field.component.d.ts +6 -0
- package/lib/data-fields/public-api.d.ts +15 -0
- package/lib/data-fields/required-label/required-label.component.d.ts +6 -0
- package/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.d.ts +9 -0
- package/lib/data-fields/text-field/password-text-field/password-text-field.component.d.ts +9 -0
- package/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.d.ts +6 -0
- package/lib/data-fields/text-field/simple-text-field/simple-text-field.component.d.ts +6 -0
- package/lib/data-fields/text-field/text-field.component.d.ts +4 -0
- package/lib/data-fields/text-field/textarea-field/textarea-field.component.d.ts +8 -0
- package/lib/data-fields/user-field/user-field.component.d.ts +6 -0
- package/lib/forms/email-submission/email-submission-form.component.d.ts +5 -0
- package/lib/forms/email-submission/email-submission-form.module.d.ts +2 -0
- package/lib/forms/forgotten-password/forgotten-password-form-component.module.d.ts +2 -0
- package/lib/forms/forgotten-password/forgotten-password-form.component.d.ts +6 -0
- package/lib/forms/login/login-form.component.d.ts +6 -0
- package/lib/forms/login/login-form.module.d.ts +2 -0
- package/lib/forms/public-api.d.ts +8 -0
- package/lib/forms/registration/registration-form.component.d.ts +6 -0
- package/lib/forms/registration/registration-form.module.d.ts +2 -0
- package/lib/header/header-modes/edit-mode/edit-mode.component.d.ts +7 -0
- package/lib/header/header-modes/loading-mode/loading-mode.component.d.ts +4 -0
- package/lib/header/header-modes/search-mode/search-mode.component.d.ts +6 -0
- package/lib/header/header-modes/sort-mode/sort-mode.component.d.ts +4 -0
- package/lib/header/header.component.d.ts +9 -0
- package/lib/header/header.module.d.ts +2 -0
- package/lib/header/public-api.d.ts +6 -0
- package/lib/legal/legal-notice/legal-notice.component.d.ts +4 -0
- package/lib/legal/legal-notice/legal-notice.module.d.ts +2 -0
- package/lib/legal/public-api.d.ts +2 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.d.ts +8 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.d.ts +6 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.d.ts +10 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.d.ts +11 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.d.ts +25 -0
- package/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.d.ts +9 -0
- package/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.d.ts +6 -0
- package/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.d.ts +6 -0
- package/lib/navigation/navigation-drawer/navigation-drawer.component.d.ts +9 -0
- package/lib/navigation/navigation-rail/navigation-rail.component.d.ts +4 -0
- package/lib/navigation/navigation-tree/navigation-tree.component.d.ts +5 -0
- package/lib/navigation/navigation.module.d.ts +3 -0
- package/lib/navigation/public-api.d.ts +5 -0
- package/lib/navigation/quick-panel/components/internal-link/internal-link.component.d.ts +4 -0
- package/lib/navigation/quick-panel/components/language-selector/language-selector.component.d.ts +9 -0
- package/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.d.ts +9 -0
- package/lib/navigation/quick-panel/components/quick-panel.component.d.ts +6 -0
- package/lib/navigation/quick-panel/public-api.d.ts +5 -0
- package/lib/navigation/quick-panel/quick-panel.module.d.ts +2 -0
- package/lib/panel/case-panel/case-panel.component.d.ts +17 -0
- package/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.d.ts +7 -0
- package/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.d.ts +8 -0
- package/lib/panel/panel.component.d.ts +5 -0
- package/lib/panel/panel.module.d.ts +2 -0
- package/lib/panel/public-api.d.ts +7 -0
- package/lib/panel/public-workflow-panel/public-workflow-panel.component.d.ts +5 -0
- package/lib/panel/task-panel/task-panel.component.d.ts +28 -0
- package/lib/panel/task-panel-list/task-list.component.d.ts +8 -0
- package/lib/panel/workflow-panel/workflow-panel.component.d.ts +5 -0
- package/lib/routing/public-api.d.ts +2 -0
- package/lib/routing/redirect/redirect.component.d.ts +9 -0
- package/lib/routing/redirect.module.d.ts +2 -0
- package/lib/search/advanced-search/advanced-search-component/advanced-search.component.d.ts +4 -0
- package/lib/search/advanced-search/advanced-search.module.d.ts +2 -0
- package/lib/search/advanced-search/public-api.d.ts +5 -0
- package/lib/search/advanced-search/search-clause-component/search-clause.component.d.ts +4 -0
- package/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.d.ts +6 -0
- package/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.d.ts +7 -0
- package/lib/search/advanced-search/search-predicate-component/search-predicate.component.d.ts +5 -0
- package/lib/search/fulltext-search-component/fulltext-search.component.d.ts +4 -0
- package/lib/search/public-api.d.ts +6 -0
- package/lib/search/search-component/case-search/case-search.component.d.ts +8 -0
- package/lib/search/search-component/search.component.d.ts +25 -0
- package/lib/search/search-component/task-search/task-search.component.d.ts +8 -0
- package/lib/search/search.module.d.ts +2 -0
- package/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.d.ts +7 -0
- package/lib/side-menu/content-components/filter-selector/filter-selector.component.d.ts +26 -0
- package/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/import-net/import-net.component.d.ts +10 -0
- package/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/load-filter/load-filter.component.d.ts +10 -0
- package/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/new-case/new-case.component.d.ts +14 -0
- package/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/option-selector/option-selector.component.d.ts +5 -0
- package/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/public-api.d.ts +15 -0
- package/lib/side-menu/content-components/save-filter/save-filter.component.d.ts +6 -0
- package/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/side-menu-content-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.d.ts +2 -0
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.d.ts +7 -0
- package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.d.ts +8 -0
- package/lib/side-menu/content-components/user-assign/user-assign.component.d.ts +11 -0
- package/lib/side-menu/public-api.d.ts +3 -0
- package/lib/side-menu/side-menu-container/side-menu-container.component.d.ts +5 -0
- package/lib/side-menu/side-menu.module.d.ts +2 -0
- package/lib/tabs/public-api.d.ts +3 -0
- package/lib/tabs/tab-creation-detector/tab-creation-detector.component.d.ts +10 -0
- package/lib/tabs/tab-view/tab-view.component.d.ts +12 -0
- package/lib/tabs/tabs.module.d.ts +2 -0
- package/lib/task-content/field-component-resolver/field-component-resolver.component.d.ts +4 -0
- package/lib/task-content/public-api.d.ts +3 -0
- package/lib/task-content/task-content/task-content.component.d.ts +9 -0
- package/lib/task-content/task-content.module.d.ts +2 -0
- package/lib/toolbar/public-api.d.ts +2 -0
- package/lib/toolbar/toolbar.component.d.ts +7 -0
- package/lib/toolbar/toolbar.module.d.ts +2 -0
- package/lib/user/profile/profile.component.d.ts +5 -0
- package/lib/user/profile/profile.module.d.ts +2 -0
- package/lib/user/public-api.d.ts +4 -0
- package/lib/user/user-card/user-card.component.d.ts +6 -0
- package/lib/user/user.module.d.ts +2 -0
- package/lib/view/case-view/case-view.module.d.ts +2 -0
- package/lib/view/case-view/components/case-list/case-list.component.d.ts +8 -0
- package/lib/view/public-api.d.ts +7 -0
- package/lib/view/tree-case-view/tree-case-view.module.d.ts +2 -0
- package/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.d.ts +5 -0
- package/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.d.ts +5 -0
- package/lib/view/tree-case-view/tree-component/tree.component.d.ts +5 -0
- package/lib/view/tree-case-view/tree-task-content/tree-task-content.component.d.ts +11 -0
- package/lib/view/workflow-view/workflow-view.component.d.ts +9 -0
- package/lib/view/workflow-view.module.d.ts +2 -0
- package/nae-theme.scss +39 -0
- package/nae-typography.scss +35 -0
- package/netgrif-components.d.ts +43 -0
- package/netgrif-components.metadata.json +1 -0
- package/package.json +75 -0
- package/public-api.d.ts +17 -0
- package/schematics/_commons/angular-cli-devkit-core-strings.d.ts +93 -0
- package/schematics/_commons/angular-cli-devkit-core-strings.js +167 -0
- package/schematics/_commons/angular-cli-devkit-core-strings.js.map +1 -0
- package/schematics/_commons/import-to-add.d.ts +5 -0
- package/schematics/_commons/import-to-add.js +11 -0
- package/schematics/_commons/import-to-add.js.map +1 -0
- package/schematics/_commons/view-class-info.d.ts +22 -0
- package/schematics/_commons/view-class-info.js +58 -0
- package/schematics/_commons/view-class-info.js.map +1 -0
- package/schematics/_utility/models/file-data.d.ts +6 -0
- package/schematics/_utility/models/file-data.js +3 -0
- package/schematics/_utility/models/file-data.js.map +1 -0
- package/schematics/_utility/models/file-system-node.d.ts +6 -0
- package/schematics/_utility/models/file-system-node.js +12 -0
- package/schematics/_utility/models/file-system-node.js.map +1 -0
- package/schematics/_utility/models/project-info.d.ts +13 -0
- package/schematics/_utility/models/project-info.js +20 -0
- package/schematics/_utility/models/project-info.js.map +1 -0
- package/schematics/_utility/modified-library-functions.d.ts +24 -0
- package/schematics/_utility/modified-library-functions.js +150 -0
- package/schematics/_utility/modified-library-functions.js.map +1 -0
- package/schematics/_utility/utility-functions.d.ts +67 -0
- package/schematics/_utility/utility-functions.js +247 -0
- package/schematics/_utility/utility-functions.js.map +1 -0
- package/schematics/add/add/index.d.ts +2 -0
- package/schematics/add/add/index.js +16 -0
- package/schematics/add/add/index.js.map +1 -0
- package/schematics/add/create-nc-files/index.d.ts +2 -0
- package/schematics/add/create-nc-files/index.js +54 -0
- package/schematics/add/create-nc-files/index.js.map +1 -0
- package/schematics/add/create-nc-files/schema.json +7 -0
- package/schematics/add/custom-themes/files/custom-themes/custom-themes.scss.template +45 -0
- package/schematics/add/custom-themes/files/dark-theme/custom-dark-theme.scss.template +17 -0
- package/schematics/add/custom-themes/files/light-theme/custom-light-theme.scss.template +17 -0
- package/schematics/add/custom-themes/index.d.ts +2 -0
- package/schematics/add/custom-themes/index.js +199 -0
- package/schematics/add/custom-themes/index.js.map +1 -0
- package/schematics/add/custom-themes/schema.json +7 -0
- package/schematics/collection.json +47 -0
- package/schematics/migrations/4.1/migration-4.1.d.ts +5 -0
- package/schematics/migrations/4.1/migration-4.1.js +37 -0
- package/schematics/migrations/4.1/migration-4.1.js.map +1 -0
- package/schematics/migrations/5.4/migration-5.4.d.ts +5 -0
- package/schematics/migrations/5.4/migration-5.4.js +134 -0
- package/schematics/migrations/5.4/migration-5.4.js.map +1 -0
- package/schematics/migrations/5.4/schema.json +7 -0
- package/schematics/migrations.json +15 -0
- package/schematics/view/_utility/add-view-to-nae-json.d.ts +3 -0
- package/schematics/view/_utility/add-view-to-nae-json.js +57 -0
- package/schematics/view/_utility/add-view-to-nae-json.js.map +1 -0
- package/schematics/view/_utility/view-service-functions.d.ts +9 -0
- package/schematics/view/_utility/view-service-functions.js +59 -0
- package/schematics/view/_utility/view-service-functions.js.map +1 -0
- package/schematics/view/_utility/view-utility-functions.d.ts +8 -0
- package/schematics/view/_utility/view-utility-functions.js +61 -0
- package/schematics/view/_utility/view-utility-functions.js.map +1 -0
- package/schematics/view/create-view/models/nullable-create-view-arguments.d.ts +11 -0
- package/schematics/view/create-view/models/nullable-create-view-arguments.js +3 -0
- package/schematics/view/create-view/models/nullable-create-view-arguments.js.map +1 -0
- package/schematics/view/create-view/schema.json +7 -0
- package/schematics/view/create-view/schematic-create-view.d.ts +2 -0
- package/schematics/view/create-view/schematic-create-view.js +80 -0
- package/schematics/view/create-view/schematic-create-view.js.map +1 -0
- package/schematics/view/create-view-prompt/models/create-task-view-arguments.d.ts +4 -0
- package/schematics/view/create-view-prompt/models/create-task-view-arguments.js +3 -0
- package/schematics/view/create-view-prompt/models/create-task-view-arguments.js.map +1 -0
- package/schematics/view/create-view-prompt/models/create-view-arguments.d.ts +14 -0
- package/schematics/view/create-view-prompt/models/create-view-arguments.js +3 -0
- package/schematics/view/create-view-prompt/models/create-view-arguments.js.map +1 -0
- package/schematics/view/create-view-prompt/models/params-interfaces.d.ts +28 -0
- package/schematics/view/create-view-prompt/models/params-interfaces.js +3 -0
- package/schematics/view/create-view-prompt/models/params-interfaces.js.map +1 -0
- package/schematics/view/create-view-prompt/models/sidenav-prompt-options.d.ts +8 -0
- package/schematics/view/create-view-prompt/models/sidenav-prompt-options.js +3 -0
- package/schematics/view/create-view-prompt/models/sidenav-prompt-options.js.map +1 -0
- package/schematics/view/create-view-prompt/models/tab-content-template.d.ts +9 -0
- package/schematics/view/create-view-prompt/models/tab-content-template.js +11 -0
- package/schematics/view/create-view-prompt/models/tab-content-template.js.map +1 -0
- package/schematics/view/create-view-prompt/models/tabbed-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/models/tabbed-view.js +3 -0
- package/schematics/view/create-view-prompt/models/tabbed-view.js.map +1 -0
- package/schematics/view/create-view-prompt/schema-create-sidenav-prompt.json +25 -0
- package/schematics/view/create-view-prompt/schema-create-view-prompt.json +68 -0
- package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.d.ts +5 -0
- package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.js +49 -0
- package/schematics/view/create-view-prompt/schematic-create-sidenav-prompt.js.map +1 -0
- package/schematics/view/create-view-prompt/schematic-create-view-prompt.d.ts +3 -0
- package/schematics/view/create-view-prompt/schematic-create-view-prompt.js +88 -0
- package/schematics/view/create-view-prompt/schematic-create-view-prompt.js.map +1 -0
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.d.ts +4 -0
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js +57 -0
- package/schematics/view/create-view-prompt/views/case-view/create-case-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/case-view/files/common/__className@dasherize__.component.html.template +20 -0
- package/schematics/view/create-view-prompt/views/case-view/files/common/__className@dasherize__.component.spec.ts.template +52 -0
- package/schematics/view/create-view-prompt/views/case-view/files/simple/__className@dasherize__.component.scss.template +28 -0
- package/schematics/view/create-view-prompt/views/case-view/files/simple/__className@dasherize__.component.ts.template +67 -0
- package/schematics/view/create-view-prompt/views/case-view/files/tabbed/__className@dasherize__.component.scss.template +21 -0
- package/schematics/view/create-view-prompt/views/case-view/files/tabbed/__className@dasherize__.component.ts.template +64 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.js +34 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/create-dashboard-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/files/__className@dasherize__.component.html.template +1 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/files/__className@dasherize__.component.scss.template +0 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/files/__className@dasherize__.component.spec.ts.template +31 -0
- package/schematics/view/create-view-prompt/views/dashboard-view/files/__className@dasherize__.component.ts.template +23 -0
- package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.js +28 -0
- package/schematics/view/create-view-prompt/views/empty-view/create-empty-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/empty-view/files/__className@dasherize__.component.html.template +1 -0
- package/schematics/view/create-view-prompt/views/empty-view/files/__className@dasherize__.component.scss.template +0 -0
- package/schematics/view/create-view-prompt/views/empty-view/files/__className@dasherize__.component.spec.ts.template +25 -0
- package/schematics/view/create-view-prompt/views/empty-view/files/__className@dasherize__.component.ts.template +18 -0
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.d.ts +4 -0
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js +37 -0
- package/schematics/view/create-view-prompt/views/group-view/create-group-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/group-view/files/__className@dasherize__.component.html.template +7 -0
- package/schematics/view/create-view-prompt/views/group-view/files/__className@dasherize__.component.scss.template +22 -0
- package/schematics/view/create-view-prompt/views/group-view/files/__className@dasherize__.component.spec.ts.template +49 -0
- package/schematics/view/create-view-prompt/views/group-view/files/__className@dasherize__.component.ts.template +69 -0
- package/schematics/view/create-view-prompt/views/login/create-login-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/login/create-login-view.js +36 -0
- package/schematics/view/create-view-prompt/views/login/create-login-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/login/files/__className@dasherize__.component.html.template +5 -0
- package/schematics/view/create-view-prompt/views/login/files/__className@dasherize__.component.scss.template +6 -0
- package/schematics/view/create-view-prompt/views/login/files/__className@dasherize__.component.spec.ts.template +38 -0
- package/schematics/view/create-view-prompt/views/login/files/__className@dasherize__.component.ts.template +18 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.js +82 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/create-sidenav-or-toolbar-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/files/__className@dasherize__.component.html.template +8 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/files/__className@dasherize__.component.scss.template +0 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/files/__className@dasherize__.component.spec.ts.template +51 -0
- package/schematics/view/create-view-prompt/views/sidenav-toolbar-view/files/__className@dasherize__.component.ts.template +19 -0
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js +161 -0
- package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/tab-view/files/__className@dasherize__.component.html.template +3 -0
- package/schematics/view/create-view-prompt/views/tab-view/files/__className@dasherize__.component.scss.template +3 -0
- package/schematics/view/create-view-prompt/views/tab-view/files/__className@dasherize__.component.spec.ts.template +27 -0
- package/schematics/view/create-view-prompt/views/tab-view/files/__className@dasherize__.component.ts.template +34 -0
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.d.ts +4 -0
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.js +47 -0
- package/schematics/view/create-view-prompt/views/task-view/create-task-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/task-view/files/common/__className@dasherize__.component.html.template +7 -0
- package/schematics/view/create-view-prompt/views/task-view/files/common/__className@dasherize__.component.scss.template +22 -0
- package/schematics/view/create-view-prompt/views/task-view/files/common/__className@dasherize__.component.spec.ts.template +49 -0
- package/schematics/view/create-view-prompt/views/task-view/files/simple/__className@dasherize__.component.ts.template +62 -0
- package/schematics/view/create-view-prompt/views/task-view/files/tabbed/__className@dasherize__.component.ts.template +64 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.d.ts +3 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js +39 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js.map +1 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/files/__className@dasherize__.component.html.template +15 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/files/__className@dasherize__.component.scss.template +17 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/files/__className@dasherize__.component.spec.ts.template +33 -0
- package/schematics/view/create-view-prompt/views/tree-case-view/files/__className@dasherize__.component.ts.template +23 -0
- package/src/assets/default-user-avatar.png +0 -0
- package/src/assets/default-user-background.jpg +0 -0
- package/src/assets/flags/de.png +0 -0
- package/src/assets/flags/gb.png +0 -0
- package/src/assets/flags/sk.png +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.eot +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.otf +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.ttf +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.woff +0 -0
- package/src/assets/fonts/MaterialIcons-Regular.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300.svg +312 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300italic.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300italic.svg +329 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300italic.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300italic.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-300italic.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500.svg +305 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500italic.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500italic.svg +326 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500italic.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500italic.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-500italic.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-italic.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-italic.svg +323 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-italic.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-italic.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-italic.woff2 +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-regular.eot +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-regular.svg +308 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-regular.ttf +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
- package/src/assets/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
- package/src/lib/admin/role-assignment/role-assignment.component.theme.scss +10 -0
- package/src/lib/data-fields/data-field.theme.scss +73 -0
- package/src/lib/dialog/dialog.theme.scss +13 -0
- package/src/lib/header/header.theme.scss +8 -0
- package/src/lib/navigation/navigation.theme.scss +9 -0
- package/src/lib/panel/panel.theme.scss +31 -0
- package/src/lib/search/advanced-search/search-clause-component/search-clause.component.theme.scss +9 -0
- package/src/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.theme.scss +9 -0
- package/src/lib/search/advanced-search/search-predicate-component/search-predicate.component.theme.scss +9 -0
- package/src/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/theme/user-assign-item.component.theme.scss +15 -0
- package/src/lib/side-menu/side-menu.theme.scss +24 -0
- package/src/lib/snack-bar/snack-bar.theme.scss +17 -0
- package/src/lib/tabs/tabs.theme.scss +16 -0
- package/src/lib/user/user.theme.scss +11 -0
- package/src/lib/view/view.theme.scss +16 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Component, Injector } from '@angular/core';
|
|
3
|
+
import { AbstractCountCard } from '@netgrif/components-core';
|
|
4
|
+
var CountCardComponent = /** @class */ (function (_super) {
|
|
5
|
+
__extends(CountCardComponent, _super);
|
|
6
|
+
function CountCardComponent(_injector) {
|
|
7
|
+
var _this = _super.call(this, _injector) || this;
|
|
8
|
+
_this._injector = _injector;
|
|
9
|
+
return _this;
|
|
10
|
+
}
|
|
11
|
+
CountCardComponent.ctorParameters = function () { return [
|
|
12
|
+
{ type: Injector }
|
|
13
|
+
]; };
|
|
14
|
+
CountCardComponent.decorators = [
|
|
15
|
+
{ type: Component, args: [{
|
|
16
|
+
selector: 'nc-count-card',
|
|
17
|
+
template: "<mat-card fxLayout=\"column\" fxLayoutAlign=\"center center\" class=\"dashboard-card\">\n <span>{{card.title}}</span>\n <ng-template [ngIf]=\"loading\" [ngIfElse]=\"result\">\n <mat-spinner color=\"primary\"></mat-spinner>\n </ng-template>\n <ng-template #result>\n <span class=\"number\">{{count}}</span>\n </ng-template>\n</mat-card>\n",
|
|
18
|
+
styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.number{font-size:80px}"]
|
|
19
|
+
},] }
|
|
20
|
+
];
|
|
21
|
+
CountCardComponent.ctorParameters = function () { return [
|
|
22
|
+
{ type: Injector }
|
|
23
|
+
]; };
|
|
24
|
+
return CountCardComponent;
|
|
25
|
+
}(AbstractCountCard));
|
|
26
|
+
export { CountCardComponent };
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY291bnQtY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2Rhc2hib2FyZC9jYXJkcy9jb3VudC1jYXJkL2NvdW50LWNhcmQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUczRDtJQUt3QyxzQ0FBaUI7SUFFckQsNEJBQXNCLFNBQW1CO1FBQXpDLFlBQ0ksa0JBQU0sU0FBUyxDQUFDLFNBQ25CO1FBRnFCLGVBQVMsR0FBVCxTQUFTLENBQVU7O0lBRXpDLENBQUM7O2dCQUZnQyxRQUFROzs7Z0JBUDVDLFNBQVMsU0FBQztvQkFDUCxRQUFRLEVBQUUsZUFBZTtvQkFDekIsMFhBQTBDOztpQkFFN0M7OztnQkFSa0IsUUFBUTs7SUFjM0IseUJBQUM7Q0FBQSxBQVZELENBS3dDLGlCQUFpQixHQUt4RDtTQUxZLGtCQUFrQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q29tcG9uZW50LCBJbmplY3Rvcn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0Fic3RyYWN0Q291bnRDYXJkfSBmcm9tICdAbmV0Z3JpZi9jb21wb25lbnRzLWNvcmUnO1xuXG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbmMtY291bnQtY2FyZCcsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2NvdW50LWNhcmQuY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL2NvdW50LWNhcmQuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBDb3VudENhcmRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdENvdW50Q2FyZCB7XG5cbiAgICBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgX2luamVjdG9yOiBJbmplY3Rvcikge1xuICAgICAgICBzdXBlcihfaW5qZWN0b3IpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import { AbstractIframeCard } from '@netgrif/components-core';
|
|
4
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
|
+
var IframeCardComponent = /** @class */ (function (_super) {
|
|
6
|
+
__extends(IframeCardComponent, _super);
|
|
7
|
+
function IframeCardComponent(_sanitizer) {
|
|
8
|
+
var _this = _super.call(this, _sanitizer) || this;
|
|
9
|
+
_this._sanitizer = _sanitizer;
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
IframeCardComponent.ctorParameters = function () { return [
|
|
13
|
+
{ type: DomSanitizer }
|
|
14
|
+
]; };
|
|
15
|
+
IframeCardComponent.decorators = [
|
|
16
|
+
{ type: Component, args: [{
|
|
17
|
+
selector: 'nc-iframe-card',
|
|
18
|
+
template: "<mat-card class=\"dashboard-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <iframe [src]=\"sanitizedURL\" fxFlex=\"100\" class=\"full-size\" title=\"Dashboard embedded content\"></iframe>\n</mat-card>\n",
|
|
19
|
+
styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}"]
|
|
20
|
+
},] }
|
|
21
|
+
];
|
|
22
|
+
IframeCardComponent.ctorParameters = function () { return [
|
|
23
|
+
{ type: DomSanitizer }
|
|
24
|
+
]; };
|
|
25
|
+
return IframeCardComponent;
|
|
26
|
+
}(AbstractIframeCard));
|
|
27
|
+
export { IframeCardComponent };
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvY2FyZHMvaWZyYW1lLWNhcmQvaWZyYW1lLWNhcmQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hDLE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQzVELE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQztBQUV2RDtJQUt5Qyx1Q0FBa0I7SUFFdkQsNkJBQXNCLFVBQXdCO1FBQTlDLFlBQ0ksa0JBQU0sVUFBVSxDQUFDLFNBQ3BCO1FBRnFCLGdCQUFVLEdBQVYsVUFBVSxDQUFjOztJQUU5QyxDQUFDOztnQkFGaUMsWUFBWTs7O2dCQVBqRCxTQUFTLFNBQUM7b0JBQ1AsUUFBUSxFQUFFLGdCQUFnQjtvQkFDMUIsbU9BQTJDOztpQkFFOUM7OztnQkFOTyxZQUFZOztJQVlwQiwwQkFBQztDQUFBLEFBVkQsQ0FLeUMsa0JBQWtCLEdBSzFEO1NBTFksbUJBQW1CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtBYnN0cmFjdElmcmFtZUNhcmR9IGZyb20gJ0BuZXRncmlmL2NvbXBvbmVudHMtY29yZSc7XG5pbXBvcnQge0RvbVNhbml0aXplcn0gZnJvbSAnQGFuZ3VsYXIvcGxhdGZvcm0tYnJvd3Nlcic7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbmMtaWZyYW1lLWNhcmQnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9pZnJhbWUtY2FyZC5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vaWZyYW1lLWNhcmQuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBJZnJhbWVDYXJkQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RJZnJhbWVDYXJkIHtcblxuICAgIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBfc2FuaXRpemVyOiBEb21TYW5pdGl6ZXIpIHtcbiAgICAgICAgc3VwZXIoX3Nhbml0aXplcik7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
|
|
3
|
+
import { AbstractCustomCard, DashboardEventContent, DashboardResourceService } from '@netgrif/components-core';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { AggregationResult, LoggerService } from '@netgrif/components-core';
|
|
6
|
+
var LinearGaugeCardComponent = /** @class */ (function (_super) {
|
|
7
|
+
__extends(LinearGaugeCardComponent, _super);
|
|
8
|
+
function LinearGaugeCardComponent(_injector, resourceService, translateService, loggerService) {
|
|
9
|
+
var _this = _super.call(this, _injector, resourceService, translateService, loggerService) || this;
|
|
10
|
+
_this._injector = _injector;
|
|
11
|
+
_this.resourceService = resourceService;
|
|
12
|
+
_this.translateService = translateService;
|
|
13
|
+
_this.loggerService = loggerService;
|
|
14
|
+
_this.selectEvent = new EventEmitter();
|
|
15
|
+
return _this;
|
|
16
|
+
}
|
|
17
|
+
LinearGaugeCardComponent.prototype.ngOnInit = function () {
|
|
18
|
+
_super.prototype.ngOnInit.call(this);
|
|
19
|
+
};
|
|
20
|
+
LinearGaugeCardComponent.prototype.onSelect = function (data) {
|
|
21
|
+
this.loggerService.info('Linear gauge selected.');
|
|
22
|
+
this.selectEvent.emit(data);
|
|
23
|
+
};
|
|
24
|
+
LinearGaugeCardComponent.prototype.convertData = function (json) {
|
|
25
|
+
this.value = json.aggregations.types_count.value;
|
|
26
|
+
};
|
|
27
|
+
LinearGaugeCardComponent.ctorParameters = function () { return [
|
|
28
|
+
{ type: Injector },
|
|
29
|
+
{ type: DashboardResourceService },
|
|
30
|
+
{ type: TranslateService },
|
|
31
|
+
{ type: LoggerService }
|
|
32
|
+
]; };
|
|
33
|
+
LinearGaugeCardComponent.decorators = [
|
|
34
|
+
{ type: Component, args: [{
|
|
35
|
+
selector: 'nc-linear-gauge-card',
|
|
36
|
+
template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-linear-gauge class=\"custom-chart\"\n [scheme]=\"colorScheme\"\n [value]=\"value\"\n (select)=\"onSelect($event)\"\n [units]=\"card.units\">\n </ngx-charts-linear-gauge>\n</mat-card>\n",
|
|
37
|
+
styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}.custom-mat-card{padding-left:0;padding-top:0}"]
|
|
38
|
+
},] }
|
|
39
|
+
];
|
|
40
|
+
LinearGaugeCardComponent.ctorParameters = function () { return [
|
|
41
|
+
{ type: Injector },
|
|
42
|
+
{ type: DashboardResourceService },
|
|
43
|
+
{ type: TranslateService },
|
|
44
|
+
{ type: LoggerService }
|
|
45
|
+
]; };
|
|
46
|
+
LinearGaugeCardComponent.propDecorators = {
|
|
47
|
+
selectEvent: [{ type: Output }]
|
|
48
|
+
};
|
|
49
|
+
return LinearGaugeCardComponent;
|
|
50
|
+
}(AbstractCustomCard));
|
|
51
|
+
export { LinearGaugeCardComponent };
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZWFyLWdhdWdlLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvY2FyZHMvbGluZWFyZ2F1Z2UtY2FyZC9saW5lYXItZ2F1Z2UtY2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBQyxrQkFBa0IsRUFBRSxxQkFBcUIsRUFBRSx3QkFBd0IsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQzdHLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBQ3JELE9BQU8sRUFBQyxpQkFB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b3RlY3RlZCBfaW5qZWN0b3I6IEluamVjdG9yLFxuICAgICAgICAgICAgICAgIHByb3RlY3RlZCByZXNvdXJjZVNlcnZpY2U6IERhc2hib2FyZFJlc291cmNlU2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgdHJhbnNsYXRlU2VydmljZTogVHJhbnNsYXRlU2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgbG9nZ2VyU2VydmljZTogTG9nZ2VyU2VydmljZSkge1xuICAgICAgICBzdXBlcihfaW5qZWN0b3IsIHJlc291cmNlU2VydmljZSwgdHJhbnNsYXRlU2VydmljZSwgbG9nZ2VyU2VydmljZSk7XG4gICAgICAgIHRoaXMuc2VsZWN0RXZlbnQgPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gICAgfVxuXG4gICAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgICAgIHN1cGVyLm5nT25Jbml0KCk7XG4gICAgfVxuXG4gICAgb25TZWxlY3QoZGF0YTogRGFzaGJvYXJkRXZlbnRDb250ZW50KSB7XG4gICAgICAgIHRoaXMubG9nZ2VyU2VydmljZS5pbmZvKCdMaW5lYXIgZ2F1Z2Ugc2VsZWN0ZWQuJyk7XG4gICAgICAgIHRoaXMuc2VsZWN0RXZlbnQuZW1pdChkYXRhKTtcbiAgICB9XG5cbiAgICBjb252ZXJ0RGF0YShqc29uOiBBZ2dyZWdhdGlvblJlc3VsdCk6IHZvaWQge1xuICAgICAgICB0aGlzLnZhbHVlID0ganNvbi5hZ2dyZWdhdGlvbnMudHlwZXNfY291bnQudmFsdWU7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { __extends, __read, __spread } from "tslib";
|
|
2
|
+
import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
|
|
3
|
+
import { AbstractCustomCard, DashboardEventContent, DashboardMultiData, DashboardResourceService, DashboardSingleData } from '@netgrif/components-core';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { AggregationResult, LoggerService } from '@netgrif/components-core';
|
|
6
|
+
var LineChartCardComponent = /** @class */ (function (_super) {
|
|
7
|
+
__extends(LineChartCardComponent, _super);
|
|
8
|
+
function LineChartCardComponent(_injector, resourceService, translateService, loggerService) {
|
|
9
|
+
var _this = _super.call(this, _injector, resourceService, translateService, loggerService) || this;
|
|
10
|
+
_this._injector = _injector;
|
|
11
|
+
_this.resourceService = resourceService;
|
|
12
|
+
_this.translateService = translateService;
|
|
13
|
+
_this.loggerService = loggerService;
|
|
14
|
+
_this.timeline = true;
|
|
15
|
+
_this.selectEvent = new EventEmitter();
|
|
16
|
+
return _this;
|
|
17
|
+
}
|
|
18
|
+
LineChartCardComponent.prototype.ngOnInit = function () {
|
|
19
|
+
_super.prototype.ngOnInit.call(this);
|
|
20
|
+
};
|
|
21
|
+
LineChartCardComponent.prototype.onSelect = function (data) {
|
|
22
|
+
this.loggerService.info('Line chart selected.');
|
|
23
|
+
this.selectEvent.emit(data);
|
|
24
|
+
};
|
|
25
|
+
LineChartCardComponent.prototype.convertData = function (json) {
|
|
26
|
+
var _this = this;
|
|
27
|
+
var index = 0;
|
|
28
|
+
var result;
|
|
29
|
+
for (result in json.aggregations) {
|
|
30
|
+
if (json.aggregations.hasOwnProperty(result)) {
|
|
31
|
+
this.multi.push(new DashboardMultiData(result, new Array()));
|
|
32
|
+
json.aggregations[result].buckets.forEach(function (bucket) {
|
|
33
|
+
_this.multi[index].series.push(new DashboardSingleData(bucket.key, bucket.doc_count));
|
|
34
|
+
});
|
|
35
|
+
index++;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
this.multi = __spread(this.multi);
|
|
39
|
+
};
|
|
40
|
+
LineChartCardComponent.ctorParameters = function () { return [
|
|
41
|
+
{ type: Injector },
|
|
42
|
+
{ type: DashboardResourceService },
|
|
43
|
+
{ type: TranslateService },
|
|
44
|
+
{ type: LoggerService }
|
|
45
|
+
]; };
|
|
46
|
+
LineChartCardComponent.decorators = [
|
|
47
|
+
{ type: Component, args: [{
|
|
48
|
+
selector: 'nc-line-chart-card',
|
|
49
|
+
template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-line-chart class=\"custom-chart\"\n [legend]=\"showLegend\"\n [showXAxisLabel]=\"showXAxisLabel\"\n [showYAxisLabel]=\"showYAxisLabel\"\n [xAxis]=\"xAxis\"\n [yAxis]=\"yAxis\"\n [xAxisLabel]=\"card.xAxisLabel\"\n [yAxisLabel]=\"card.yAxisLabel\"\n [timeline]=\"timeline\"\n [results]=\"multi\"\n (select)=\"onSelect($event)\"\n >\n </ngx-charts-line-chart>\n</mat-card>\n",
|
|
50
|
+
styles: [".dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-mat-card{padding-left:0;padding-top:0}"]
|
|
51
|
+
},] }
|
|
52
|
+
];
|
|
53
|
+
LineChartCardComponent.ctorParameters = function () { return [
|
|
54
|
+
{ type: Injector },
|
|
55
|
+
{ type: DashboardResourceService },
|
|
56
|
+
{ type: TranslateService },
|
|
57
|
+
{ type: LoggerService }
|
|
58
|
+
]; };
|
|
59
|
+
LineChartCardComponent.propDecorators = {
|
|
60
|
+
selectEvent: [{ type: Output }]
|
|
61
|
+
};
|
|
62
|
+
return LineChartCardComponent;
|
|
63
|
+
}(AbstractCustomCard));
|
|
64
|
+
export { LineChartCardComponent };
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZS1jaGFydC1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvZGFzaGJvYXJkL2NhcmRzL2xpbmVjaGFydC1jYXJkL2xpbmUtY2hhcnQtY2FyZC5jb21wb25lbnQudHMiXSwibmFtZX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cm9wZXJ0eShyZXN1bHQpKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5tdWx0aS5wdXNoKG5ldyBEYXNoYm9hcmRNdWx0aURhdGEocmVzdWx0LCBuZXcgQXJyYXk8RGFzaGJvYXJkU2luZ2xlRGF0YT4oKSkpO1xuICAgICAgICAgICAgICAgIGpzb24uYWdncmVnYXRpb25zW3Jlc3VsdF0uYnVja2V0cy5mb3JFYWNoKGJ1Y2tldCA9PiB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMubXVsdGlbaW5kZXhdLnNlcmllcy5wdXNoKG5ldyBEYXNoYm9hcmRTaW5nbGVEYXRhKGJ1Y2tldC5rZXksIGJ1Y2tldC5kb2NfY291bnQpKTtcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICBpbmRleCsrO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHRoaXMubXVsdGkgPSBbLi4udGhpcy5tdWx0aV07XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { __extends, __read, __spread } from "tslib";
|
|
2
|
+
import { Component, EventEmitter, Injector, OnInit, Output } from '@angular/core';
|
|
3
|
+
import { AbstractCustomCard, DashboardEventContent, DashboardResourceService, DashboardSingleData } from '@netgrif/components-core';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { AggregationResult, LoggerService } from '@netgrif/components-core';
|
|
6
|
+
var PieChartCardComponent = /** @class */ (function (_super) {
|
|
7
|
+
__extends(PieChartCardComponent, _super);
|
|
8
|
+
function PieChartCardComponent(_injector, resourceService, translateService, loggerService) {
|
|
9
|
+
var _this = _super.call(this, _injector, resourceService, translateService, loggerService) || this;
|
|
10
|
+
_this._injector = _injector;
|
|
11
|
+
_this.resourceService = resourceService;
|
|
12
|
+
_this.translateService = translateService;
|
|
13
|
+
_this.loggerService = loggerService;
|
|
14
|
+
_this.isDoughnut = false;
|
|
15
|
+
_this.legendPosition = 'right';
|
|
16
|
+
_this.selectEvent = new EventEmitter();
|
|
17
|
+
return _this;
|
|
18
|
+
}
|
|
19
|
+
PieChartCardComponent.prototype.ngOnInit = function () {
|
|
20
|
+
_super.prototype.ngOnInit.call(this);
|
|
21
|
+
};
|
|
22
|
+
PieChartCardComponent.prototype.onSelect = function (data) {
|
|
23
|
+
this.loggerService.info('Pie chart selected.');
|
|
24
|
+
this.selectEvent.emit(data);
|
|
25
|
+
};
|
|
26
|
+
PieChartCardComponent.prototype.convertData = function (json) {
|
|
27
|
+
var _this = this;
|
|
28
|
+
json.aggregations.result.buckets.forEach(function (bucket) {
|
|
29
|
+
_this.single.push(new DashboardSingleData(bucket.key, bucket.doc_count));
|
|
30
|
+
});
|
|
31
|
+
this.single = __spread(this.single);
|
|
32
|
+
};
|
|
33
|
+
PieChartCardComponent.ctorParameters = function () { return [
|
|
34
|
+
{ type: Injector },
|
|
35
|
+
{ type: DashboardResourceService },
|
|
36
|
+
{ type: TranslateService },
|
|
37
|
+
{ type: LoggerService }
|
|
38
|
+
]; };
|
|
39
|
+
PieChartCardComponent.decorators = [
|
|
40
|
+
{ type: Component, args: [{
|
|
41
|
+
selector: 'nc-pie-chart-card',
|
|
42
|
+
template: "<mat-card class=\"dashboard-card custom-mat-card\" fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <ngx-charts-pie-chart class=\"custom-chart\"\n [scheme]=\"colorScheme\"\n [results]=\"single\"\n [gradient]=\"gradient\"\n [legend]=\"showLegend\"\n [legendPosition]=\"legendPosition\"\n [labels]=\"showLabels\"\n [doughnut]=\"isDoughnut\"\n (select)=\"onSelect($event)\"\n >\n </ngx-charts-pie-chart>\n</mat-card>\n",
|
|
43
|
+
styles: [".custom-mat-card{padding-left:0;padding-top:0}.dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}"]
|
|
44
|
+
},] }
|
|
45
|
+
];
|
|
46
|
+
PieChartCardComponent.ctorParameters = function () { return [
|
|
47
|
+
{ type: Injector },
|
|
48
|
+
{ type: DashboardResourceService },
|
|
49
|
+
{ type: TranslateService },
|
|
50
|
+
{ type: LoggerService }
|
|
51
|
+
]; };
|
|
52
|
+
PieChartCardComponent.propDecorators = {
|
|
53
|
+
selectEvent: [{ type: Output }]
|
|
54
|
+
};
|
|
55
|
+
return PieChartCardComponent;
|
|
56
|
+
}(AbstractCustomCard));
|
|
57
|
+
export { PieChartCardComponent };
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGllLWNoYXJ0LWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvY2FyZHMvcGllY2hhcnQtY2FyZC9waWUtY2hhcnQtY2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sRUFBQyxrQkFBa0IsRUFBRSxxQkFBcUIsRUFBRSx3QkFBd0IsRUFBRSxtQkFBbUIsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQ2xJLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBQ3JELE9BQU8sRUFBQyxpQkFBaUIsRUFBRSxhQUFhLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUUxRTtJQUsyQyx5Q0FBa0I7SUFNekQsK0JBQXNCLFNBQW1CLEVBQ25CLGVBQXlDLEVBQ3pDLGdCQUFrQyxFQUNsQyxhQUE0QjtRQUhsRCxZQUlJLGtCQUFNLFNBQVMsRUFBRSxlQUFlLEVBQUUsZ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V0ID0+IHtcbiAgICAgICAgICAgIHRoaXMuc2luZ2xlLnB1c2gobmV3IERhc2hib2FyZFNpbmdsZURhdGEoYnVja2V0LmtleSwgYnVja2V0LmRvY19jb3VudCkpO1xuICAgICAgICB9KTtcbiAgICAgICAgdGhpcy5zaW5nbGUgPSBbLi4udGhpcy5zaW5nbGVdO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Component, EventEmitter, Injector, Input, OnInit, Output } from '@angular/core';
|
|
3
|
+
import { AbstractCustomCard, DashboardEventContent, DashboardResourceService } from '@netgrif/components-core';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { AggregationResult, LoggerService } from '@netgrif/components-core';
|
|
6
|
+
var PortalCardComponent = /** @class */ (function (_super) {
|
|
7
|
+
__extends(PortalCardComponent, _super);
|
|
8
|
+
function PortalCardComponent(_injector, resourceService, translateService, loggerService) {
|
|
9
|
+
var _this = _super.call(this, _injector, resourceService, translateService, loggerService) || this;
|
|
10
|
+
_this._injector = _injector;
|
|
11
|
+
_this.resourceService = resourceService;
|
|
12
|
+
_this.translateService = translateService;
|
|
13
|
+
_this.loggerService = loggerService;
|
|
14
|
+
_this.selectEvent = new EventEmitter();
|
|
15
|
+
return _this;
|
|
16
|
+
}
|
|
17
|
+
PortalCardComponent.prototype.ngOnInit = function () {
|
|
18
|
+
this.injectedDashboard = this.componentPortal;
|
|
19
|
+
};
|
|
20
|
+
PortalCardComponent.prototype.onSelect = function (data) {
|
|
21
|
+
this.loggerService.info('Custom dashboard selected.');
|
|
22
|
+
this.selectEvent.emit(data);
|
|
23
|
+
};
|
|
24
|
+
PortalCardComponent.prototype.convertData = function (json) {
|
|
25
|
+
};
|
|
26
|
+
PortalCardComponent.ctorParameters = function () { return [
|
|
27
|
+
{ type: Injector },
|
|
28
|
+
{ type: DashboardResourceService },
|
|
29
|
+
{ type: TranslateService },
|
|
30
|
+
{ type: LoggerService }
|
|
31
|
+
]; };
|
|
32
|
+
PortalCardComponent.decorators = [
|
|
33
|
+
{ type: Component, args: [{
|
|
34
|
+
selector: 'nc-portal-card',
|
|
35
|
+
template: "<ng-template [cdkPortalOutlet]=\"injectedDashboard\">\n</ng-template>\n",
|
|
36
|
+
styles: [".custom-mat-card{padding-left:0;padding-top:0}.dashboard-card{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}.full-size{width:100%;height:100%;margin:0;padding:0}.custom-chart{width:90%;height:90%}"]
|
|
37
|
+
},] }
|
|
38
|
+
];
|
|
39
|
+
PortalCardComponent.ctorParameters = function () { return [
|
|
40
|
+
{ type: Injector },
|
|
41
|
+
{ type: DashboardResourceService },
|
|
42
|
+
{ type: TranslateService },
|
|
43
|
+
{ type: LoggerService }
|
|
44
|
+
]; };
|
|
45
|
+
PortalCardComponent.propDecorators = {
|
|
46
|
+
componentPortal: [{ type: Input }],
|
|
47
|
+
selectEvent: [{ type: Output }]
|
|
48
|
+
};
|
|
49
|
+
return PortalCardComponent;
|
|
50
|
+
}(AbstractCustomCard));
|
|
51
|
+
export { PortalCardComponent };
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9ydGFsLWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvY2FyZHMvcG9ydGFsLWNhcmQvcG9ydGFsLWNhcmQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFlBQVksRUFBRSxRQUFRLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkYsT0FBTyxFQUFDLGtCQUFrQixFQUFFLHFCQUFxQixFQUFFLHd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fVxuXG4gICAgY29udmVydERhdGEoanNvbjogQWdncmVnYXRpb25SZXN1bHQpOiB2b2lkIHtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import { AbstractDashboardContent, LoggerService } from '@netgrif/components-core';
|
|
4
|
+
var DashboardContentComponent = /** @class */ (function (_super) {
|
|
5
|
+
__extends(DashboardContentComponent, _super);
|
|
6
|
+
function DashboardContentComponent(_log) {
|
|
7
|
+
var _this = _super.call(this, _log) || this;
|
|
8
|
+
_this._log = _log;
|
|
9
|
+
return _this;
|
|
10
|
+
}
|
|
11
|
+
DashboardContentComponent.ctorParameters = function () { return [
|
|
12
|
+
{ type: LoggerService }
|
|
13
|
+
]; };
|
|
14
|
+
DashboardContentComponent.decorators = [
|
|
15
|
+
{ type: Component, args: [{
|
|
16
|
+
selector: 'nc-dashboard-content',
|
|
17
|
+
template: "<mat-grid-list [cols]=\"params.columns\" rowHeight=\"210px\">\n <mat-grid-tile *ngFor=\"let card of gridElements\"\n [colspan]=\"card.layout.cols\"\n [rowspan]=\"card.layout.rows\"\n [ngSwitch]=\"card.type\">\n <nc-count-card *ngSwitchCase=\"cardTypes.COUNT\" [card]=\"card.item\" class=\"full-size\"></nc-count-card>\n <nc-iframe-card *ngSwitchCase=\"cardTypes.IFRAME\" [card]=\"card.item\" class=\"full-size\"></nc-iframe-card>\n <nc-pie-chart-card *ngSwitchCase=\"cardTypes.PIE\" [card]=\"card.item\" class=\"full-size\"></nc-pie-chart-card>\n <nc-line-chart-card *ngSwitchCase=\"cardTypes.LINE\" [card]=\"card.item\" class=\"full-size\"></nc-line-chart-card>\n <nc-linear-gauge-card *ngSwitchCase=\"cardTypes.LINEARGAUGE\" [card]=\"card.item\"\n class=\"full-size\"></nc-linear-gauge-card>\n <nc-barchart-card *ngSwitchCase=\"cardTypes.BAR\" [card]=\"card.item\" class=\"full-size\"></nc-barchart-card>\n <nc-portal-card *ngSwitchCase=\"cardTypes.DEFAULT\" [card]=\"card.item\"\n [componentPortal]=\"card.item.portalComponent\" class=\"full-size\"></nc-portal-card>\n <div *ngSwitchCase=\"cardTypes.BLANK\"></div>\n </mat-grid-tile>\n</mat-grid-list>\n",
|
|
18
|
+
styles: [".full-size{width:100%;height:100%;margin:auto;padding:0}"]
|
|
19
|
+
},] }
|
|
20
|
+
];
|
|
21
|
+
DashboardContentComponent.ctorParameters = function () { return [
|
|
22
|
+
{ type: LoggerService }
|
|
23
|
+
]; };
|
|
24
|
+
return DashboardContentComponent;
|
|
25
|
+
}(AbstractDashboardContent));
|
|
26
|
+
export { DashboardContentComponent };
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXNoYm9hcmQvZGFzaGJvYXJkLWNvbnRlbnQvZGFzaGJvYXJkLWNvbnRlbnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hDLE9BQU8sRUFBQyx3QkFBd0IsRUFBRSxhQUFhLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUVqRjtJQUsrQyw2Q0FBd0I7SUFFbkUsbUNBQXNCLElBQW1CO1FBQXpDLFlBQ0ksa0JBQU0sSUFBSSxDQUFDLFNBQ2Q7UUFGcUIsVUFBSSxHQUFKLElBQUksQ0FBZTs7SUFFekMsQ0FBQzs7Z0JBRjJCLGFBQWE7OztnQkFQNUMsU0FBUyxTQUFDO29CQUNQLFFBQVEsRUFBRSxzQkFBc0I7b0JBQ2hDLHV6Q0FBaUQ7O2lCQUVwRDs7O2dCQU5pQyxhQUFhOztJQVkvQyxnQ0FBQztDQUFBLEFBVkQsQ0FLK0Msd0JBQXdCLEdBS3RFO1NBTFkseUJBQXlCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtBYnN0cmFjdERhc2hib2FyZENvbnRlbnQsIExvZ2dlclNlcnZpY2V9IGZyb20gJ0BuZXRncmlmL2NvbXBvbmVudHMtY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbmMtZGFzaGJvYXJkLWNvbnRlbnQnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9kYXNoYm9hcmQtY29udGVudC5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vZGFzaGJvYXJkLWNvbnRlbnQuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBEYXNoYm9hcmRDb250ZW50Q29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3REYXNoYm9hcmRDb250ZW50IHtcblxuICAgIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBfbG9nOiBMb2dnZXJTZXJ2aWNlKSB7XG4gICAgICAgIHN1cGVyKF9sb2cpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CountCardComponent } from './cards/count-card/count-card.component';
|
|
4
|
+
import { IframeCardComponent } from './cards/iframe-card/iframe-card.component';
|
|
5
|
+
import { DashboardContentComponent } from './dashboard-content/dashboard-content.component';
|
|
6
|
+
import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
|
|
7
|
+
import { PieChartCardComponent } from './cards/piechart-card/pie-chart-card.component';
|
|
8
|
+
import { LineChartCardComponent } from './cards/linechart-card/line-chart-card.component';
|
|
9
|
+
import { BarchartCardComponent } from './cards/barchart-card/barchart-card.component';
|
|
10
|
+
import { LinearGaugeCardComponent } from './cards/lineargauge-card/linear-gauge-card.component';
|
|
11
|
+
import { NgxChartsModule } from '@swimlane/ngx-charts';
|
|
12
|
+
import { PortalCardComponent } from './cards/portal-card/portal-card.component';
|
|
13
|
+
var DashboardComponentModule = /** @class */ (function () {
|
|
14
|
+
function DashboardComponentModule() {
|
|
15
|
+
}
|
|
16
|
+
DashboardComponentModule.decorators = [
|
|
17
|
+
{ type: NgModule, args: [{
|
|
18
|
+
declarations: [
|
|
19
|
+
CountCardComponent,
|
|
20
|
+
IframeCardComponent,
|
|
21
|
+
DashboardContentComponent,
|
|
22
|
+
PieChartCardComponent,
|
|
23
|
+
LineChartCardComponent,
|
|
24
|
+
BarchartCardComponent,
|
|
25
|
+
LinearGaugeCardComponent,
|
|
26
|
+
PortalCardComponent
|
|
27
|
+
],
|
|
28
|
+
exports: [
|
|
29
|
+
CountCardComponent,
|
|
30
|
+
IframeCardComponent,
|
|
31
|
+
DashboardContentComponent,
|
|
32
|
+
PieChartCardComponent,
|
|
33
|
+
LineChartCardComponent,
|
|
34
|
+
BarchartCardComponent,
|
|
35
|
+
LinearGaugeCardComponent
|
|
36
|
+
],
|
|
37
|
+
imports: [
|
|
38
|
+
CommonModule,
|
|
39
|
+
MaterialModule,
|
|
40
|
+
TranslateLibModule,
|
|
41
|
+
NgxChartsModule
|
|
42
|
+
]
|
|
43
|
+
},] }
|
|
44
|
+
];
|
|
45
|
+
return DashboardComponentModule;
|
|
46
|
+
}());
|
|
47
|
+
export { DashboardComponentModule };
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvZGFzaGJvYXJkL2Rhc2hib2FyZC5tb2R1bGUudHMiXSwibm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AgIExpbmVhckdhdWdlQ2FyZENvbXBvbmVudFxuICAgIF0sXG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIE1hdGVyaWFsTW9kdWxlLFxuICAgICAgICBUcmFuc2xhdGVMaWJNb2R1bGUsXG4gICAgICAgIE5neENoYXJ0c01vZHVsZVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgRGFzaGJvYXJkQ29tcG9uZW50TW9kdWxlIHtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* COMPONENTS */
|
|
2
|
+
export * from './cards/iframe-card/iframe-card.component';
|
|
3
|
+
export * from './cards/count-card/count-card.component';
|
|
4
|
+
export * from './cards/lineargauge-card/linear-gauge-card.component';
|
|
5
|
+
export * from './cards/piechart-card/pie-chart-card.component';
|
|
6
|
+
export * from './cards/barchart-card/barchart-card.component';
|
|
7
|
+
export * from './cards/portal-card/portal-card.component';
|
|
8
|
+
export * from './cards/linechart-card/line-chart-card.component';
|
|
9
|
+
export * from './dashboard-content/dashboard-content.component';
|
|
10
|
+
/* MODULES */
|
|
11
|
+
export * from './dashboard.module';
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvZGFzaGJvYXJkL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsZ0JBQWdCO0FBQ2hCLGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLHNEQUFzRCxDQUFDO0FBQ3JFLGNBQWMsZ0RBQWdELENBQUM7QUFDL0QsY0FBYywrQ0FBK0MsQ0FBQztBQUM5RCxjQUFjLDJDQUEyQyxDQUFDO0FBQzFELGNBQWMsa0RBQWtELENBQUM7QUFDakUsY0FBYyxpREFBaUQsQ0FBQztBQUVoRSxhQUFhO0FBQ2IsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qIENPTVBPTkVOVFMgKi9cbmV4cG9ydCAqIGZyb20gJy4vY2FyZHMvaWZyYW1lLWNhcmQvaWZyYW1lLWNhcmQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vY2FyZHMvY291bnQtY2FyZC9jb3VudC1jYXJkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NhcmRzL2xpbmVhcmdhdWdlLWNhcmQvbGluZWFyLWdhdWdlLWNhcmQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vY2FyZHMvcGllY2hhcnQtY2FyZC9waWUtY2hhcnQtY2FyZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9jYXJkcy9iYXJjaGFydC1jYXJkL2JhcmNoYXJ0LWNhcmQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vY2FyZHMvcG9ydGFsLWNhcmQvcG9ydGFsLWNhcmQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vY2FyZHMvbGluZWNoYXJ0LWNhcmQvbGluZS1jaGFydC1jYXJkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2Rhc2hib2FyZC1jb250ZW50L2Rhc2hib2FyZC1jb250ZW50LmNvbXBvbmVudCc7XG5cbi8qIE1PRFVMRVMgKi9cbmV4cG9ydCAqIGZyb20gJy4vZGFzaGJvYXJkLm1vZHVsZSc7XG4iXX0=
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
3
|
+
import { AbstractBooleanFieldComponent, BOOLEAN_VALUE_LABEL_ENABLED, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
var BooleanFieldComponent = /** @class */ (function (_super) {
|
|
6
|
+
__extends(BooleanFieldComponent, _super);
|
|
7
|
+
function BooleanFieldComponent(translate, isEnabled, informAboutInvalidData) {
|
|
8
|
+
var _this = _super.call(this, translate, informAboutInvalidData) || this;
|
|
9
|
+
_this.isEnabled = isEnabled;
|
|
10
|
+
_this.valueLabelEnabled = isEnabled;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
BooleanFieldComponent.ctorParameters = function () { return [
|
|
14
|
+
{ type: TranslateService },
|
|
15
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [BOOLEAN_VALUE_LABEL_ENABLED,] }] },
|
|
16
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
17
|
+
]; };
|
|
18
|
+
BooleanFieldComponent.decorators = [
|
|
19
|
+
{ type: Component, args: [{
|
|
20
|
+
selector: 'nc-boolean-field',
|
|
21
|
+
template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [dataFieldTemplate]=\"boolean\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n\n<ng-template #boolean let-showLargeLayout=\"showLargeLayout\">\n <div>\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"true\"></nc-required-label>\n <br></mat-label>\n <mat-slide-toggle color=\"primary\" [formControl]=\"formControl\">\n {{createValueLabel()}}\n </mat-slide-toggle>\n <mat-error *ngIf=\"dataField.isInvalid(formControl)\">{{getErrorMessage()}}</mat-error>\n </div>\n</ng-template>\n",
|
|
22
|
+
styles: [""]
|
|
23
|
+
},] }
|
|
24
|
+
];
|
|
25
|
+
BooleanFieldComponent.ctorParameters = function () { return [
|
|
26
|
+
{ type: TranslateService },
|
|
27
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [BOOLEAN_VALUE_LABEL_ENABLED,] }] },
|
|
28
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
29
|
+
]; };
|
|
30
|
+
return BooleanFieldComponent;
|
|
31
|
+
}(AbstractBooleanFieldComponent));
|
|
32
|
+
export { BooleanFieldComponent };
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9vbGVhbi1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZmllbGRzL2Jvb2xlYW4tZmllbGQvYm9vbGVhbi1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQUMsNkJBQTZCLEVBQUUsMkJBQTJCLEVBQUUsNkJBQTZCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUNuSSxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUVyRDtJQUsyQyx5Q0FBNkI7SUFHcEUsK0JBQVksU0FBMkIsRUFDZ0MsU0FBa0IsRUFDMUIsc0JBQXNDO1FBRnJHLFlBR0ksa0JBQU0sU0FBUyxFQUFFLHNCQUFzQixDQUFDLFNBRTNDO1FBSnNFLGVBQVMsR0FBVCxTQUFTLENBQVM7UUFHckYsS0FBSSxDQUFDLGlCQUFpQixHQUFHLFNBQVMsQ0FBQzs7SUFDdkMsQ0FBQzs7Z0JBTHNCLGdCQUFnQjs4Q0FDMUIsUUFBUSxZQUFJLE1BQU0sU0FBQywyQkFBMkI7Z0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W5zbGF0ZVNlcnZpY2UsXG4gICAgICAgICAgICAgICAgQE9wdGlvbmFsKCkgQEluamVjdChCT09MRUFOX1ZBTFVFX0xBQkVMX0VOQUJMRUQpIHByb3RlY3RlZCBpc0VuYWJsZWQ6IGJvb2xlYW4sXG4gICAgICAgICAgICAgICAgQE9wdGlvbmFsKCkgQEluamVjdChOQUVfSU5GT1JNX0FCT1VUX0lOVkFMSURfREFUQSkgaW5mb3JtQWJvdXRJbnZhbGlkRGF0YTogYm9vbGVhbiB8IG51bGwpIHtcbiAgICAgICAgc3VwZXIodHJhbnNsYXRlLCBpbmZvcm1BYm91dEludmFsaWREYXRhKTtcbiAgICAgICAgdGhpcy52YWx1ZUxhYmVsRW5hYmxlZCA9IGlzRW5hYmxlZDtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { AbstractButtonFieldComponent, NAE_INFORM_ABOUT_INVALID_DATA, DialogService } from '@netgrif/components-core';
|
|
5
|
+
var ButtonFieldComponent = /** @class */ (function (_super) {
|
|
6
|
+
__extends(ButtonFieldComponent, _super);
|
|
7
|
+
function ButtonFieldComponent(translate, dialogService, informAboutInvalidData) {
|
|
8
|
+
var _this = _super.call(this, translate, dialogService, informAboutInvalidData) || this;
|
|
9
|
+
_this.dialogService = dialogService;
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
ButtonFieldComponent.ctorParameters = function () { return [
|
|
13
|
+
{ type: TranslateService },
|
|
14
|
+
{ type: DialogService },
|
|
15
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
16
|
+
]; };
|
|
17
|
+
ButtonFieldComponent.decorators = [
|
|
18
|
+
{ type: Component, args: [{
|
|
19
|
+
selector: 'nc-button-field',
|
|
20
|
+
template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [dataFieldTemplate]=\"button\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n\n<ng-template #button let-showLargeLayout=\"showLargeLayout\">\n <div>\n <mat-label *ngIf=\"!showLargeLayout.value\">\n {{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!dataField.disabled\"></nc-required-label>\n <br>\n </mat-label>\n <button mat-button\n [ngClass]=\"{\n 'mat-raised-button': resolveComponentType() === 'raised',\n 'mat-stroked-button': resolveComponentType() === 'stroked',\n 'mat-flat-button': resolveComponentType() === 'flat',\n 'mat-icon-button': resolveComponentType() === 'icon',\n 'mat-fab': resolveComponentType() === 'fab',\n 'mat-mini-fab': resolveComponentType() === 'minifab'}\"\n color=\"primary\"\n [matTooltip]=\"dataField.description\"\n [disabled]=\"formControl.disabled || dataField.waitingForResponse\"\n (click)=\"resolveValue()\">\n <div class=\"grid-wrapper\">\n <mat-icon *ngIf=\"dataField.waitingForResponse\" class=\"grid-1-1 margin-auto\" >\n <mat-spinner color=\"warn\" diameter=\"22\"></mat-spinner>\n </mat-icon>\n <div [ngClass]=\"{'label-waiting': dataField.waitingForResponse}\" class=\"grid-1-1\">\n {{(dataField.placeholder === undefined || dataField.placeholder === '') ? dataField.title : (isIconTypeButton() ? '' : dataField.placeholder) }}\n </div>\n <mat-icon class=\"grid-1-1\"\n *ngIf=\"isIconTypeButton() && !dataField.waitingForResponse\">{{dataField.placeholder}}</mat-icon>\n </div>\n </button>\n\n <mat-error *ngIf=\"dataField.isInvalid(formControl)\">{{getErrorMessage()}}</mat-error>\n </div>\n</ng-template>\n",
|
|
21
|
+
styles: [".label-waiting{opacity:0}.grid-wrapper{display:-ms-grid;display:grid;place-items:center}.grid-1-1{-ms-grid-column:1;grid-column:1;-ms-grid-row:1;grid-row:1}.margin-auto{margin:0 auto}"]
|
|
22
|
+
},] }
|
|
23
|
+
];
|
|
24
|
+
ButtonFieldComponent.ctorParameters = function () { return [
|
|
25
|
+
{ type: TranslateService },
|
|
26
|
+
{ type: DialogService },
|
|
27
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
28
|
+
]; };
|
|
29
|
+
return ButtonFieldComponent;
|
|
30
|
+
}(AbstractButtonFieldComponent));
|
|
31
|
+
export { ButtonFieldComponent };
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvZGF0YS1maWVsZHMvYnV0dG9uLWZpZWxkL2J1dHRvbi1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUNyRCxPQUFPLEVBQUMsNEJBQTRCLEVBQUUsNkJBQTZCLEVBQUUsYUFBYSxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFFcEg7SUFLMEMsd0NBQTRCO0lBRWxFLDhCQUFZLFNBQTJCLEVBQ2pCLGFBQTRCLEVBQ2Esc0JBQXNDO1FBRnJHLFlBR0ksa0JBQU0sU0FBUyxFQUFHLGFBQWEsRUFBRSxzQkFBc0IsQ0FBQyxTQUMzRDtRQUhxQixtQkFBYSxHQUFiLGFBQWEsQ0FBZTs7SUFHbEQsQ0FBQzs7Z0JBSnNCLGdCQUFnQjtnQkFDRixhQUFhO2dEQUNyQyxRQUFRLFlBQUksTUFBTSxTQUFDLDZCQUE2Qjs7O2dCQVRoRSx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JPVVRfSU5WQUxJRF9EQVRBKSBpbmZvcm1BYm91dEludmFsaWREYXRhOiBib29sZWFuIHwgbnVsbCkge1xuICAgICAgICBzdXBlcih0cmFuc2xhdGUsICBkaWFsb2dTZXJ2aWNlLCBpbmZvcm1BYm91dEludmFsaWREYXRhKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import { AbstractDataFieldTemplateComponent, PaperViewService, ConfigurationService } from '@netgrif/components-core';
|
|
4
|
+
var DataFieldTemplateComponent = /** @class */ (function (_super) {
|
|
5
|
+
__extends(DataFieldTemplateComponent, _super);
|
|
6
|
+
function DataFieldTemplateComponent(_paperView, _config) {
|
|
7
|
+
var _this = _super.call(this, _paperView, _config) || this;
|
|
8
|
+
_this._paperView = _paperView;
|
|
9
|
+
_this._config = _config;
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
DataFieldTemplateComponent.ctorParameters = function () { return [
|
|
13
|
+
{ type: PaperViewService },
|
|
14
|
+
{ type: ConfigurationService }
|
|
15
|
+
]; };
|
|
16
|
+
DataFieldTemplateComponent.decorators = [
|
|
17
|
+
{ type: Component, args: [{
|
|
18
|
+
selector: 'nc-data-field-template',
|
|
19
|
+
template: "<div class=\"fill-all-space\" #dataFieldContainer>\n\n <!-- Large layout -->\n <ng-template [ngIf]=\"evaluateTemplateCondition()\" [ngIfElse]=\"elseTemplate\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"fill-all-space\" [ngClass]=\"{'padding-16px': isPaperView(), 'padding-32px': !isPaperView()}\">\n <div fxFlex=\"{{offset}}\"></div>\n <div fxFlex=\"{{47.5 - offset}}\" class=\"cell-padding\">\n <span class=\"data-field-title\" [matTooltip]=\"dataField.description\">{{dataField.title}}<nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"true\"></nc-required-label></span>\n </div>\n <div fxFlex=\"5\"></div>\n <div fxFlex=\"{{47.5 - offset}}\" class=\"cell-padding\">\n <ng-container *ngTemplateOutlet=\"dataFieldTemplate; context: {'showLargeLayout':showLargeLayout}\"></ng-container>\n </div>\n <div fxFlex=\"{{offset}}\"></div>\n </div>\n </ng-template>\n\n <!-- Small layout -->\n <ng-template #elseTemplate>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"fill-all-space padding-16px\">\n <div fxFlex=\"{{offset}}\"></div>\n <div fxFlex=\"{{100 - (2 * offset)}}\" class=\"cell-padding\">\n <ng-container *ngTemplateOutlet=\"dataFieldTemplate; context: {'showLargeLayout':showLargeLayout}\"></ng-container>\n </div>\n <div fxFlex=\"{{offset}}\"></div>\n </div>\n </ng-template>\n</div>\n",
|
|
20
|
+
styles: [".data-field-title{font-size:16px;font-weight:400}.fill-all-space{min-width:100%;padding:0;margin:0 auto}.cell-padding{margin:0;padding:8px}.padding-16px{padding:0 16px}.padding-32px{padding:0 32px}"]
|
|
21
|
+
},] }
|
|
22
|
+
];
|
|
23
|
+
DataFieldTemplateComponent.ctorParameters = function () { return [
|
|
24
|
+
{ type: PaperViewService },
|
|
25
|
+
{ type: ConfigurationService }
|
|
26
|
+
]; };
|
|
27
|
+
return DataFieldTemplateComponent;
|
|
28
|
+
}(AbstractDataFieldTemplateComponent));
|
|
29
|
+
export { DataFieldTemplateComponent };
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1maWVsZC10ZW1wbGF0ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZmllbGRzL2RhdGEtZmllbGQtdGVtcGxhdGUvZGF0YS1maWVsZC10ZW1wbGF0ZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQ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