@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,44 @@
|
|
|
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
|
+
export class DashboardComponentModule {
|
|
14
|
+
}
|
|
15
|
+
DashboardComponentModule.decorators = [
|
|
16
|
+
{ type: NgModule, args: [{
|
|
17
|
+
declarations: [
|
|
18
|
+
CountCardComponent,
|
|
19
|
+
IframeCardComponent,
|
|
20
|
+
DashboardContentComponent,
|
|
21
|
+
PieChartCardComponent,
|
|
22
|
+
LineChartCardComponent,
|
|
23
|
+
BarchartCardComponent,
|
|
24
|
+
LinearGaugeCardComponent,
|
|
25
|
+
PortalCardComponent
|
|
26
|
+
],
|
|
27
|
+
exports: [
|
|
28
|
+
CountCardComponent,
|
|
29
|
+
IframeCardComponent,
|
|
30
|
+
DashboardContentComponent,
|
|
31
|
+
PieChartCardComponent,
|
|
32
|
+
LineChartCardComponent,
|
|
33
|
+
BarchartCardComponent,
|
|
34
|
+
LinearGaugeCardComponent
|
|
35
|
+
],
|
|
36
|
+
imports: [
|
|
37
|
+
CommonModule,
|
|
38
|
+
MaterialModule,
|
|
39
|
+
TranslateLibModule,
|
|
40
|
+
NgxChartsModule
|
|
41
|
+
]
|
|
42
|
+
},] }
|
|
43
|
+
];
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvZGFzaGJvYXJkL2Rhc2hib2FyZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQ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xlLFxuICAgICAgICBUcmFuc2xhdGVMaWJNb2R1bGUsXG4gICAgICAgIE5neENoYXJ0c01vZHVsZVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgRGFzaGJvYXJkQ29tcG9uZW50TW9kdWxlIHtcbn1cbiJdfQ==
|
|
@@ -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,28 @@
|
|
|
1
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { AbstractBooleanFieldComponent, BOOLEAN_VALUE_LABEL_ENABLED, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
export class BooleanFieldComponent extends AbstractBooleanFieldComponent {
|
|
5
|
+
constructor(translate, isEnabled, informAboutInvalidData) {
|
|
6
|
+
super(translate, informAboutInvalidData);
|
|
7
|
+
this.isEnabled = isEnabled;
|
|
8
|
+
this.valueLabelEnabled = isEnabled;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
BooleanFieldComponent.ctorParameters = () => [
|
|
12
|
+
{ type: TranslateService },
|
|
13
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [BOOLEAN_VALUE_LABEL_ENABLED,] }] },
|
|
14
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
15
|
+
];
|
|
16
|
+
BooleanFieldComponent.decorators = [
|
|
17
|
+
{ type: Component, args: [{
|
|
18
|
+
selector: 'nc-boolean-field',
|
|
19
|
+
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",
|
|
20
|
+
styles: [""]
|
|
21
|
+
},] }
|
|
22
|
+
];
|
|
23
|
+
BooleanFieldComponent.ctorParameters = () => [
|
|
24
|
+
{ type: TranslateService },
|
|
25
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [BOOLEAN_VALUE_LABEL_ENABLED,] }] },
|
|
26
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWx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1xuICAgICAgICB0aGlzLnZhbHVlTGFiZWxFbmFibGVkID0gaXNFbmFibGVkO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { AbstractButtonFieldComponent, NAE_INFORM_ABOUT_INVALID_DATA, DialogService } from '@netgrif/components-core';
|
|
4
|
+
export class ButtonFieldComponent extends AbstractButtonFieldComponent {
|
|
5
|
+
constructor(translate, dialogService, informAboutInvalidData) {
|
|
6
|
+
super(translate, dialogService, informAboutInvalidData);
|
|
7
|
+
this.dialogService = dialogService;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
ButtonFieldComponent.ctorParameters = () => [
|
|
11
|
+
{ type: TranslateService },
|
|
12
|
+
{ type: DialogService },
|
|
13
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
14
|
+
];
|
|
15
|
+
ButtonFieldComponent.decorators = [
|
|
16
|
+
{ type: Component, args: [{
|
|
17
|
+
selector: 'nc-button-field',
|
|
18
|
+
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",
|
|
19
|
+
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}"]
|
|
20
|
+
},] }
|
|
21
|
+
];
|
|
22
|
+
ButtonFieldComponent.ctorParameters = () => [
|
|
23
|
+
{ type: TranslateService },
|
|
24
|
+
{ type: DialogService },
|
|
25
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
26
|
+
];
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvZGF0YS1maWVsZHMvYnV0dG9uLWZpZWxkL2J1dHRvbi1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkF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tcbiAgICBzZWxlY3RvcjogJ25jLWJ1dHRvbi1maWVsZCcsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2J1dHRvbi1maWVsZC5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmxzOiBbJy4vYnV0dG9uLWZpZWxkLmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgQnV0dG9uRmllbGRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdEJ1dHRvbkZpZWxkQ29tcG9uZW50IHtcblxuICAgIGNvbnN0cnVjdG9yKHRyYW5zbGF0ZTogVHJhbnNsYXRlU2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgZGlhbG9nU2VydmljZTogRGlhbG9nU2VydmljZSxcbiAgICAgICAgICAgICAgICBAT3B0aW9uYWwoKSBASW5qZWN0KE5BRV9JTkZPUk1fQUJPVVRfSU5WQUxJRF9EQVRBKSBpbmZvcm1BYm91dEludmFsaWREYXRhOiBib29sZWFuIHwgbnVsbCkge1xuICAgICAgICBzdXBlcih0cmFuc2xhdGUsICBkaWFsb2dTZXJ2aWNlLCBpbmZvcm1BYm91dEludmFsaWREYXRhKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractDataFieldTemplateComponent, PaperViewService, ConfigurationService } from '@netgrif/components-core';
|
|
3
|
+
export class DataFieldTemplateComponent extends AbstractDataFieldTemplateComponent {
|
|
4
|
+
constructor(_paperView, _config) {
|
|
5
|
+
super(_paperView, _config);
|
|
6
|
+
this._paperView = _paperView;
|
|
7
|
+
this._config = _config;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
DataFieldTemplateComponent.ctorParameters = () => [
|
|
11
|
+
{ type: PaperViewService },
|
|
12
|
+
{ type: ConfigurationService }
|
|
13
|
+
];
|
|
14
|
+
DataFieldTemplateComponent.decorators = [
|
|
15
|
+
{ type: Component, args: [{
|
|
16
|
+
selector: 'nc-data-field-template',
|
|
17
|
+
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",
|
|
18
|
+
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}"]
|
|
19
|
+
},] }
|
|
20
|
+
];
|
|
21
|
+
DataFieldTemplateComponent.ctorParameters = () => [
|
|
22
|
+
{ type: PaperViewService },
|
|
23
|
+
{ type: ConfigurationService }
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingUR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Q29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ25jLWRhdGEtZmllbGQtdGVtcGxhdGUnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9kYXRhLWZpZWxkLXRlbXBsYXRlLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9kYXRhLWZpZWxkLXRlbXBsYXRlLmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgRGF0YUZpZWxkVGVtcGxhdGVDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdERhdGFGaWVsZFRlbXBsYXRlQ29tcG9uZW50IHtcblxuICAgIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBfcGFwZXJWaWV3OiBQYXBlclZpZXdTZXJ2aWNlLCBwcm90ZWN0ZWQgX2NvbmZpZzogQ29uZmlndXJhdGlvblNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIoX3BhcGVyVmlldywgX2NvbmZpZyk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
4
|
+
import { MaterialModule, CovalentModule, TranslateLibModule, CustomDateAdapter, CurrencyModule } from '@netgrif/components-core';
|
|
5
|
+
import { AngularResizedEventModule } from 'angular-resize-event';
|
|
6
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import { NgxMatDatetimePickerModule } from '@angular-material-components/datetime-picker';
|
|
9
|
+
import { NgxMatMomentModule } from '@angular-material-components/moment-adapter';
|
|
10
|
+
import { BooleanFieldComponent } from './boolean-field/boolean-field.component';
|
|
11
|
+
import { ButtonFieldComponent } from './button-field/button-field.component';
|
|
12
|
+
import { DateAdapter } from '@angular/material/core';
|
|
13
|
+
import { DataFieldTemplateComponent } from './data-field-template/data-field-template.component';
|
|
14
|
+
import { DateFieldComponent } from './date-field/date-field.component';
|
|
15
|
+
import { DateTimeFieldComponent } from './date-time-field/date-time-field.component';
|
|
16
|
+
import { EnumerationFieldComponent } from './enumeration-field/enumeration-field.component';
|
|
17
|
+
import { EnumerationAutocompleteSelectFieldComponent } from './enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component';
|
|
18
|
+
import { EnumerationSelectFieldComponent } from './enumeration-field/enumeration-select-field/enumeration-select-field.component';
|
|
19
|
+
import { EnumerationListFieldComponent } from './enumeration-field/enumeration-list-field/enumeration-list-field.component';
|
|
20
|
+
import { FileFieldComponent } from './file-field/file-field.component';
|
|
21
|
+
import { FileListFieldComponent } from './file-field-list/file-list-field.component';
|
|
22
|
+
import { MultichoiceFieldComponent } from './multichoice-field/multichoice-field.component';
|
|
23
|
+
import { MultichoiceSelectFieldComponent } from './multichoice-field/multichoice-select-field/multichoice-select-field.component';
|
|
24
|
+
import { MultichoiceListFieldComponent } from './multichoice-field/multichoice-list-field/multichoice-list-field.component';
|
|
25
|
+
import { NumberFieldComponent } from './number-field/number-field.component';
|
|
26
|
+
import { TextFieldComponent } from './text-field/text-field.component';
|
|
27
|
+
import { TextareaFieldComponent } from './text-field/textarea-field/textarea-field.component';
|
|
28
|
+
import { RichTextareaFieldComponent } from './text-field/rich-textarea-field/rich-textarea-field.component';
|
|
29
|
+
import { SimpleTextFieldComponent } from './text-field/simple-text-field/simple-text-field.component';
|
|
30
|
+
import { UserFieldComponent } from './user-field/user-field.component';
|
|
31
|
+
import { RequiredLabelComponent } from './required-label/required-label.component';
|
|
32
|
+
import { HtmlTextareaFieldComponent } from './text-field/html-textarea-field/html-textarea-field.component';
|
|
33
|
+
import { QuillModule } from 'ngx-quill';
|
|
34
|
+
import { NumberCurrencyFieldComponent } from './number-field/number-currency-field/number-currency-field.component';
|
|
35
|
+
import { NumberDefaultFieldComponent } from './number-field/number-default-field/number-default-field.component';
|
|
36
|
+
import { PasswordTextFieldComponent } from './text-field/password-text-field/password-text-field.component';
|
|
37
|
+
import { PreviewDialogComponent } from './file-field/preview-dialog/preview-dialog.component';
|
|
38
|
+
import { MatDialogModule } from '@angular/material/dialog';
|
|
39
|
+
import { EnumerationStepperFieldComponent } from './enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component';
|
|
40
|
+
import { EnumerationIconFieldComponent } from './enumeration-field/enumeration-icon-field/enumeration-icon-field.component';
|
|
41
|
+
import { EnumerationAutocompleteDynamicFieldComponent } from './enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component';
|
|
42
|
+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
43
|
+
import { FilterFieldComponent } from './filter-field/filter-field.component';
|
|
44
|
+
import { FilterFieldContentComponent } from './filter-field/filter-field-content/filter-field-content.component';
|
|
45
|
+
import { AdvancedSearchComponentModule } from '../search/advanced-search/advanced-search.module';
|
|
46
|
+
import { SideMenuUserAssignComponentModule } from '../side-menu/content-components/user-assign/side-menu-user-assign-component.module';
|
|
47
|
+
import { I18nFieldComponent } from './i18n-field/i18n-field.component';
|
|
48
|
+
import { I18nDividerFieldComponent } from './i18n-field/i18n-divider-field/i18n-divider-field.component';
|
|
49
|
+
import { I18nTextFieldComponent } from './i18n-field/i18n-text-field/i18n-text-field.component';
|
|
50
|
+
export class DataFieldsComponentModule {
|
|
51
|
+
}
|
|
52
|
+
DataFieldsComponentModule.decorators = [
|
|
53
|
+
{ type: NgModule, args: [{
|
|
54
|
+
declarations: [
|
|
55
|
+
BooleanFieldComponent,
|
|
56
|
+
ButtonFieldComponent,
|
|
57
|
+
DataFieldTemplateComponent,
|
|
58
|
+
DateFieldComponent,
|
|
59
|
+
DateTimeFieldComponent,
|
|
60
|
+
EnumerationFieldComponent,
|
|
61
|
+
EnumerationAutocompleteSelectFieldComponent,
|
|
62
|
+
EnumerationSelectFieldComponent,
|
|
63
|
+
EnumerationListFieldComponent,
|
|
64
|
+
FileFieldComponent,
|
|
65
|
+
FileListFieldComponent,
|
|
66
|
+
MultichoiceFieldComponent,
|
|
67
|
+
MultichoiceSelectFieldComponent,
|
|
68
|
+
MultichoiceListFieldComponent,
|
|
69
|
+
NumberFieldComponent,
|
|
70
|
+
TextFieldComponent,
|
|
71
|
+
TextareaFieldComponent,
|
|
72
|
+
RichTextareaFieldComponent,
|
|
73
|
+
SimpleTextFieldComponent,
|
|
74
|
+
UserFieldComponent,
|
|
75
|
+
RequiredLabelComponent,
|
|
76
|
+
HtmlTextareaFieldComponent,
|
|
77
|
+
PasswordTextFieldComponent,
|
|
78
|
+
NumberCurrencyFieldComponent,
|
|
79
|
+
NumberDefaultFieldComponent,
|
|
80
|
+
PreviewDialogComponent,
|
|
81
|
+
NumberDefaultFieldComponent,
|
|
82
|
+
EnumerationStepperFieldComponent,
|
|
83
|
+
EnumerationIconFieldComponent,
|
|
84
|
+
EnumerationAutocompleteDynamicFieldComponent,
|
|
85
|
+
FilterFieldComponent,
|
|
86
|
+
FilterFieldContentComponent,
|
|
87
|
+
I18nFieldComponent,
|
|
88
|
+
I18nDividerFieldComponent,
|
|
89
|
+
I18nTextFieldComponent,
|
|
90
|
+
],
|
|
91
|
+
exports: [
|
|
92
|
+
BooleanFieldComponent,
|
|
93
|
+
ButtonFieldComponent,
|
|
94
|
+
DataFieldTemplateComponent,
|
|
95
|
+
DateFieldComponent,
|
|
96
|
+
DateTimeFieldComponent,
|
|
97
|
+
EnumerationFieldComponent,
|
|
98
|
+
FileFieldComponent,
|
|
99
|
+
FileListFieldComponent,
|
|
100
|
+
MultichoiceFieldComponent,
|
|
101
|
+
NumberFieldComponent,
|
|
102
|
+
TextFieldComponent,
|
|
103
|
+
UserFieldComponent,
|
|
104
|
+
FilterFieldComponent,
|
|
105
|
+
I18nFieldComponent
|
|
106
|
+
],
|
|
107
|
+
imports: [
|
|
108
|
+
CommonModule,
|
|
109
|
+
FlexLayoutModule,
|
|
110
|
+
MaterialModule,
|
|
111
|
+
CovalentModule,
|
|
112
|
+
AngularResizedEventModule,
|
|
113
|
+
HttpClientModule,
|
|
114
|
+
ReactiveFormsModule,
|
|
115
|
+
NgxMatDatetimePickerModule,
|
|
116
|
+
NgxMatMomentModule,
|
|
117
|
+
TranslateLibModule,
|
|
118
|
+
SideMenuUserAssignComponentModule,
|
|
119
|
+
QuillModule.forRoot(),
|
|
120
|
+
MatDialogModule,
|
|
121
|
+
AdvancedSearchComponentModule,
|
|
122
|
+
MatProgressSpinnerModule,
|
|
123
|
+
CurrencyModule
|
|
124
|
+
],
|
|
125
|
+
providers: [
|
|
126
|
+
{ provide: DateAdapter, useClass: CustomDateAdapter }
|
|
127
|
+
],
|
|
128
|
+
entryComponents: [
|
|
129
|
+
PreviewDialogComponent,
|
|
130
|
+
FilterFieldContentComponent
|
|
131
|
+
]
|
|
132
|
+
},] }
|
|
133
|
+
];
|
|
134
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1maWVsZHMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXRhLWZpZWxkcy9kYXRhLWZpZWxkcy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDdEQsT0FBTyxFQUNILGNBQWMsRUFDZCxjQUFjLEVBQ2Qsa0JBQWtCLEVBQ2xCLGlCQUFpQixFQUNqQixjQUFjLEVBQ2pCLE1BQU0sMEJBQTBCLENBQUM7QUFDbEMsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFD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21wb25lbnQsXG4gICAgICAgIEVudW1lcmF0aW9uTGlzdEZpZWxkQ29tcG9uZW50LFxuICAgICAgICBGaWxlRmllbGRDb21wb25lbnQsXG4gICAgICAgIEZpbGVMaXN0RmllbGRDb21wb25lbnQsXG4gICAgICAgIE11bHRpY2hvaWNlRmllbGRDb21wb25lbnQsXG4gICAgICAgIE11bHRpY2hvaWNlU2VsZWN0RmllbGRDb21wb25lbnQsXG4gICAgICAgIE11bHRpY2hvaWNlTGlzdEZpZWxkQ29tcG9uZW50LFxuICAgICAgICBOdW1iZXJGaWVsZENvbXBvbmVudCxcbiAgICAgICAgVGV4dEZpZWxkQ29tcG9uZW50LFxuICAgICAgICBUZXh0YXJlYUZpZWxkQ29tcG9uZW50LFxuICAgICAgICBSaWNoVGV4dGFyZWFGaWVsZENvbXBvbmVudCxcbiAgICAgICAgU2ltcGxlVGV4dEZpZWxkQ29tcG9uZW50LFxuICAgICAgICBVc2VyRmllbGRDb21wb25lbnQsXG4gICAgICAgIFJlcXVpcmVkTGFiZWxDb21wb25lbnQsXG4gICAgICAgIEh0bWxUZXh0YXJlYUZpZWxkQ29tcG9uZW50LFxuICAgICAgICBQYXNzd29yZFRleHRGaWVsZENvbXBvbmVudCxcbiAgICAgICAgTnVtYmVyQ3VycmVuY3lGaWVsZENvbXBvbmVudCxcbiAgICAgICAgTnVtYmVyRGVmYXVsdEZpZWxkQ29tcG9uZW50LFxuICAgICAgICBQcmV2aWV3RGlhbG9nQ29tcG9uZW50LFxuICAgICAgICBOdW1iZXJEZWZhdWx0RmllbGRDb21wb25lbnQsXG4gICAgICAgIEVudW1lcmF0aW9uU3RlcHBlckZpZWxkQ29tcG9uZW50LFxuICAgICAgICBFbnVtZXJhdGlvbkljb25GaWVsZENvbXBvbmVudCxcbiAgICAgICAgRW51bWVyYXRpb25BdXRvY29tcGxldGVEeW5hbWljRmllbGRDb21wb25lbnQsXG4gICAgICAgIEZpbHRlckZpZWxkQ29tcG9uZW50LFxuICAgICAgICBGaWx0ZXJGaWVsZENvbnRlbnRDb21wb25lbnQsXG4gICAgICAgIEkxOG5GaWVsZENvbXBvbmVudCxcbiAgICAgICAgSTE4bkRpdmlkZXJGaWVsZENvbXBvbmVudCxcbiAgICAgICAgSTE4blRleHRGaWVsZENvbXBvbmVudCxcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgQm9vbGVhbkZpZWxkQ29tcG9uZW50LFxuICAgICAgICBCdXR0b25GaWVsZENvbXBvbmVudCxcbiAgICAgICAgRGF0YUZpZWxkVGVtcGxhdGVDb21wb25lbnQsXG4gICAgICAgIERhdGVGaWVsZENvbXBvbmVudCxcbiAgICAgICAgRGF0ZVRpbWVGaWVsZENvbXBvbmVudCxcbiAgICAgICAgRW51bWVyYXRpb25GaWVsZENvbXBvbmVudCxcbiAgICAgICAgRmlsZUZpZWxkQ29tcG9uZW50LFxuICAgICAgICBGaWxlTGlzdEZpZWxkQ29tcG9uZW50LFxuICAgICAgICBNdWx0aWNob2ljZUZpZWxkQ29tcG9uZW50LFxuICAgICAgICBOdW1iZXJGaWVsZENvbXBvbmVudCxcbiAgICAgICAgVGV4dEZpZWxkQ29tcG9uZW50LFxuICAgICAgICBVc2VyRmllbGRDb21wb25lbnQsXG4gICAgICAgIEZpbHRlckZpZWxkQ29tcG9uZW50LFxuICAgICAgICBJMThuRmllbGRDb21wb25lbnRcbiAgICBdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBGbGV4TGF5b3V0TW9kdWxlLFxuICAgICAgICBNYXRlcmlhbE1vZHVsZSxcbiAgICAgICAgQ292YWxlbnRNb2R1bGUsXG4gICAgICAgIEFuZ3VsYXJSZXNpemVkRXZlbnRNb2R1bGUsXG4gICAgICAgIEh0dHBDbGllbnRNb2R1bGUsXG4gICAgICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXG4gICAgICAgIE5neE1hdERhdGV0aW1lUGlja2VyTW9kdWxlLFxuICAgICAgICBOZ3hNYXRNb21lbnRNb2R1bGUsXG4gICAgICAgIFRyYW5zbGF0ZUxpYk1vZHVsZSxcbiAgICAgICAgU2lkZU1lbnVVc2VyQXNzaWduQ29tcG9uZW50TW9kdWxlLFxuICAgICAgICBRdWlsbE1vZHVsZS5mb3JSb290KCksXG4gICAgICAgIE1hdERpYWxvZ01vZHVsZSxcbiAgICAgICAgQWR2YW5jZWRTZWFyY2hDb21wb25lbnRNb2R1bGUsXG4gICAgICAgIE1hdFByb2dyZXNzU3Bpbm5lck1vZHVsZSxcbiAgICAgICAgQ3VycmVuY3lNb2R1bGVcbiAgICBdLFxuICAgIHByb3ZpZGVyczogW1xuICAgICAgICB7cHJvdmlkZTogRGF0ZUFkYXB0ZXIsIHVzZUNsYXNzOiBDdXN0b21EYXRlQWRhcHRlcn1cbiAgICBdLFxuICAgIGVudHJ5Q29tcG9uZW50czogW1xuICAgICAgICBQcmV2aWV3RGlhbG9nQ29tcG9uZW50LFxuICAgICAgICBGaWx0ZXJGaWVsZENvbnRlbnRDb21wb25lbnRcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIERhdGFGaWVsZHNDb21wb25lbnRNb2R1bGUge1xufVxuIl19
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { MAT_DATE_FORMATS } from '@angular/material/core';
|
|
3
|
+
import { AbstractDateFieldComponent, DATE_FORMAT, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
const ɵ0 = DATE_FORMAT;
|
|
6
|
+
export class DateFieldComponent extends AbstractDateFieldComponent {
|
|
7
|
+
constructor(translate, informAboutInvalidData) {
|
|
8
|
+
super(translate, informAboutInvalidData);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
DateFieldComponent.ctorParameters = () => [
|
|
12
|
+
{ type: TranslateService },
|
|
13
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
14
|
+
];
|
|
15
|
+
DateFieldComponent.decorators = [
|
|
16
|
+
{ type: Component, args: [{
|
|
17
|
+
selector: 'nc-date-field',
|
|
18
|
+
template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [dataFieldTemplate]=\"date\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n\n<ng-template #date let-showLargeLayout=\"showLargeLayout\">\n <mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <input matInput\n [matDatepicker]=\"datepicker\"\n [required]=\"dataField.behavior.required\"\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControl\"\n (click)=\"datepicker.open()\"\n [min]=\"dataField.min\"\n [max]=\"dataField.max\"\n (keydown.enter)=\"datepicker.close()\">\n <mat-datepicker-toggle matPrefix [for]=\"datepicker\"></mat-datepicker-toggle>\n <mat-datepicker #datepicker></mat-datepicker>\n <mat-hint>{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControl)\">{{getErrorMessage()}}</mat-error>\n </mat-form-field>\n</ng-template>\n",
|
|
19
|
+
providers: [
|
|
20
|
+
{ provide: MAT_DATE_FORMATS, useValue: ɵ0 }
|
|
21
|
+
],
|
|
22
|
+
styles: [".full-width{display:block;margin:0 auto;width:100%}"]
|
|
23
|
+
},] }
|
|
24
|
+
];
|
|
25
|
+
DateFieldComponent.ctorParameters = () => [
|
|
26
|
+
{ type: TranslateService },
|
|
27
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
28
|
+
];
|
|
29
|
+
export { ɵ0 };
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { NGX_MAT_DATE_FORMATS } from '@angular-material-components/datetime-picker';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { AbstractDateTimeFieldComponent, DATE_TIME_FORMAT, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
|
|
5
|
+
const ɵ0 = DATE_TIME_FORMAT;
|
|
6
|
+
export class DateTimeFieldComponent extends AbstractDateTimeFieldComponent {
|
|
7
|
+
constructor(translate, informAboutInvalidData) {
|
|
8
|
+
super(translate, informAboutInvalidData);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
DateTimeFieldComponent.ctorParameters = () => [
|
|
12
|
+
{ type: TranslateService },
|
|
13
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
14
|
+
];
|
|
15
|
+
DateTimeFieldComponent.decorators = [
|
|
16
|
+
{ type: Component, args: [{
|
|
17
|
+
selector: 'nc-date-time-field',
|
|
18
|
+
template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [dataFieldTemplate]=\"fieldTemplate\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n\n<ng-template #fieldTemplate let-showLargeLayout=\"showLargeLayout\">\n <mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <input matInput\n [ngxMatDatetimePicker]=\"picker\"\n [required]=\"dataField.behavior.required\"\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControl\"\n [min]=\"dataField.min\"\n [max]=\"dataField.max\"\n (click)=\"picker.open()\">\n <mat-datepicker-toggle matPrefix [for]=\"picker\"></mat-datepicker-toggle>\n <ngx-mat-datetime-picker #picker\n [showSpinners]=\"true\"\n [showSeconds]=\"false\"\n [stepHour]=\"1\"\n [stepMinute]=\"5\"\n [color]=\"'primary'\"\n [enableMeridian]=\"false\">\n </ngx-mat-datetime-picker>\n <mat-hint>{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControl)\">{{getErrorMessage()}}</mat-error>\n </mat-form-field>\n</ng-template>\n",
|
|
19
|
+
providers: [
|
|
20
|
+
{ provide: NGX_MAT_DATE_FORMATS, useValue: ɵ0 }
|
|
21
|
+
],
|
|
22
|
+
styles: [".full-width{display:block;margin:0 auto;width:100%}"]
|
|
23
|
+
},] }
|
|
24
|
+
];
|
|
25
|
+
DateTimeFieldComponent.ctorParameters = () => [
|
|
26
|
+
{ type: TranslateService },
|
|
27
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
28
|
+
];
|
|
29
|
+
export { ɵ0 };
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS10aW1lLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvZGF0YS1maWVsZHMvZGF0ZS10aW1lLWZpZWxkL2RhdGUtdGltZS1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLDhDQUE4QyxDQUFDO0FBQ2xGLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBQ3JELE9BQU8sRUFBQyw4QkFBOEIsRUFBRSxnQkFBZ0IsRUFBRSw2QkFBNkIsRUFBQyxNQUFNLDBCQUEwQixDQUFDO1dBT3ZFLGdCQUFnQj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wnLFxuICAgIHN0eWxlVXJsczogWycuL2RhdGUtdGltZS1maWVsZC5jb21wb25lbnQuc2NzcyddLFxuICAgIHByb3ZpZGVyczogW1xuICAgICAgICB7cHJvdmlkZTogTkdYX01BVF9EQVRFX0ZPUk1BVFMsIHVzZVZhbHVlOiBEQVRFX1RJTUVfRk9STUFUfVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgRGF0ZVRpbWVGaWVsZENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0RGF0ZVRpbWVGaWVsZENvbXBvbmVudCB7XG5cbiAgICBjb25zdHJ1Y3Rvcih0cmFuc2xhdGU6IFRyYW5zbGF0ZVNlcnZpY2UsXG4gICAgICAgICAgICAgICAgQE9wdGlvbmFsKCkgQEluamVjdChOQUVfSU5GT1JNX0FCT1VUX0lOVkFMSURfREFUQSkgaW5mb3JtQWJvdXRJbnZhbGlkRGF0YTogYm9vbGVhbiB8IG51bGwpIHtcbiAgICAgICAgc3VwZXIodHJhbnNsYXRlLCBpbmZvcm1BYm91dEludmFsaWREYXRhKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractEnumerationAutocompleteDynamicFieldComponent } from '@netgrif/components-core';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
export class EnumerationAutocompleteDynamicFieldComponent extends AbstractEnumerationAutocompleteDynamicFieldComponent {
|
|
5
|
+
constructor(_translate) {
|
|
6
|
+
super(_translate);
|
|
7
|
+
this._translate = _translate;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
EnumerationAutocompleteDynamicFieldComponent.ctorParameters = () => [
|
|
11
|
+
{ type: TranslateService }
|
|
12
|
+
];
|
|
13
|
+
EnumerationAutocompleteDynamicFieldComponent.decorators = [
|
|
14
|
+
{ type: Component, args: [{
|
|
15
|
+
selector: 'nc-enumeration-autocomplete-dynamic-field',
|
|
16
|
+
template: "<mat-form-field [appearance]=\"enumerationField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{enumerationField.title}}</mat-label>\n <input type=\"text\"\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"enumerationField.placeholder\"\n [formControl]=\"formControlRef\"\n [matAutocomplete]=\"auto\"\n (keyup)=\"change()\">\n <mat-spinner *ngIf=\"enumerationField.loading\" matSuffix diameter=\"30\"></mat-spinner>\n <mat-autocomplete [displayWith]=\"renderSelection\" autoActiveFirstOption #auto=\"matAutocomplete\">\n\n <mat-option disabled *ngIf=\"(filteredOptions | async)?.length === 0 && !enumerationField.loading && enumerationField.value && enumerationField.value.length > 0\" fxLayoutAlign=\"center center\">\n {{ 'dataField.dynamicEnum.noData' | translate }}\n </mat-option>\n\n <ng-container *ngIf=\"!enumerationField.loading\">\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.key\" (click)=\"change()\">\n {{option.value}}\n </mat-option>\n </ng-container>\n </mat-autocomplete>\n <mat-hint>{{enumerationField.description}}</mat-hint>\n <mat-error *ngIf=\"enumerationField.isInvalid(formControlRef)\">{{buildErrorMessage()}}</mat-error>\n</mat-form-field>\n\n",
|
|
17
|
+
styles: [".full-width{display:block;margin:0 auto;width:100%}"]
|
|
18
|
+
},] }
|
|
19
|
+
];
|
|
20
|
+
EnumerationAutocompleteDynamicFieldComponent.ctorParameters = () => [
|
|
21
|
+
{ type: TranslateService }
|
|
22
|
+
];
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLWR5bmFtaWMtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXRhLWZpZWxkcy9lbnVtZXJhdGlvbi1maWVsZC9lbnVtZXJhdGlvbi1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mVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLWR5bmFtaWMtZmllbGQuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBFbnVtZXJhdGlvbkF1dG9jb21wbGV0ZUR5bmFtaWNGaWVsZENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0RW51bWVyYXRpb25BdXRvY29tcGxldGVEeW5hbWljRmllbGRDb21wb25lbnQge1xuXG4gICAgY29uc3RydWN0b3IocHJvdGVjdGVkIF90cmFuc2xhdGU6IFRyYW5zbGF0ZVNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIoX3RyYW5zbGF0ZSk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { AbstractEnumerationAutocompleteSelectFieldComponent } from '@netgrif/components-core';
|
|
4
|
+
export class EnumerationAutocompleteSelectFieldComponent extends AbstractEnumerationAutocompleteSelectFieldComponent {
|
|
5
|
+
constructor(_translate) {
|
|
6
|
+
super(_translate);
|
|
7
|
+
this._translate = _translate;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
EnumerationAutocompleteSelectFieldComponent.ctorParameters = () => [
|
|
11
|
+
{ type: TranslateService }
|
|
12
|
+
];
|
|
13
|
+
EnumerationAutocompleteSelectFieldComponent.decorators = [
|
|
14
|
+
{ type: Component, args: [{
|
|
15
|
+
selector: 'nc-enumeration-autocomplete-select-field',
|
|
16
|
+
template: "<mat-form-field [appearance]=\"enumerationField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{enumerationField.title}}</mat-label>\n <input type=\"text\"\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"enumerationField.placeholder\"\n [formControl]=\"formControlRef\"\n [matAutocomplete]=\"auto\"\n (keyup)=\"change()\">\n <mat-autocomplete [displayWith]=\"renderSelection\" autoActiveFirstOption #auto=\"matAutocomplete\">\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.key\" (click)=\"change()\">\n {{option.value}}\n </mat-option>\n </mat-autocomplete>\n <mat-hint>{{enumerationField.description}}</mat-hint>\n <mat-error *ngIf=\"enumerationField.isInvalid(formControlRef)\">{{buildErrorMessage()}}</mat-error>\n</mat-form-field>\n",
|
|
17
|
+
styles: [".full-width{display:block;margin:0 auto;width:100%}"]
|
|
18
|
+
},] }
|
|
19
|
+
];
|
|
20
|
+
EnumerationAutocompleteSelectFieldComponent.ctorParameters = () => [
|
|
21
|
+
{ type: TranslateService }
|
|
22
|
+
];
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLXNlbGVjdC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZmllbGRzL2VudW1lcmF0aW9uLWZpZWxkL2VudW1lcmF0aW9uLWF1dG9jb21wbGV0ZS1zZWxlY3QtZmllbGQvZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLXNlbGVjdC1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUNyRCxPQUFPLEVBQUMsbURBQW1ELEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQU83RixNQUFNLE9BQU8sMkNBQTRDLFNBQVEsbURBQW1EO0lBRWhILFlBQXNCLFVBQTRCO1FBQzlDLEtBQUssQ0FBQyxVQUFVLENBQ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
1
|
+
import { Component, Inject, Optional } from '@angular/core';
|
|
2
|
+
import { AbstractEnumerationFieldComponent, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
|
|
3
|
+
export class EnumerationFieldComponent extends AbstractEnumerationFieldComponent {
|
|
4
|
+
constructor(informAboutInvalidData) {
|
|
5
|
+
super(informAboutInvalidData);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
EnumerationFieldComponent.ctorParameters = () => [
|
|
9
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
10
|
+
];
|
|
11
|
+
EnumerationFieldComponent.decorators = [
|
|
12
|
+
{ type: Component, args: [{
|
|
13
|
+
selector: 'nc-enumeration-field',
|
|
14
|
+
template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [dataFieldTemplate]=\"enumFieldTemplate\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n\n<ng-template #enumFieldTemplate let-showLargeLayout=\"showLargeLayout\">\n <div [ngSwitch]=\"dataField.getType()\">\n <nc-enumeration-autocomplete-dynamic-field *ngSwitchCase=\"'autocomplete_dynamic'\"\n [showLargeLayout]=\"showLargeLayout\"\n [enumerationField]=\"dataField\"\n [formControlRef]=\"formControl\">\n </nc-enumeration-autocomplete-dynamic-field>\n <nc-enumeration-autocomplete-select-field *ngSwitchCase=\"'autocomplete'\"\n [showLargeLayout]=\"showLargeLayout\"\n [enumerationField]=\"dataField\"\n [formControlRef]=\"formControl\">\n </nc-enumeration-autocomplete-select-field>\n <nc-enumeration-list-field *ngSwitchCase=\"'list'\"\n [showLargeLayout]=\"showLargeLayout\"\n [enumerationField]=\"dataField\"\n [formControlRef]=\"formControl\">\n </nc-enumeration-list-field>\n <nc-enumeration-stepper-field *ngSwitchCase=\"'stepper'\"\n [showLargeLayout]=\"showLargeLayout\"\n [enumerationField]=\"dataField\"\n [formControlRef]=\"formControl\">\n </nc-enumeration-stepper-field>\n <nc-enumeration-icon-field *ngSwitchCase=\"'icon'\"\n [showLargeLayout]=\"showLargeLayout\"\n [enumerationField]=\"dataField\"\n [formControlRef]=\"formControl\">\n </nc-enumeration-icon-field>\n <nc-enumeration-select-field *ngSwitchDefault\n [showLargeLayout]=\"showLargeLayout\"\n [enumerationField]=\"dataField\"\n [formControlRef]=\"formControl\">\n </nc-enumeration-select-field>\n </div>\n</ng-template>\n",
|
|
15
|
+
styles: [""]
|
|
16
|
+
},] }
|
|
17
|
+
];
|
|
18
|
+
EnumerationFieldComponent.ctorParameters = () => [
|
|
19
|
+
{ type: Boolean, decorators: [{ type: Optional }, { type: Inject, args: [NAE_INFORM_ABOUT_INVALID_DATA,] }] }
|
|
20
|
+
];
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5ldGdyaWYvY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9kYXRhLWZpZWxkcy9lbnVtZXJhdGlvbi1maWVsZC9lbnVtZXJhdGlvbi1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBQyxpQ0FBaUMsRUFBRSw2QkFBNkIsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBTzFHLE1BQU0sT0FBTyx5QkFBMEIsU0FBUSxpQ0FBaUM7SUFDNUUsWUFBK0Qsc0JBQXNDO1FBQ2pHLEtBQUssQ0FBQyxzQkFBc0IsQ0FBQyxDQUFDO0lBQ2xDLENBQUM7Ozs0Q0FGWSxRQUFRLFlBQUksTUFBTSxTQUFDLDZCQUE2Qjs7O1lBTmhFLFNBQVMsU0FBQztnQkFDUCxRQUFRLEVBQUUsc0JBQXNCO2dCQUNoQyw2N0VBQWlEOzthQUVwRDs7OzBDQUVnQixRQUFRLFlBQUksTUFBTSxTQUFDLDZCQUE2QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q29tcG9uZW50LCBJbmplY3QsIE9wdGlvbmFsfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7QWJzdHJhY3RFbnVtZXJhdGlvbkZpZWxkQ29tcG9uZW50LCBOQUVfSU5GT1JNX0FCT1VUX0lOVkFMSURfREFUQX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICduYy1lbnVtZXJhdGlvbi1maWVsZCcsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2VudW1lcmF0aW9uLWZpZWxkLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9lbnVtZXJhdGlvbi1maWVsZC5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIEVudW1lcmF0aW9uRmllbGRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdEVudW1lcmF0aW9uRmllbGRDb21wb25lbnQge1xuICAgIGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIEBJbmplY3QoTkFFX0lORk9STV9BQk9VVF9JTlZBTElEX0RBVEEpIGluZm9ybUFib3V0SW52YWxpZERhdGE6IGJvb2xlYW4gfCBudWxsKSB7XG4gICAgICAgIHN1cGVyKGluZm9ybUFib3V0SW52YWxpZERhdGEpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractEnumerationIconFieldComponent } from '@netgrif/components-core';
|
|
3
|
+
export class EnumerationIconFieldComponent extends AbstractEnumerationIconFieldComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
super();
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
EnumerationIconFieldComponent.decorators = [
|
|
9
|
+
{ type: Component, args: [{
|
|
10
|
+
selector: 'nc-enumeration-icon-field',
|
|
11
|
+
template: "<div>\n <div *ngFor=\"let option of enumerationField.choices; let i = index\">\n <div class=\"enum-icon-item enum-icon-item-row\" (click)=\"setEnumValue(option.key)\" [ngClass]=\"{'enum-icon-item-active': isSelected(option.key)}\">\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'material'\">{{resolveIconValue(option.key)}}</mat-icon>\n <mat-icon *ngIf=\"resolveIconType(option.key) === 'svg'\" [svgIcon]=\"resolveIconValue(option.key)\"></mat-icon>\n <span fxFlex class=\"enum-icon-text\">{{option.value}}</span>\n <mat-icon *ngIf=\"resolveArrow(option.key)\">arrow_forward</mat-icon>\n </div>\n <mat-divider class=\"enum-icon-divider\" *ngIf=\"i !== enumerationField.choices.length - 1 && resolveDivider(option.key)\"></mat-divider>\n </div>\n</div>\n\n",
|
|
12
|
+
styles: [".enum-icon-item{font-size:18px;font-family:Asap,sans-serif;font-weight:500;line-height:24px;letter-spacing:-.2px;text-align:left;color:#333;text-decoration:none;padding:25px 0}.enum-icon-item-row:hover{cursor:pointer}.enum-icon-item-row:focus,.enum-icon-item:focus{outline:0}.enum-icon-divider{position:relative!important}.enum-icon-text{padding:0 16px}"]
|
|
13
|
+
},] }
|
|
14
|
+
];
|
|
15
|
+
EnumerationIconFieldComponent.ctorParameters = () => [];
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24taWNvbi1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZmllbGRzL2VudW1lcmF0aW9uLWZpZWxkL2VudW1lcmF0aW9uLWljb24tZmllbGQvZW51bWVyYXRpb24taWNvbi1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMscUNBQXFDLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQU8vRSxNQUFNLE9BQU8sNkJBQThCLFNBQVEscUNBQXFDO0lBRXBGO1FBQ0ksS0FBSyxFQUFFLENBQUM7SUFDWixDQUFDOzs7WUFUSixTQUFTLFNBQUM7Z0JBQ1AsUUFBUSxFQUFFLDJCQUEyQjtnQkFDckMsNDBCQUFzRDs7YUFFekQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0Fic3RyYWN0RW51bWVyYXRpb25JY29uRmllbGRDb21wb25lbnR9IGZyb20gJ0BuZXRncmlmL2NvbXBvbmVudHMtY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbmMtZW51bWVyYXRpb24taWNvbi1maWVsZCcsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2VudW1lcmF0aW9uLWljb24tZmllbGQuY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL2VudW1lcmF0aW9uLWljb24tZmllbGQuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBFbnVtZXJhdGlvbkljb25GaWVsZENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0RW51bWVyYXRpb25JY29uRmllbGRDb21wb25lbnQge1xuXG4gICAgY29uc3RydWN0b3IoKSB7XG4gICAgICAgIHN1cGVyKCk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractEnumerationListFieldComponent } from '@netgrif/components-core';
|
|
3
|
+
export class EnumerationListFieldComponent extends AbstractEnumerationListFieldComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
super();
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
EnumerationListFieldComponent.decorators = [
|
|
9
|
+
{ type: Component, args: [{
|
|
10
|
+
selector: 'nc-enumeration-list-field',
|
|
11
|
+
template: "<mat-radio-group\n color=\"primary\"\n class=\"full-width example-radio-group\"\n aria-labelledby=\"example-radio-group-label\"\n [required]=\"enumerationField.behavior.required\"\n [formControl]=\"formControlRef\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{enumerationField.title}}\n <nc-required-label *ngIf=\"enumerationField.behavior.required\" [isIn]=\"true\"></nc-required-label>\n <br></mat-label>\n <mat-radio-button class=\"example-radio-button\" *ngFor=\"let option of enumerationField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-radio-button>\n <mat-error *ngIf=\"enumerationField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-radio-group>\n",
|
|
12
|
+
styles: [".example-radio-group{display:flex;flex-direction:column;margin:16px 0}.example-radio-button{margin:8px}.full-width{width:100%}"]
|
|
13
|
+
},] }
|
|
14
|
+
];
|
|
15
|
+
EnumerationListFieldComponent.ctorParameters = () => [];
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tbGlzdC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZmllbGRzL2VudW1lcmF0aW9uLWZpZWxkL2VudW1lcmF0aW9uLWxpc3QtZmllbGQvZW51bWVyYXRpb24tbGlzdC1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMscUNBQXFDLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQU8vRSxNQUFNLE9BQU8sNkJBQThCLFNBQVEscUNBQXFDO0lBQ3BGO1FBQ0ksS0FBSyxFQUFFLENBQUM7SUFDWixDQUFDOzs7WUFSSixTQUFTLFNBQUM7Z0JBQ1AsUUFBUSxFQUFFLDJCQUEyQjtnQkFDckMsaXhCQUFzRDs7YUFFekQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0Fic3RyYWN0RW51bWVyYXRpb25MaXN0RmllbGRDb21wb25lbnR9IGZyb20gJ0BuZXRncmlmL2NvbXBvbmVudHMtY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbmMtZW51bWVyYXRpb24tbGlzdC1maWVsZCcsXG4gICAgdGVtcGxhdGVVcmw6ICcuL2VudW1lcmF0aW9uLWxpc3QtZmllbGQuY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL2VudW1lcmF0aW9uLWxpc3QtZmllbGQuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBFbnVtZXJhdGlvbkxpc3RGaWVsZENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0RW51bWVyYXRpb25MaXN0RmllbGRDb21wb25lbnQge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICBzdXBlcigpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractEnumerationSelectFieldComponent } from '@netgrif/components-core';
|
|
3
|
+
export class EnumerationSelectFieldComponent extends AbstractEnumerationSelectFieldComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
super();
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
EnumerationSelectFieldComponent.decorators = [
|
|
9
|
+
{ type: Component, args: [{
|
|
10
|
+
selector: 'nc-enumeration-select-field',
|
|
11
|
+
template: "<mat-form-field [appearance]=\"enumerationField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{enumerationField.title}}</mat-label>\n <mat-select [formControl]=\"formControlRef\"\n [placeholder]=\"enumerationField.placeholder\">\n <mat-option *ngFor=\"let option of enumerationField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-option>\n </mat-select>\n <mat-hint>{{enumerationField.description}}</mat-hint>\n <mat-error *ngIf=\"enumerationField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-form-field>\n",
|
|
12
|
+
styles: [".full-width{display:block;margin:0 auto;width:100%}"]
|
|
13
|
+
},] }
|
|
14
|
+
];
|
|
15
|
+
EnumerationSelectFieldComponent.ctorParameters = () => [];
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tc2VsZWN0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZXRncmlmL2NvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvZGF0YS1maWVsZHMvZW51bWVyYXRpb24tZmllbGQvZW51bWVyYXRpb24tc2VsZWN0LWZpZWxkL2VudW1lcmF0aW9uLXNlbGVjdC1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMsdUNBQXVDLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQU9qRixNQUFNLE9BQU8sK0JBQWdDLFNBQVEsdUNBQXVDO0lBQ3hGO1FBQ0ksS0FBSyxFQUFFLENBQUM7SUFDWixDQUFDOzs7WUFSSixTQUFTLFNBQUM7Z0JBQ1AsUUFBUSxFQUFFLDZCQUE2QjtnQkFDdkMsNHJCQUF3RDs7YUFFM0QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NvbXBvbmVudH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0Fic3RyYWN0RW51bWVyYXRpb25TZWxlY3RGaWVsZENvbXBvbmVudH0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICduYy1lbnVtZXJhdGlvbi1zZWxlY3QtZmllbGQnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9lbnVtZXJhdGlvbi1zZWxlY3QtZmllbGQuY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL2VudW1lcmF0aW9uLXNlbGVjdC1maWVsZC5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIEVudW1lcmF0aW9uU2VsZWN0RmllbGRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdEVudW1lcmF0aW9uU2VsZWN0RmllbGRDb21wb25lbnQge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICBzdXBlcigpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Component, ElementRef } from '@angular/core';
|
|
2
|
+
import { AbstractEnumerationStepperFieldComponent } from '@netgrif/components-core';
|
|
3
|
+
export class EnumerationStepperFieldComponent extends AbstractEnumerationStepperFieldComponent {
|
|
4
|
+
constructor(ref) {
|
|
5
|
+
super(ref);
|
|
6
|
+
this.ref = ref;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
EnumerationStepperFieldComponent.ctorParameters = () => [
|
|
10
|
+
{ type: ElementRef }
|
|
11
|
+
];
|
|
12
|
+
EnumerationStepperFieldComponent.decorators = [
|
|
13
|
+
{ type: Component, args: [{
|
|
14
|
+
selector: 'nc-enumeration-stepper-field',
|
|
15
|
+
template: "<mat-label class=\"stepper-label\" *ngIf=\"!showLargeLayout.value\" matTooltipClass=\"stepper-tooltip-text\" [matTooltip]=\"enumerationField.description\" matTooltipPosition=\"right\">\n {{enumerationField.title}}\n <nc-required-label *ngIf=\"enumerationField.behavior.required\" [isIn]=\"!enumerationField.disabled\" ></nc-required-label>\n</mat-label>\n\n<div class=\"horizontal-stepper\" fxLayout=\"row\" *ngIf=\"!arrowStepper\">\n <div class=\"horizontal-step\">\n <ng-template ngFor let-option [ngForOf]=\"enumerationField.choices\" let-i=\"index\">\n <div class=\"horizontal-step-header\" #oneStep>\n <div class=\"horizontal-state\" [ngClass]=\"{'horizontal-state-primary': canShowDoneIcon(i), 'horizontal-state-secondary': !canShowDoneIcon(i)}\">\n <mat-icon *ngIf=\"canShowDoneIcon(i + 1)\">done</mat-icon>\n </div>\n <div class=\"horizontal-state-label\">{{option.value}}</div>\n </div>\n <div class=\"horizontal-line\" fxFlex *ngIf=\"i < enumerationField.choices.length - 1\"></div>\n </ng-template>\n </div>\n</div>\n\n<div *ngIf=\"arrowStepper\" class=\"stepper-min-height\" fxLayoutAlign=\"stretch center\" fxLayout=\"row\">\n <ng-template ngFor let-option [ngForOf]=\"enumerationField.choices\" let-i=\"index\">\n <span class=\"stepper-arrow-text\" [ngClass]=\"{'stepper-arrow-selected': isSelected(option.key), 'stepper-disabled': enumerationField.disabled}\"\n (click)=\"setStepperValue(option.key)\" fxFlex fxLayoutAlign=\"center center\">{{option.value}}</span>\n <span fxFlex *ngIf=\"i < enumerationField.choices.length - 1\" fxLayoutAlign=\"center center\">\n <mat-icon>arrow_forward_ios</mat-icon>\n </span>\n </ng-template>\n</div>\n",
|
|
16
|
+
styles: [".horizontal-stepper{display:flex}.horizontal-step-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px;overflow:hidden;outline:0;position:relative;-webkit-tap-highlight-color:transparent;display:flex;align-items:center}.horizontal-step-header:not(:first-child)::before{left:0}.horizontal-step-header:not(:last-child)::after{right:0}.horizontal-step-header:not(:first-child)::before,.horizontal-step-header:not(:last-child)::after{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);top:36px}.horizontal-state{color:#fff;border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.horizontal-state-label{display:inline-block;overflow:hidden;text-overflow:ellipsis;min-width:36px;vertical-align:middle;padding:16px 0 0;text-align:center;width:100%;word-wrap:break-word}.horizontal-line{position:relative;top:36px;border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:12px}.horizontal-step{flex:auto;display:flex}.stepper-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:100%}.stepper-tooltip-text{color:#fff;padding:10px 15px}.stepper-min-height{border-radius:10px;min-height:70px;background-color:#f9f9f9}.stepper-arrow-text{font-weight:500;font-size:16px;letter-spacing:-.2;line-height:24px;color:#333;cursor:pointer}.stepper-disabled{cursor:unset!important}"]
|
|
17
|
+
},] }
|
|
18
|
+
];
|
|
19
|
+
EnumerationStepperFieldComponent.ctorParameters = () => [
|
|
20
|
+
{ type: ElementRef }
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tc3RlcHBlci1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV0Z3JpZi9jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL2RhdGEtZmllbGRzL2VudW1lcmF0aW9uLWZpZWxkL2VudW1lcmF0aW9uLXN0ZXBwZXItZmllbGQvZW51bWVyYXRpb24tc3RlcHBlci1maWVsZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILFNBQVMsRUFBRSxVQUFVLEVBQ3hCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBQyx3Q0FBd0MsRUF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