@netgrif/components 6.3.0-beta.3 → 6.3.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/admin/admin.module.mjs +4 -4
- package/esm2020/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +3 -3
- package/esm2020/lib/admin/role-assignment/role-assignment.component.mjs +3 -3
- package/esm2020/lib/admin/user-invite/user-invite.component.mjs +3 -3
- package/esm2020/lib/authentication/auth.module.mjs +4 -4
- package/esm2020/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +3 -3
- package/esm2020/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +5 -5
- package/esm2020/lib/dashboard/cards/count-card/count-card.component.mjs +3 -3
- package/esm2020/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +5 -5
- package/esm2020/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +3 -3
- package/esm2020/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +5 -5
- package/esm2020/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +5 -5
- package/esm2020/lib/dashboard/cards/portal-card/portal-card.component.mjs +3 -3
- package/esm2020/lib/dashboard/dashboard-content/dashboard-content.component.mjs +3 -3
- package/esm2020/lib/dashboard/dashboard.module.mjs +7 -9
- package/esm2020/lib/data-fields/boolean-field/boolean-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/button-field/button-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/data-field-template/data-field-template.component.mjs +3 -3
- package/esm2020/lib/data-fields/data-fields.module.mjs +12 -46
- package/esm2020/lib/data-fields/date-field/date-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/date-time-field/date-time-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +5 -5
- package/esm2020/lib/data-fields/enumeration-field/enumeration-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/file-field/file-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +3 -3
- package/esm2020/lib/data-fields/file-field-list/file-list-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.mjs +3 -3
- package/esm2020/lib/data-fields/filter-field/filter-field.component.mjs +5 -9
- package/esm2020/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/i18n-field/i18n-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/multichoice-field/multichoice-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/number-field/number-default-field/number-default-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/number-field/number-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/public-api.mjs +1 -2
- package/esm2020/lib/data-fields/required-label/required-label.component.mjs +3 -3
- package/esm2020/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +3 -3
- package/esm2020/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/text-field/text-field.component.mjs +8 -14
- package/esm2020/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/user-field/user-field.component.mjs +3 -3
- package/esm2020/lib/data-fields/user-list-field/user-list-field.component.mjs +5 -5
- package/esm2020/lib/forms/email-submission/email-submission-form.component.mjs +3 -3
- package/esm2020/lib/forms/email-submission/email-submission-form.module.mjs +4 -4
- package/esm2020/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +4 -4
- package/esm2020/lib/forms/forgotten-password/forgotten-password-form.component.mjs +3 -3
- package/esm2020/lib/forms/login/login-form.component.mjs +3 -3
- package/esm2020/lib/forms/login/login-form.module.mjs +4 -4
- package/esm2020/lib/forms/registration/registration-form.component.mjs +3 -3
- package/esm2020/lib/forms/registration/registration-form.module.mjs +4 -4
- package/esm2020/lib/header/header-modes/edit-mode/edit-mode.component.mjs +3 -3
- package/esm2020/lib/header/header-modes/loading-mode/loading-mode.component.mjs +3 -3
- package/esm2020/lib/header/header-modes/search-mode/search-mode.component.mjs +3 -3
- package/esm2020/lib/header/header-modes/sort-mode/sort-mode.component.mjs +3 -3
- package/esm2020/lib/header/header.component.mjs +3 -3
- package/esm2020/lib/header/header.module.mjs +4 -4
- package/esm2020/lib/legal/legal-notice/legal-notice.component.mjs +3 -3
- package/esm2020/lib/legal/legal-notice/legal-notice.module.mjs +4 -4
- package/esm2020/lib/navigation/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +3 -3
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +3 -3
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +3 -3
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +6 -6
- package/esm2020/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +3 -3
- package/esm2020/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.mjs +3 -3
- package/esm2020/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.mjs +5 -5
- package/esm2020/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +3 -3
- package/esm2020/lib/navigation/navigation-rail/navigation-rail.component.mjs +3 -3
- package/esm2020/lib/navigation/navigation-tree/navigation-tree.component.mjs +3 -3
- package/esm2020/lib/navigation/navigation.module.mjs +12 -9
- package/esm2020/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.mjs +3 -3
- package/esm2020/lib/navigation/quick-panel/components/internal-link/internal-link.component.mjs +3 -3
- package/esm2020/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +3 -3
- package/esm2020/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +3 -3
- package/esm2020/lib/navigation/quick-panel/components/quick-panel.component.mjs +3 -3
- package/esm2020/lib/navigation/quick-panel/quick-panel.module.mjs +4 -4
- package/esm2020/lib/panel/case-panel/case-panel.component.mjs +3 -3
- package/esm2020/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.mjs +3 -3
- package/esm2020/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.mjs +3 -3
- package/esm2020/lib/panel/panel-item/panel-item.component.mjs +3 -3
- package/esm2020/lib/panel/panel.component.mjs +3 -3
- package/esm2020/lib/panel/panel.module.mjs +9 -13
- package/esm2020/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +3 -3
- package/esm2020/lib/panel/task-panel/task-panel.component.mjs +9 -18
- package/esm2020/lib/panel/task-panel-list/task-list.component.mjs +5 -5
- package/esm2020/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +3 -3
- package/esm2020/lib/panel/task-panel-single/single-task.component.mjs +12 -11
- package/esm2020/lib/panel/workflow-panel/workflow-panel.component.mjs +3 -3
- package/esm2020/lib/routing/redirect/redirect.component.mjs +3 -3
- package/esm2020/lib/routing/redirect.module.mjs +4 -4
- package/esm2020/lib/search/advanced-search/advanced-search-component/advanced-search.component.mjs +3 -3
- package/esm2020/lib/search/advanced-search/advanced-search.module.mjs +4 -4
- package/esm2020/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +3 -3
- package/esm2020/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +3 -3
- package/esm2020/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +6 -6
- package/esm2020/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +3 -3
- package/esm2020/lib/search/fulltext-search-component/fulltext-search.component.mjs +3 -3
- package/esm2020/lib/search/search-component/case-search/case-search.component.mjs +3 -3
- package/esm2020/lib/search/search-component/search.component.mjs +3 -3
- package/esm2020/lib/search/search-component/task-search/task-search.component.mjs +3 -3
- package/esm2020/lib/search/search.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-list.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/import-net/import-net.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/load-filter/load-filter.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/new-case/new-case.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/option-selector/option-selector.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/save-filter/save-filter.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/side-menu-content-component.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/user-assign/user-assign.component.mjs +3 -3
- package/esm2020/lib/side-menu/content-components/user-impersonate/side-menu-user-impersonate-component.module.mjs +4 -4
- package/esm2020/lib/side-menu/content-components/user-impersonate/user-impersonate.component.mjs +3 -3
- package/esm2020/lib/side-menu/side-menu-container/side-menu-container.component.mjs +3 -3
- package/esm2020/lib/side-menu/side-menu.module.mjs +4 -4
- package/esm2020/lib/tabs/tab-creation-detector/tab-creation-detector.component.mjs +3 -3
- package/esm2020/lib/tabs/tab-view/tab-view.component.mjs +3 -3
- package/esm2020/lib/tabs/tabs.module.mjs +4 -4
- package/esm2020/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +10 -13
- package/esm2020/lib/task-content/task-content/task-content.component.mjs +5 -6
- package/esm2020/lib/task-content/task-content.module.mjs +4 -4
- package/esm2020/lib/toolbar/toolbar.component.mjs +3 -3
- package/esm2020/lib/toolbar/toolbar.module.mjs +4 -4
- package/esm2020/lib/user/profile/profile.component.mjs +3 -3
- package/esm2020/lib/user/profile/profile.module.mjs +4 -4
- package/esm2020/lib/user/user-card/user-card.component.mjs +3 -3
- package/esm2020/lib/user/user.module.mjs +4 -4
- package/esm2020/lib/view/case-view/case-view.module.mjs +4 -4
- package/esm2020/lib/view/case-view/components/case-list/case-list.component.mjs +5 -5
- package/esm2020/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +3 -3
- package/esm2020/lib/view/case-view/components/create-case-button/create-case-button.component.mjs +3 -3
- package/esm2020/lib/view/tree-case-view/tree-case-view.module.mjs +4 -4
- package/esm2020/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +3 -3
- package/esm2020/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +3 -3
- package/esm2020/lib/view/tree-case-view/tree-component/tree.component.mjs +3 -3
- package/esm2020/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +3 -3
- package/esm2020/lib/view/workflow-view/workflow-view.component.mjs +5 -5
- package/esm2020/lib/view/workflow-view.module.mjs +4 -4
- package/esm2020/public-api.mjs +1 -2
- package/fesm2015/netgrif-components.mjs +667 -1018
- package/fesm2015/netgrif-components.mjs.map +1 -1
- package/fesm2020/netgrif-components.mjs +667 -1006
- package/fesm2020/netgrif-components.mjs.map +1 -1
- package/lib/dashboard/dashboard.module.d.ts +1 -1
- package/lib/data-fields/data-fields.module.d.ts +16 -26
- package/lib/data-fields/public-api.d.ts +0 -1
- package/lib/data-fields/text-field/text-field.component.d.ts +1 -2
- package/lib/navigation/navigation.module.d.ts +1 -1
- package/lib/panel/panel.module.d.ts +1 -2
- package/lib/panel/task-panel/task-panel.component.d.ts +3 -4
- package/lib/task-content/field-component-resolver/field-component-resolver.component.d.ts +1 -3
- package/lib/task-content/task-content/task-content.component.d.ts +0 -1
- package/nae-theme.scss +1 -1
- package/package.json +2 -2
- package/public-api.d.ts +0 -1
- package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js +4 -1
- package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.js +3 -0
- package/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js +3 -0
- package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js +3 -0
- package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js.map +1 -1
- package/schematics/view/create-view-prompt/views/public-workflow-view/files/common/__className@dasherize__.component.ts.template +3 -2
- package/src/lib/data-fields/data-field.theme.scss +1 -8
- package/esm2020/lib/data-fields/filter-field/tab-view-filter-field/filter-field-tab-view-content.component.mjs +0 -33
- package/esm2020/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.mjs +0 -55
- package/esm2020/lib/data-fields/task-ref-field/task-ref-field.component.mjs +0 -38
- package/esm2020/lib/data-fields/text-field/dashboard-bar-chart-text-field/dashboard-bar-chart-text-field.component.mjs +0 -19
- package/esm2020/lib/data-fields/text-field/dashboard-iframe-text-field/dashboard-iframe-text-field.component.mjs +0 -19
- package/esm2020/lib/data-fields/text-field/dashboard-line-chart-text-field/dashboard-line-chart-text-field.component.mjs +0 -19
- package/esm2020/lib/data-fields/text-field/dashboard-pie-chart-text-field/dashboard-pie-chart-text-field.component.mjs +0 -19
- package/esm2020/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.mjs +0 -36
- package/esm2020/lib/filter-field-content/filter-field-content.module.mjs +0 -55
- package/esm2020/lib/filter-field-content/filter-field-tab-view/filter-field-tab-view.component.mjs +0 -23
- package/esm2020/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.mjs +0 -68
- package/esm2020/lib/filter-field-content/public-api.mjs +0 -4
- package/lib/data-fields/filter-field/tab-view-filter-field/filter-field-tab-view-content.component.d.ts +0 -8
- package/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.d.ts +0 -16
- package/lib/data-fields/task-ref-field/task-ref-field.component.d.ts +0 -13
- package/lib/data-fields/text-field/dashboard-bar-chart-text-field/dashboard-bar-chart-text-field.component.d.ts +0 -8
- package/lib/data-fields/text-field/dashboard-iframe-text-field/dashboard-iframe-text-field.component.d.ts +0 -8
- package/lib/data-fields/text-field/dashboard-line-chart-text-field/dashboard-line-chart-text-field.component.d.ts +0 -8
- package/lib/data-fields/text-field/dashboard-pie-chart-text-field/dashboard-pie-chart-text-field.component.d.ts +0 -8
- package/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.d.ts +0 -17
- package/lib/filter-field-content/filter-field-content.module.d.ts +0 -15
- package/lib/filter-field-content/filter-field-tab-view/filter-field-tab-view.component.d.ts +0 -7
- package/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.d.ts +0 -16
- package/lib/filter-field-content/public-api.d.ts +0 -3
|
@@ -13,6 +13,6 @@ import * as i11 from "@swimlane/ngx-charts";
|
|
|
13
13
|
import * as i12 from "@angular/material/grid-list";
|
|
14
14
|
export declare class DashboardComponentModule {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponentModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardComponentModule, [typeof i1.CountCardComponent, typeof i2.IframeCardComponent, typeof i3.DashboardContentComponent, typeof i4.PieChartCardComponent, typeof i5.LineChartCardComponent, typeof i6.BarchartCardComponent, typeof i7.LinearGaugeCardComponent, typeof i8.PortalCardComponent], [typeof i9.CommonModule, typeof i10.MaterialModule, typeof i10.TranslateLibModule, typeof i11.NgxChartsModule, typeof i10.MaterialModule, typeof i12.MatGridListModule], [typeof i1.CountCardComponent, typeof i2.IframeCardComponent, typeof i3.DashboardContentComponent, typeof i4.PieChartCardComponent, typeof i5.LineChartCardComponent, typeof i6.BarchartCardComponent, typeof i7.LinearGaugeCardComponent
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardComponentModule, [typeof i1.CountCardComponent, typeof i2.IframeCardComponent, typeof i3.DashboardContentComponent, typeof i4.PieChartCardComponent, typeof i5.LineChartCardComponent, typeof i6.BarchartCardComponent, typeof i7.LinearGaugeCardComponent, typeof i8.PortalCardComponent], [typeof i9.CommonModule, typeof i10.MaterialModule, typeof i10.TranslateLibModule, typeof i11.NgxChartsModule, typeof i10.MaterialModule, typeof i12.MatGridListModule], [typeof i1.CountCardComponent, typeof i2.IframeCardComponent, typeof i3.DashboardContentComponent, typeof i4.PieChartCardComponent, typeof i5.LineChartCardComponent, typeof i6.BarchartCardComponent, typeof i7.LinearGaugeCardComponent]>;
|
|
17
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<DashboardComponentModule>;
|
|
18
18
|
}
|
|
@@ -36,33 +36,23 @@ import * as i34 from "./i18n-field/i18n-divider-field/i18n-divider-field.compone
|
|
|
36
36
|
import * as i35 from "./i18n-field/i18n-text-field/i18n-text-field.component";
|
|
37
37
|
import * as i36 from "./text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component";
|
|
38
38
|
import * as i37 from "./user-list-field/user-list-field.component";
|
|
39
|
-
import * as i38 from "
|
|
40
|
-
import * as i39 from "
|
|
41
|
-
import * as i40 from "
|
|
42
|
-
import * as i41 from "
|
|
43
|
-
import * as i42 from "
|
|
44
|
-
import * as i43 from "
|
|
45
|
-
import * as i44 from "
|
|
46
|
-
import * as i45 from "
|
|
47
|
-
import * as i46 from "
|
|
48
|
-
import * as i47 from "
|
|
49
|
-
import * as i48 from "@
|
|
50
|
-
import * as i49 from "
|
|
51
|
-
import * as i50 from "@angular/
|
|
52
|
-
import * as i51 from "@angular/
|
|
53
|
-
import * as i52 from "@angular-
|
|
54
|
-
import * as i53 from "@angular-material-components/moment-adapter";
|
|
55
|
-
import * as i54 from "../side-menu/content-components/user-assign/side-menu-user-assign-component.module";
|
|
56
|
-
import * as i55 from "ngx-quill";
|
|
57
|
-
import * as i56 from "@angular/material/dialog";
|
|
58
|
-
import * as i57 from "../search/advanced-search/advanced-search.module";
|
|
59
|
-
import * as i58 from "@angular/material/progress-spinner";
|
|
60
|
-
import * as i59 from "@angular/platform-browser";
|
|
61
|
-
import * as i60 from "@angular/platform-browser/animations";
|
|
62
|
-
import * as i61 from "../dashboard/dashboard.module";
|
|
63
|
-
import * as i62 from "@angular/router";
|
|
39
|
+
import * as i38 from "@angular/common";
|
|
40
|
+
import * as i39 from "@angular/flex-layout";
|
|
41
|
+
import * as i40 from "@netgrif/components-core";
|
|
42
|
+
import * as i41 from "angular-resize-event";
|
|
43
|
+
import * as i42 from "@angular/common/http";
|
|
44
|
+
import * as i43 from "@angular/forms";
|
|
45
|
+
import * as i44 from "@angular-material-components/datetime-picker";
|
|
46
|
+
import * as i45 from "@angular-material-components/moment-adapter";
|
|
47
|
+
import * as i46 from "../side-menu/content-components/user-assign/side-menu-user-assign-component.module";
|
|
48
|
+
import * as i47 from "ngx-quill";
|
|
49
|
+
import * as i48 from "@angular/material/dialog";
|
|
50
|
+
import * as i49 from "../search/advanced-search/advanced-search.module";
|
|
51
|
+
import * as i50 from "@angular/material/progress-spinner";
|
|
52
|
+
import * as i51 from "@angular/platform-browser";
|
|
53
|
+
import * as i52 from "@angular/platform-browser/animations";
|
|
64
54
|
export declare class DataFieldsComponentModule {
|
|
65
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataFieldsComponentModule, never>;
|
|
66
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DataFieldsComponentModule, [typeof i1.BooleanFieldComponent, typeof i2.ButtonFieldComponent, typeof i3.DataFieldTemplateComponent, typeof i4.DateFieldComponent, typeof i5.DateTimeFieldComponent, typeof i6.EnumerationFieldComponent, typeof i7.EnumerationAutocompleteSelectFieldComponent, typeof i8.EnumerationSelectFieldComponent, typeof i9.EnumerationListFieldComponent, typeof i10.FileFieldComponent, typeof i11.FileListFieldComponent, typeof i12.MultichoiceFieldComponent, typeof i13.MultichoiceSelectFieldComponent, typeof i14.MultichoiceListFieldComponent, typeof i15.MultichoiceAutocompleteFieldComponent, typeof i16.NumberFieldComponent, typeof i17.TextFieldComponent, typeof i18.TextareaFieldComponent, typeof i19.RichTextareaFieldComponent, typeof i20.SimpleTextFieldComponent, typeof i21.UserFieldComponent, typeof i22.RequiredLabelComponent, typeof i23.HtmlTextareaFieldComponent, typeof i24.PasswordTextFieldComponent, typeof i25.NumberCurrencyFieldComponent, typeof i26.NumberDefaultFieldComponent, typeof i27.PreviewDialogComponent, typeof i26.NumberDefaultFieldComponent, typeof i28.EnumerationStepperFieldComponent, typeof i29.EnumerationIconFieldComponent, typeof i30.EnumerationAutocompleteDynamicFieldComponent, typeof i31.FilterFieldComponent, typeof i32.FilterFieldContentComponent, typeof i33.I18nFieldComponent, typeof i34.I18nDividerFieldComponent, typeof i35.I18nTextFieldComponent, typeof i36.EasymdeWrapperComponent, typeof i37.UserListFieldComponent
|
|
56
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DataFieldsComponentModule, [typeof i1.BooleanFieldComponent, typeof i2.ButtonFieldComponent, typeof i3.DataFieldTemplateComponent, typeof i4.DateFieldComponent, typeof i5.DateTimeFieldComponent, typeof i6.EnumerationFieldComponent, typeof i7.EnumerationAutocompleteSelectFieldComponent, typeof i8.EnumerationSelectFieldComponent, typeof i9.EnumerationListFieldComponent, typeof i10.FileFieldComponent, typeof i11.FileListFieldComponent, typeof i12.MultichoiceFieldComponent, typeof i13.MultichoiceSelectFieldComponent, typeof i14.MultichoiceListFieldComponent, typeof i15.MultichoiceAutocompleteFieldComponent, typeof i16.NumberFieldComponent, typeof i17.TextFieldComponent, typeof i18.TextareaFieldComponent, typeof i19.RichTextareaFieldComponent, typeof i20.SimpleTextFieldComponent, typeof i21.UserFieldComponent, typeof i22.RequiredLabelComponent, typeof i23.HtmlTextareaFieldComponent, typeof i24.PasswordTextFieldComponent, typeof i25.NumberCurrencyFieldComponent, typeof i26.NumberDefaultFieldComponent, typeof i27.PreviewDialogComponent, typeof i26.NumberDefaultFieldComponent, typeof i28.EnumerationStepperFieldComponent, typeof i29.EnumerationIconFieldComponent, typeof i30.EnumerationAutocompleteDynamicFieldComponent, typeof i31.FilterFieldComponent, typeof i32.FilterFieldContentComponent, typeof i33.I18nFieldComponent, typeof i34.I18nDividerFieldComponent, typeof i35.I18nTextFieldComponent, typeof i36.EasymdeWrapperComponent, typeof i37.UserListFieldComponent], [typeof i38.CommonModule, typeof i39.FlexLayoutModule, typeof i40.MaterialModule, typeof i40.CovalentModule, typeof i41.AngularResizeEventModule, typeof i42.HttpClientModule, typeof i43.ReactiveFormsModule, typeof i44.NgxMatDatetimePickerModule, typeof i45.NgxMatMomentModule, typeof i40.TranslateLibModule, typeof i46.SideMenuUserAssignComponentModule, typeof i47.QuillModule, typeof i48.MatDialogModule, typeof i49.AdvancedSearchComponentModule, typeof i50.MatProgressSpinnerModule, typeof i40.CurrencyModule, typeof i51.BrowserModule, typeof i52.BrowserAnimationsModule], [typeof i1.BooleanFieldComponent, typeof i2.ButtonFieldComponent, typeof i3.DataFieldTemplateComponent, typeof i4.DateFieldComponent, typeof i5.DateTimeFieldComponent, typeof i6.EnumerationFieldComponent, typeof i10.FileFieldComponent, typeof i11.FileListFieldComponent, typeof i12.MultichoiceFieldComponent, typeof i16.NumberFieldComponent, typeof i17.TextFieldComponent, typeof i21.UserFieldComponent, typeof i31.FilterFieldComponent, typeof i33.I18nFieldComponent, typeof i37.UserListFieldComponent]>;
|
|
67
57
|
static ɵinj: i0.ɵɵInjectorDeclaration<DataFieldsComponentModule>;
|
|
68
58
|
}
|
|
@@ -14,4 +14,3 @@ export * from './user-field/user-field.component';
|
|
|
14
14
|
export * from './filter-field/filter-field.component';
|
|
15
15
|
export * from './i18n-field/i18n-field.component';
|
|
16
16
|
export * from './user-list-field/user-list-field.component';
|
|
17
|
-
export * from './task-ref-field/task-ref-field.component';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { AbstractTextFieldComponent
|
|
1
|
+
import { AbstractTextFieldComponent } from '@netgrif/components-core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TextFieldComponent extends AbstractTextFieldComponent {
|
|
4
|
-
textFieldComponentEnum: typeof TextFieldComponentEnum;
|
|
5
4
|
constructor(informAboutInvalidData: boolean | null);
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldComponent, [{ optional: true; }]>;
|
|
7
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldComponent, "nc-text-field", never, {}, {}, never, never>;
|
|
@@ -26,6 +26,6 @@ import * as i23 from "../view/case-view/case-view.module";
|
|
|
26
26
|
import * as i24 from "@angular/material/divider";
|
|
27
27
|
export declare class NavigationComponentModule {
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationComponentModule, never>;
|
|
29
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NavigationComponentModule, [typeof i1.NavigationDrawerComponent, typeof i2.NavigationRailComponent, typeof i3.NavigationTreeComponent, typeof i4.GroupNavigationComponentResolverComponent, typeof i5.DefaultSimpleTaskViewComponent, typeof i6.DefaultTabbedTaskViewComponent, typeof i7.DefaultTabbedCaseViewComponent, typeof i8.DefaultTabViewComponent, typeof i9.NavigationDoubleDrawerComponent, typeof i10.BreadcrumbsComponent], [typeof i11.CommonModule, typeof i12.RouterModule, typeof i13.MaterialModule, typeof i14.FlexModule, typeof i14.FlexLayoutModule, typeof i15.QuickPanelComponentModule, typeof i13.TranslateLibModule, typeof i16.UserComponentModule, typeof i17.ResizableModule, typeof i18.MatProgressSpinnerModule, typeof i19.SearchComponentModule, typeof i20.HeaderComponentModule, typeof i21.PanelComponentModule, typeof i22.TabsComponentModule, typeof i23.CaseViewComponentModule, typeof i24.MatDividerModule], [typeof i1.NavigationDrawerComponent, typeof i9.NavigationDoubleDrawerComponent, typeof i2.NavigationRailComponent, typeof i3.NavigationTreeComponent, typeof i4.GroupNavigationComponentResolverComponent, typeof i5.DefaultSimpleTaskViewComponent, typeof i6.DefaultTabbedTaskViewComponent, typeof i7.DefaultTabbedCaseViewComponent, typeof i8.DefaultTabViewComponent, typeof i10.BreadcrumbsComponent]>;
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NavigationComponentModule, [typeof i1.NavigationDrawerComponent, typeof i2.NavigationRailComponent, typeof i3.NavigationTreeComponent, typeof i4.GroupNavigationComponentResolverComponent, typeof i5.DefaultSimpleTaskViewComponent, typeof i6.DefaultTabbedTaskViewComponent, typeof i7.DefaultTabbedCaseViewComponent, typeof i8.DefaultTabViewComponent, typeof i9.NavigationDoubleDrawerComponent, typeof i10.BreadcrumbsComponent], [typeof i11.CommonModule, typeof i12.RouterModule, typeof i13.MaterialModule, typeof i14.FlexModule, typeof i14.FlexLayoutModule, typeof i15.QuickPanelComponentModule, typeof i13.TranslateLibModule, typeof i16.UserComponentModule, typeof i17.ResizableModule, typeof i18.MatProgressSpinnerModule, typeof i19.SearchComponentModule, typeof i20.HeaderComponentModule, typeof i21.PanelComponentModule, typeof i22.TabsComponentModule, typeof i23.CaseViewComponentModule, typeof i24.MatDividerModule, typeof i13.UtilityModule], [typeof i1.NavigationDrawerComponent, typeof i9.NavigationDoubleDrawerComponent, typeof i2.NavigationRailComponent, typeof i3.NavigationTreeComponent, typeof i4.GroupNavigationComponentResolverComponent, typeof i5.DefaultSimpleTaskViewComponent, typeof i6.DefaultTabbedTaskViewComponent, typeof i7.DefaultTabbedCaseViewComponent, typeof i8.DefaultTabViewComponent, typeof i10.BreadcrumbsComponent]>;
|
|
30
30
|
static ɵinj: i0.ɵɵInjectorDeclaration<NavigationComponentModule>;
|
|
31
31
|
}
|
|
@@ -16,9 +16,8 @@ import * as i14 from "@angular/flex-layout";
|
|
|
16
16
|
import * as i15 from "../data-fields/data-fields.module";
|
|
17
17
|
import * as i16 from "../task-content/task-content.module";
|
|
18
18
|
import * as i17 from "../side-menu/content-components/user-assign/side-menu-user-assign-component.module";
|
|
19
|
-
import * as i18 from "@angular/material/expansion";
|
|
20
19
|
export declare class PanelComponentModule {
|
|
21
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponentModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PanelComponentModule, [typeof i1.PanelComponent, typeof i2.TaskPanelComponent, typeof i3.CasePanelComponent, typeof i4.WorkflowPanelComponent, typeof i5.TaskListComponent, typeof i6.PublicWorkflowPanelComponent, typeof i7.ImmediateFilterTextComponent, typeof i8.ImmediateFilterTextContentComponent, typeof i9.PanelItemComponent, typeof i10.TaskListPaginationComponent, typeof i11.SingleTaskComponent], [typeof i12.CommonModule, typeof i13.MaterialModule, typeof i14.FlexModule, typeof i15.DataFieldsComponentModule, typeof i13.TranslateLibModule, typeof i13.SnackBarModule, typeof i16.TaskContentComponentModule, typeof i17.SideMenuUserAssignComponentModule, typeof i13.CurrencyModule
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PanelComponentModule, [typeof i1.PanelComponent, typeof i2.TaskPanelComponent, typeof i3.CasePanelComponent, typeof i4.WorkflowPanelComponent, typeof i5.TaskListComponent, typeof i6.PublicWorkflowPanelComponent, typeof i7.ImmediateFilterTextComponent, typeof i8.ImmediateFilterTextContentComponent, typeof i9.PanelItemComponent, typeof i10.TaskListPaginationComponent, typeof i11.SingleTaskComponent], [typeof i12.CommonModule, typeof i13.MaterialModule, typeof i14.FlexModule, typeof i15.DataFieldsComponentModule, typeof i13.TranslateLibModule, typeof i13.SnackBarModule, typeof i16.TaskContentComponentModule, typeof i17.SideMenuUserAssignComponentModule, typeof i13.CurrencyModule], [typeof i1.PanelComponent, typeof i9.PanelItemComponent, typeof i2.TaskPanelComponent, typeof i3.CasePanelComponent, typeof i4.WorkflowPanelComponent, typeof i5.TaskListComponent, typeof i6.PublicWorkflowPanelComponent, typeof i7.ImmediateFilterTextComponent, typeof i10.TaskListPaginationComponent, typeof i11.SingleTaskComponent]>;
|
|
23
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<PanelComponentModule>;
|
|
24
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import { AbstractTaskPanelComponent, AssignPolicyService, AssignTaskService, CallChainService, CancelTaskService,
|
|
2
|
+
import { AbstractTaskPanelComponent, AssignPolicyService, AssignTaskService, CallChainService, CancelTaskService, DelegateTaskService, DisableButtonFuntions, FinishPolicyService, FinishTaskService, LoggerService, PaperViewService, SubjectTaskOperations, TaskContentService, TaskDataService, TaskEventService, TaskRequestStateService, TaskViewService, PermissionService, ChangedFieldsService, OverflowService } from '@netgrif/components-core';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { CurrencyPipe } from '@angular/common';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -25,9 +25,8 @@ export declare class TaskPanelComponent extends AbstractTaskPanelComponent {
|
|
|
25
25
|
protected _currencyPipe: CurrencyPipe;
|
|
26
26
|
protected _changedFieldsService: ChangedFieldsService;
|
|
27
27
|
protected _permissionService: PermissionService;
|
|
28
|
-
|
|
29
|
-
constructor(_taskContentService: TaskContentService, _log: LoggerService, _taskViewService: TaskViewService, _paperView: PaperViewService, _taskEventService: TaskEventService, _assignTaskService: AssignTaskService, _delegateTaskService: DelegateTaskService, _cancelTaskService: CancelTaskService, _finishTaskService: FinishTaskService, _taskState: TaskRequestStateService, _taskDataService: TaskDataService, _assignPolicyService: AssignPolicyService, _finishPolicyService: FinishPolicyService, _callChain: CallChainService, _translate: TranslateService, _taskOperations: SubjectTaskOperations, _disableFunctions: DisableButtonFuntions, isEnabled: boolean, _parentInjector: Injector, _currencyPipe: CurrencyPipe, _changedFieldsService: ChangedFieldsService, _permissionService: PermissionService, overflowService: OverflowService, _taskForceOpen: boolean);
|
|
28
|
+
constructor(_taskContentService: TaskContentService, _log: LoggerService, _taskViewService: TaskViewService, _paperView: PaperViewService, _taskEventService: TaskEventService, _assignTaskService: AssignTaskService, _delegateTaskService: DelegateTaskService, _cancelTaskService: CancelTaskService, _finishTaskService: FinishTaskService, _taskState: TaskRequestStateService, _taskDataService: TaskDataService, _assignPolicyService: AssignPolicyService, _finishPolicyService: FinishPolicyService, _callChain: CallChainService, _translate: TranslateService, _taskOperations: SubjectTaskOperations, _disableFunctions: DisableButtonFuntions, isEnabled: boolean, _parentInjector: Injector, _currencyPipe: CurrencyPipe, _changedFieldsService: ChangedFieldsService, _permissionService: PermissionService, overflowService: OverflowService);
|
|
30
29
|
protected createContentPortal(): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaskPanelComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null, null, null, null, { optional: true; }
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskPanelComponent, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null, null, null, null, { optional: true; }]>;
|
|
32
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<TaskPanelComponent, "nc-task-panel", never, {}, {}, never, never>;
|
|
33
32
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
1
|
import { AbstractFieldComponentResolverComponent, TaskContentService } from '@netgrif/components-core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class FieldComponentResolverComponent extends AbstractFieldComponentResolverComponent {
|
|
5
|
-
taskContentComponentClassReference: Type<any>;
|
|
6
4
|
constructor(taskContentService: TaskContentService);
|
|
7
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponentResolverComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponentResolverComponent, "nc-field-component-resolver", never, {
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponentResolverComponent, "nc-field-component-resolver", never, {}, {}, never, never>;
|
|
9
7
|
}
|
|
@@ -6,7 +6,6 @@ export declare class TaskContentComponent extends AbstractTaskContentComponent {
|
|
|
6
6
|
protected _paperView: PaperViewService;
|
|
7
7
|
protected _logger: LoggerService;
|
|
8
8
|
protected _taskEventService: TaskEventService;
|
|
9
|
-
taskContentComponentClass: typeof TaskContentComponent;
|
|
10
9
|
constructor(_fieldConverter: FieldConverterService, taskContentService: TaskContentService, _paperView: PaperViewService, _logger: LoggerService, _taskEventService: TaskEventService, config: any);
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskContentComponent, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<TaskContentComponent, "nc-task-content", never, {}, {}, never, never>;
|
package/nae-theme.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netgrif/components",
|
|
3
|
-
"version": "6.3.0-
|
|
3
|
+
"version": "6.3.0-rc.3",
|
|
4
4
|
"description": "Netgrif Application Engine frontend Angular components",
|
|
5
5
|
"homepage": "https://components.netgrif.com",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"nae frontend"
|
|
30
30
|
],
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@netgrif/components-core": "6.3.0-
|
|
32
|
+
"@netgrif/components-core": "6.3.0-rc.3",
|
|
33
33
|
"@angular-material-components/datetime-picker": "~7.0.1",
|
|
34
34
|
"@angular-material-components/moment-adapter": "~7.0.0",
|
|
35
35
|
"@angular/animations": "~13.3.1",
|
package/public-api.d.ts
CHANGED
package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js
CHANGED
|
@@ -16,7 +16,10 @@ function createPublicResolverView(tree, args, addViewToService) {
|
|
|
16
16
|
prefix: projectInfo.projectPrefixDasherized,
|
|
17
17
|
className: view.nameWithoutComponent,
|
|
18
18
|
dasherize: core_1.strings.dasherize,
|
|
19
|
-
classify: core_1.strings.classify
|
|
19
|
+
classify: core_1.strings.classify,
|
|
20
|
+
configName: projectInfo.projectNameClassified,
|
|
21
|
+
configImportPath: (0, utility_functions_1.createRelativePath)(view.fileImportPath, `./${projectInfo.projectNameDasherized}-configuration.service`),
|
|
22
|
+
isDefaultTabbedTaskView: !!args.isDefaultTabbedTaskView
|
|
20
23
|
};
|
|
21
24
|
const commonPathPrefix = './views/public-resolver-view/files/';
|
|
22
25
|
const destinationPath = `${projectInfo.path}/views/${args.path}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-public-resolver-view.js","sourceRoot":"","sources":["../../../../../../../projects/netgrif-components/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.ts"],"names":[],"mappings":";;;AAAA,2DAA6D;AAC7D,+CAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"create-public-resolver-view.js","sourceRoot":"","sources":["../../../../../../../projects/netgrif-components/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.ts"],"names":[],"mappings":";;;AAAA,2DAA6D;AAC7D,+CAA6C;AAC7C,8EAAsH;AACtH,qFAAyE;AACzE,qFAA8E;AAE9E,0EAAmE;AACnE,sEAA+D;AAI/D,SAAgB,wBAAwB,CAAC,IAAU,EAAE,IAA0C,EAAE,gBAAyB;IACtH,MAAM,WAAW,GAAG,IAAA,kCAAc,EAAC,IAAI,CAAC,CAAC;IACzC,MAAM,IAAI,GAAG,IAAI,+BAAa,C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ViewToService) {
|
|
|
16
16
|
prefix: projectInfo.projectPrefixDasherized,
|
|
17
17
|
className: view.nameWithoutComponent,
|
|
18
18
|
dasherize: core_1.strings.dasherize,
|
|
19
|
+
configName: projectInfo.projectNameClassified,
|
|
19
20
|
classify: core_1.strings.classify,
|
|
21
|
+
configImportPath: (0, utility_functions_1.createRelativePath)(view.fileImportPath, `./${projectInfo.projectNameDasherized}-configuration.service`),
|
|
22
|
+
isDefaultTabbedTaskView: !!args.isDefaultTabbedTaskView
|
|
20
23
|
};
|
|
21
24
|
const commonPathPrefix = './views/public-single-task-view/files/';
|
|
22
25
|
const destinationPath = `${projectInfo.path}/views/${args.path}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-public-single-task-view.js","sourceRoot":"","sources":["../../../../../../../projects/netgrif-components/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.ts"],"names":[],"mappings":";;;AAAA,2DAA6D;AAC7D,+CAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"create-public-single-task-view.js","sourceRoot":"","sources":["../../../../../../../projects/netgrif-components/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.ts"],"names":[],"mappings":";;;AAAA,2DAA6D;AAC7D,+CAA6C;AAC7C,8EAAsH;AACtH,qFAAyE;AACzE,qFAA8E;AAE9E,0EAAmE;AACnE,sEAA+D;AAI/D,SAAgB,0BAA0B,CAAC,IAAU,EAAE,IAA0C,EAAE,gBAAyB;IACxH,MAAM,WAAW,GAAG,IAAA,kCAAc,EAAC,IAAI,CAAC,CAAC;IACzC,MAAM,IAAI,GAAG,IAAI,+BAAa,CAC1B,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,aAAa,CAAC,CAAC;IACxB,MAAM,KAAK,GAAG,EAAE,CAAC;IAEjB,MAAM,cAAc,GAAG;QACnB,MAAM,EAAE,WAAW,CAAC,uBAAuB;QAC3C,SAAS,EAAE,IAAI,CAAC,oBAAoB;QACpC,SAAS,EAAE,cAAO,CAAC,SAAS;QAC5B,UAAU,EAAE,WAAW,CAAC,qBAAqB;QAC7C,QAAQ,EAAE,cAAO,CAAC,QAAQ;QAC1B,gBAAgB,EAAE,IAAA,sCAAkB,EAAC,IAAI,CAAC,cAAc,EAAE,KAAK,WAAW,CAAC,qBAAqB,wBAAwB,CAAC;QACzH,uBAAuB,EAAE,CAAC,CAAC,IAAI,CAAC,uBAAuB;KAC1D,CAAC;IAEF,MAAM,gBAAgB,GAAG,wCAAwC,CAAC;IAClE,MAAM,eAAe,GAAG,GAAG,WAAW,CAAC,IAAI,UAAU,IAAI,CAAC,IAAI,EAAE,CAAC;IACjE,KAAK,CAAC,IAAI,CAAC,IAAA,4CAAwB,EAAC,GAAG,gBAAgB,QAAQ,EAAE,eAAe,EAAE,cAAc,CAAC,CAAC,CAAC;IAEnG,IAAA,wCAAe,EAAC,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE;QACvD,IAAI,2BAAW,CAAC,YAAY,EAAE,sBAAsB,CAAC;QACrD,IAAI,2BAAW,CAAC,gBAAgB,EAAE,0BAA0B,CAAC;QAC7D,IAAI,2BAAW,CAAC,sBAAsB,EAAE,qBAAqB,CAAC;QAC9D,IAAI,2BAAW,CAAC,uBAAuB,EAAE,qBAAqB,CAAC;QAC/D,IAAI,2BAAW,CAAC,uBAAuB,EAAE,qBAAqB,CAAC;KAClE,CAAC,CAAC;IAEH,IAAI,gBAAgB,EAAE;QAClB,IAAA,6CAAoB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;KACpC;IACD,OAAO,IAAA,kBAAK,EAAC,KAAK,CAAC,CAAC;AACxB,CAAC;AAlCD,gEAkCC"}
|
package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js
CHANGED
|
@@ -17,6 +17,9 @@ function createPublicTaskView(tree, args, addViewToService) {
|
|
|
17
17
|
className: view.nameWithoutComponent,
|
|
18
18
|
dasherize: core_1.strings.dasherize,
|
|
19
19
|
classify: core_1.strings.classify,
|
|
20
|
+
configName: projectInfo.projectNameClassified,
|
|
21
|
+
configImportPath: (0, utility_functions_1.createRelativePath)(view.fileImportPath, `./${projectInfo.projectNameDasherized}-configuration.service`),
|
|
22
|
+
isDefaultTabbedTaskView: !!args.isDefaultTabbedTaskView
|
|
20
23
|
};
|
|
21
24
|
const commonPathPrefix = './views/public-task-view/files/';
|
|
22
25
|
const destinationPath = `${projectInfo.path}/views/${args.path}`;
|
package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-public-task-view.js","sourceRoot":"","sources":["../../../../../../../projects/netgrif-components/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.ts"],"names":[],"mappings":";;;AAAA,2DAA6D;AAC7D,+CAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"create-public-task-view.js","sourceRoot":"","sources":["../../../../../../../projects/netgrif-components/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.ts"],"names":[],"mappings":";;;AAAA,2DAA6D;AAC7D,+CAA6C;AAC7C,8EAAsH;AACtH,qFAAyE;AACzE,qFAA8E;AAE9E,0EAAmE;AACnE,sEAA+D;AAI/D,SAAgB,oBAAoB,CAAC,IAAU,EAAE,IAA0C,EAAE,gBAAyB;IAClH,MAAM,WAAW,GAAG,IAAA,kCAAc,EAAC,IAAI,CAAC,CAAC;IACzC,MAAM,IAAI,GAAG,IAAI,+BAAa,CAC1B,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,aAAa,CAAC,CAAC;IACxB,MAAM,KAAK,GAAG,EAAE,CAAC;IAEjB,MAAM,cAAc,GAAG;QACnB,MAAM,EAAE,WAAW,CAAC,uBAAuB;QAC3C,SAAS,EAAE,IAAI,CAAC,oBAAoB;QACpC,SAAS,EAAE,cAAO,CAAC,SAAS;QAC5B,QAAQ,EAAE,cAAO,CAAC,QAAQ;QAC1B,UAAU,EAAE,WAAW,CAAC,qBAAqB;QAC7C,gBAAgB,EAAE,IAAA,sCAAkB,EAAC,IAAI,CAAC,cAAc,EAAE,KAAK,WAAW,CAAC,qBAAqB,wBAAwB,CAAC;QACzH,uBAAuB,EAAE,CAAC,CAAC,IAAI,CAAC,uBAAuB;KAC1D,CAAC;IAEF,MAAM,gBAAgB,GAAG,iCAAiC,CAAC;IAC3D,MAAM,eAAe,GAAG,GAAG,WAAW,CAAC,IAAI,UAAU,IAAI,CAAC,IAAI,EAAE,CAAC;IACjE,KAAK,CAAC,IAAI,CAAC,IAAA,4CAAwB,EAAC,GAAG,gBAAgB,QAAQ,EAAE,eAAe,EAAE,cAAc,CAAC,CAAC,CAAC;IAEnG,IAAA,wCAAe,EAAC,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE;QACvD,IAAI,2BAAW,CAAC,YAAY,EAAE,sBAAsB,CAAC;QACrD,IAAI,2BAAW,CAAC,gBAAgB,EAAE,0BAA0B,CAAC;QAC7D,IAAI,2BAAW,CAAC,sBAAsB,EAAE,qBAAqB,CAAC;QAC9D,IAAI,2BAAW,CAAC,uBAAuB,EAAE,qBAAqB,CAAC;QAC/D,IAAI,2BAAW,CAAC,uBAAuB,EAAE,qBAAqB,CAAC;KAClE,CAAC,CAAC;IAEH,IAAI,gBAAgB,EAAE;QAClB,IAAA,6CAAoB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;KACpC;IACD,OAAO,IAAA,kBAAK,EAAC,KAAK,CAAC,CAAC;AACxB,CAAC;AAlCD,oDAkCC"}
|
package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js
CHANGED
|
@@ -17,6 +17,9 @@ function createPublicWorkflowView(tree, args, addViewToService) {
|
|
|
17
17
|
className: view.nameWithoutComponent,
|
|
18
18
|
dasherize: core_1.strings.dasherize,
|
|
19
19
|
classify: core_1.strings.classify,
|
|
20
|
+
configName: projectInfo.projectNameClassified,
|
|
21
|
+
configImportPath: (0, utility_functions_1.createRelativePath)(view.fileImportPath, `./${projectInfo.projectNameDasherized}-configuration.service`),
|
|
22
|
+
isDefaultTabbedTaskView: !!args.isDefaultTabbedTaskView
|
|
20
23
|
};
|
|
21
24
|
const commonPathPrefix = './views/public-workflow-view/files/';
|
|
22
25
|
const destinationPath = `${projectInfo.path}/views/${args.path}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-public-workflow-view.js","sourceRoot":"","sources":["../../../../../../../projects/netgrif-components/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.ts"],"names":[],"mappings":";;;AAAA,2DAA6D;AAC7D,+CAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"create-public-workflow-view.js","sourceRoot":"","sources":["../../../../../../../projects/netgrif-components/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.ts"],"names":[],"mappings":";;;AAAA,2DAA6D;AAC7D,+CAA6C;AAC7C,8EAAsH;AACtH,qFAAyE;AACzE,qFAA8E;AAE9E,0EAAmE;AACnE,sEAA+D;AAI/D,SAAgB,wBAAwB,CAAC,IAAU,EAAE,IAA0C,EAAE,gBAAyB;IACtH,MAAM,WAAW,GAAG,IAAA,kCAAc,EAAC,IAAI,CAAC,CAAC;IACzC,MAAM,IAAI,GAAG,IAAI,+BAAa,CAC1B,IAAI,CAAC,IAAI,EACT,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,aAAa,CAAC,CAAC;IACxB,MAAM,KAAK,GAAG,EAAE,CAAC;IAEjB,MAAM,cAAc,GAAG;QACnB,MAAM,EAAE,WAAW,CAAC,uBAAuB;QAC3C,SAAS,EAAE,IAAI,CAAC,oBAAoB;QACpC,SAAS,EAAE,cAAO,CAAC,SAAS;QAC5B,QAAQ,EAAE,cAAO,CAAC,QAAQ;QAC1B,UAAU,EAAE,WAAW,CAAC,qBAAqB;QAC7C,gBAAgB,EAAE,IAAA,sCAAkB,EAAC,IAAI,CAAC,cAAc,EAAE,KAAK,WAAW,CAAC,qBAAqB,wBAAwB,CAAC;QACzH,uBAAuB,EAAE,CAAC,CAAC,IAAI,CAAC,uBAAuB;KAC1D,CAAC;IAEF,MAAM,gBAAgB,GAAG,qCAAqC,CAAC;IAC/D,MAAM,eAAe,GAAG,GAAG,WAAW,CAAC,IAAI,UAAU,IAAI,CAAC,IAAI,EAAE,CAAC;IACjE,KAAK,CAAC,IAAI,CAAC,IAAA,4CAAwB,EAAC,GAAG,gBAAgB,QAAQ,EAAE,eAAe,EAAE,cAAc,CAAC,CAAC,CAAC;IAEnG,IAAA,wCAAe,EAAC,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE;QACvD,IAAI,2BAAW,CAAC,YAAY,EAAE,sBAAsB,CAAC;QACrD,IAAI,2BAAW,CAAC,gBAAgB,EAAE,0BAA0B,CAAC;QAC7D,IAAI,2BAAW,CAAC,sBAAsB,EAAE,qBAAqB,CAAC;QAC9D,IAAI,2BAAW,CAAC,uBAAuB,EAAE,qBAAqB,CAAC;QAC/D,IAAI,2BAAW,CAAC,6BAA6B,EAAE,qBAAqB,CAAC;QACrE,IAAI,2BAAW,CAAC,uBAAuB,EAAE,qBAAqB,CAAC;KAElE,CAAC,CAAC;IAEH,IAAI,gBAAgB,EAAE;QAClB,IAAA,6CAAoB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;KACpC;IACD,OAAO,IAAA,kBAAK,EAAC,KAAK,CAAC,CAAC;AACxB,CAAC;AApCD,4DAoCC"}
|
|
@@ -15,7 +15,8 @@ import {
|
|
|
15
15
|
ResourceProvider,
|
|
16
16
|
ConfigurationService,
|
|
17
17
|
PublicUrlResolverService,
|
|
18
|
-
publicFactoryResolver
|
|
18
|
+
publicFactoryResolver,
|
|
19
|
+
RedirectService
|
|
19
20
|
} from '@netgrif/components-core';
|
|
20
21
|
import {ActivatedRoute, Router} from '@angular/router';
|
|
21
22
|
|
|
@@ -67,6 +68,6 @@ export class <%= classify(className) %>Component extends AbstractWorkflowViewCom
|
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
handleClick(workflow: Net) {
|
|
70
|
-
this._router.navigate([this._route.snapshot.url.join('/') + '/' + workflow.identifier]);
|
|
71
|
+
this._router.navigate([this._route.snapshot.url.join('/') + '/' + btoa(workflow.identifier)]);
|
|
71
72
|
}
|
|
72
73
|
}
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
.mat-form-field-outline-thick {
|
|
199
|
-
color: mat.get-contrast-color-from-palette($primary,
|
|
199
|
+
color: mat.get-contrast-color-from-palette($primary ,500);
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
&.mat-focused {
|
|
@@ -232,13 +232,6 @@
|
|
|
232
232
|
.form-input-error {
|
|
233
233
|
border-color: mat.get-color-from-palette($warn) !important;
|
|
234
234
|
}
|
|
235
|
-
|
|
236
|
-
.new-dashboard-tile {
|
|
237
|
-
border-color: mat.get-color-from-palette($primary);
|
|
238
|
-
border-style: dashed;
|
|
239
|
-
border-radius: 16px;
|
|
240
|
-
border-width: thin;
|
|
241
|
-
}
|
|
242
235
|
}
|
|
243
236
|
|
|
244
237
|
.mat-calendar-arrow {
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Component, Inject } from '@angular/core';
|
|
2
|
-
import { NAE_FILTER_FIELD, SearchService, AbstractFilterFieldTabViewContentComponent, NAE_BASE_FILTER, AllowedNetsService, AllowedNetsServiceFactory, CategoryFactory, NAE_SEARCH_CATEGORIES, CategoryResolverService } from '@netgrif/components-core';
|
|
3
|
-
import { filterFieldAllowedNetsFactory, filterFieldBaseFilterFactory, filterFieldCategoriesFactory } from '../filter-field-content/filter-field-content.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@netgrif/components-core";
|
|
6
|
-
import * as i2 from "@angular/cdk/portal";
|
|
7
|
-
export class FilterFieldTabViewContentComponent extends AbstractFilterFieldTabViewContentComponent {
|
|
8
|
-
constructor(registry, injector, filterField, searchService) {
|
|
9
|
-
super(registry, injector, filterField, searchService);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
FilterFieldTabViewContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterFieldTabViewContentComponent, deps: [{ token: i1.DashboardPortalComponentRegistryService }, { token: i0.Injector }, { token: NAE_FILTER_FIELD }, { token: i1.SearchService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
-
FilterFieldTabViewContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterFieldTabViewContentComponent, selector: "nc-filter-field-tab-view-content", providers: [
|
|
14
|
-
{ provide: NAE_BASE_FILTER, useFactory: filterFieldBaseFilterFactory, deps: [NAE_FILTER_FIELD] },
|
|
15
|
-
{ provide: AllowedNetsService, useFactory: filterFieldAllowedNetsFactory, deps: [AllowedNetsServiceFactory, NAE_FILTER_FIELD] },
|
|
16
|
-
CategoryFactory,
|
|
17
|
-
{ provide: NAE_SEARCH_CATEGORIES, useFactory: filterFieldCategoriesFactory, deps: [CategoryResolverService, NAE_FILTER_FIELD] },
|
|
18
|
-
SearchService
|
|
19
|
-
], usesInheritance: true, ngImport: i0, template: "<ng-template [cdkPortalOutlet]=\"componentPortal\"></ng-template>\n", styles: [""], directives: [{ type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterFieldTabViewContentComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: 'nc-filter-field-tab-view-content', providers: [
|
|
23
|
-
{ provide: NAE_BASE_FILTER, useFactory: filterFieldBaseFilterFactory, deps: [NAE_FILTER_FIELD] },
|
|
24
|
-
{ provide: AllowedNetsService, useFactory: filterFieldAllowedNetsFactory, deps: [AllowedNetsServiceFactory, NAE_FILTER_FIELD] },
|
|
25
|
-
CategoryFactory,
|
|
26
|
-
{ provide: NAE_SEARCH_CATEGORIES, useFactory: filterFieldCategoriesFactory, deps: [CategoryResolverService, NAE_FILTER_FIELD] },
|
|
27
|
-
SearchService
|
|
28
|
-
], template: "<ng-template [cdkPortalOutlet]=\"componentPortal\"></ng-template>\n", styles: [""] }]
|
|
29
|
-
}], ctorParameters: function () { return [{ type: i1.DashboardPortalComponentRegistryService }, { type: i0.Injector }, { type: i1.FilterField, decorators: [{
|
|
30
|
-
type: Inject,
|
|
31
|
-
args: [NAE_FILTER_FIELD]
|
|
32
|
-
}] }, { type: i1.SearchService }]; } });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWZpZWxkLXRhYi12aWV3LWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvZmlsdGVyLWZpZWxkL3RhYi12aWV3LWZpbHRlci1maWVsZC9maWx0ZXItZmllbGQtdGFiLXZpZXctY29udGVudC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy9maWx0ZXItZmllbGQvdGFiLXZpZXctZmlsdGVyLWZpZWxkL2ZpbHRlci1maWVsZC10YWItdmlldy1jb250ZW50LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFZLE1BQU0sZUFB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IF1cbn0pXG5leHBvcnQgY2xhc3MgRmlsdGVyRmllbGRUYWJWaWV3Q29udGVudENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0RmlsdGVyRmllbGRUYWJWaWV3Q29udGVudENvbXBvbmVudHtcblxuICAgIGNvbnN0cnVjdG9yKHJlZ2lzdHJ5OiBEYXNoYm9hcmRQb3J0YWxDb21wb25lbnRSZWdpc3RyeVNlcnZpY2UsXG4gICAgICAgICAgICAgICAgaW5qZWN0b3I6IEluamVjdG9yLFxuICAgICAgICAgICAgICAgIEBJbmplY3QoTkFFX0ZJTFRFUl9GSUVMRCkgZmlsdGVyRmllbGQ6IEZpbHRlckZpZWxkLFxuICAgICAgICAgICAgICAgIHNlYXJjaFNlcnZpY2U6IFNlYXJjaFNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIocmVnaXN0cnksIGluamVjdG9yLCBmaWx0ZXJGaWVsZCwgc2VhcmNoU2VydmljZSlcbiAgICB9XG59XG4iLCI8bmctdGVtcGxhdGUgW2Nka1BvcnRhbE91dGxldF09XCJjb21wb25lbnRQb3J0YWxcIj48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Input, Self, SkipSelf } from '@angular/core';
|
|
2
|
-
import { AbstractTaskRefDashboardTileComponent, NAE_TASK_OPERATIONS, TaskContentService, UnlimitedTaskContentService } from '@netgrif/components-core';
|
|
3
|
-
import { ComponentPortal } from '@angular/cdk/portal';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@netgrif/components-core";
|
|
6
|
-
import * as i2 from "@angular/material/button";
|
|
7
|
-
import * as i3 from "@angular/material/icon";
|
|
8
|
-
import * as i4 from "@angular/common";
|
|
9
|
-
import * as i5 from "@angular/cdk/portal";
|
|
10
|
-
import * as i6 from "@angular/flex-layout/flex";
|
|
11
|
-
export class TaskRefDashboardTileComponent extends AbstractTaskRefDashboardTileComponent {
|
|
12
|
-
constructor(caseResourceService, processService, logger, taskResourceService, callChainService, taskDataService, parentTaskContentService, taskOperations, _injector, _myTaskContentService) {
|
|
13
|
-
super(caseResourceService, processService, logger, taskResourceService, callChainService, parentTaskContentService, taskDataService, taskOperations);
|
|
14
|
-
this._injector = _injector;
|
|
15
|
-
this._myTaskContentService = _myTaskContentService;
|
|
16
|
-
}
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
if (this.tile.isEmpty) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
this._subTask = this._parentTaskContentService.task$.subscribe(t => {
|
|
22
|
-
const fakeTask = Object.assign({}, t);
|
|
23
|
-
fakeTask.dataGroups = this.tile.dataGroups;
|
|
24
|
-
this._myTaskContentService.task = fakeTask;
|
|
25
|
-
this._myTaskContentService.$shouldCreate.next(fakeTask.dataGroups);
|
|
26
|
-
});
|
|
27
|
-
this.portal = new ComponentPortal(this.taskContentComponentClassReference, null, this._injector);
|
|
28
|
-
}
|
|
29
|
-
ngOnDestroy() {
|
|
30
|
-
super.ngOnDestroy();
|
|
31
|
-
if (this._subTask !== undefined) {
|
|
32
|
-
this._subTask.unsubscribe();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
TaskRefDashboardTileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskRefDashboardTileComponent, deps: [{ token: i1.CaseResourceService }, { token: i1.ProcessService }, { token: i1.LoggerService }, { token: i1.TaskResourceService }, { token: i1.CallChainService }, { token: i1.TaskDataService }, { token: i1.TaskContentService, skipSelf: true }, { token: NAE_TASK_OPERATIONS }, { token: i0.Injector }, { token: i1.TaskContentService, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
TaskRefDashboardTileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TaskRefDashboardTileComponent, selector: "nc-task-ref-dashboard-tile", inputs: { taskContentComponentClassReference: "taskContentComponentClassReference" }, providers: [
|
|
38
|
-
{ provide: TaskContentService, useClass: UnlimitedTaskContentService }
|
|
39
|
-
], usesInheritance: true, ngImport: i0, template: "<ng-template [ngIf]=\"!tile.isEmpty\" [ngIfElse]=\"newDashboardTile\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</ng-template>\n\n<ng-template #newDashboardTile>\n <div class=\"fill-available-space\" [class.new-dashboard-tile]=\"!fc.disabled\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-icon-button\tcolor=\"primary\" *ngIf=\"!fc.disabled\" (click)=\"createNewDashboardTile()\">\n <mat-icon>add</mat-icon>\n </button>\n </div>\n</ng-template>\n", styles: [".fill-available-space{width:100%;height:100%}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { type: i6.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i6.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }] });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskRefDashboardTileComponent, decorators: [{
|
|
41
|
-
type: Component,
|
|
42
|
-
args: [{ selector: 'nc-task-ref-dashboard-tile', providers: [
|
|
43
|
-
{ provide: TaskContentService, useClass: UnlimitedTaskContentService }
|
|
44
|
-
], template: "<ng-template [ngIf]=\"!tile.isEmpty\" [ngIfElse]=\"newDashboardTile\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</ng-template>\n\n<ng-template #newDashboardTile>\n <div class=\"fill-available-space\" [class.new-dashboard-tile]=\"!fc.disabled\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-icon-button\tcolor=\"primary\" *ngIf=\"!fc.disabled\" (click)=\"createNewDashboardTile()\">\n <mat-icon>add</mat-icon>\n </button>\n </div>\n</ng-template>\n", styles: [".fill-available-space{width:100%;height:100%}\n"] }]
|
|
45
|
-
}], ctorParameters: function () { return [{ type: i1.CaseResourceService }, { type: i1.ProcessService }, { type: i1.LoggerService }, { type: i1.TaskResourceService }, { type: i1.CallChainService }, { type: i1.TaskDataService }, { type: i1.TaskContentService, decorators: [{
|
|
46
|
-
type: SkipSelf
|
|
47
|
-
}] }, { type: undefined, decorators: [{
|
|
48
|
-
type: Inject,
|
|
49
|
-
args: [NAE_TASK_OPERATIONS]
|
|
50
|
-
}] }, { type: i0.Injector }, { type: i1.TaskContentService, decorators: [{
|
|
51
|
-
type: Self
|
|
52
|
-
}] }]; }, propDecorators: { taskContentComponentClassReference: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}] } });
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1yZWYtZGFzaGJvYXJkLXRpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvdGFzay1yZWYtZmllbGQvdGFzay1yZWYtZGFzaGJvYXJkLWZpZWxkL3Rhc2stcmVmLWRhc2hib2FyZC10aWxlL3Rhc2stcmVmLWRhc2hib2FyZC10aWxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL3Rhc2stcmVmLWZpZWxkL3Rhc2stcmVmLWRhc2hib2FyZC1maWVsZC90YXNrLXJlZi1kYXNoYm9hcmQtdGlsZS90YXNrLXJlZi1kYXNoYm9hcmQtdGlsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBWSxLQUFLLEVBQXFCLElBQUksRUFBRSxRQUFRLEVBQU8sTUFB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nRzIE9uSW5pdCwgT25EZXN0cm95IHtcblxuICAgIHBvcnRhbDogQ29tcG9uZW50UG9ydGFsPGFueT47XG4gICAgQElucHV0KCkgdGFza0NvbnRlbnRDb21wb25lbnRDbGFzc1JlZmVyZW5jZTogVHlwZTxhbnk+O1xuXG4gICAgcHJpdmF0ZSBfc3ViVGFzazogU3Vic2NyaXB0aW9uO1xuXG4gICAgY29uc3RydWN0b3IoY2FzZVJlc291cmNlU2VydmljZTogQ2FzZVJlc291cmNlU2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm9jZXNzU2VydmljZTogUHJvY2Vzc1NlcnZpY2UsXG4gICAgICAgICAgICAgICAgbG9nZ2VyOiBMb2dnZXJTZXJ2aWNlLFxuICAgICAgICAgICAgICAgIHRhc2tSZXNvdXJjZVNlcnZpY2U6IFRhc2tSZXNvdXJjZVNlcnZpY2UsXG4gICAgICAgICAgICAgICAgY2FsbENoYWluU2VydmljZTogQ2FsbENoYWluU2VydmljZSxcbiAgICAgICAgICAgICAgICB0YXNrRGF0YVNlcnZpY2U6IFRhc2tEYXRhU2VydmljZSxcbiAgICAgICAgICAgICAgICBAU2tpcFNlbGYoKSBwYXJlbnRUYXNrQ29udGVudFNlcnZpY2U6IFRhc2tDb250ZW50U2VydmljZSxcbiAgICAgICAgICAgICAgICBASW5qZWN0KE5BRV9UQVNLX09QRVJBVElPTlMpIHRhc2tPcGVyYXRpb25zOiBUYXNrT3BlcmF0aW9ucyxcbiAgICAgICAgICAgICAgICBwcm90ZWN0ZWQgX2luamVjdG9yOiBJbmplY3RvcixcbiAgICAgICAgICAgICAgICBAU2VsZigpIHByb3RlY3RlZCBfbXlUYXNrQ29udGVudFNlcnZpY2U6IFRhc2tDb250ZW50U2VydmljZSkge1xuICAgICAgICBzdXBlcihjYXNlUmVzb3VyY2VTZXJ2aWNlLCBwcm9jZXNzU2VydmljZSwgbG9nZ2VyLCB0YXNrUmVzb3VyY2VTZXJ2aWNlLCBjYWxsQ2hhaW5TZXJ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ZXdEYXNoYm9hcmRUaWxlXCI+XG4gICAgPG5nLXRlbXBsYXRlIFtjZGtQb3J0YWxPdXRsZXRdPVwicG9ydGFsXCI+PC9uZy10ZW1wbGF0ZT5cbjwvbmctdGVtcGxhdGU+XG5cbjxuZy10ZW1wbGF0ZSAjbmV3RGFzaGJvYXJkVGlsZT5cbiAgICA8ZGl2IGNsYXNzPVwiZmlsbC1hdmFpbGFibGUtc3BhY2VcIiBbY2xhc3MubmV3LWRhc2hib2FyZC10aWxlXT1cIiFmYy5kaXNhYmxlZFwiIGZ4TGF5b3V0PVwicm93XCIgZnhMYXlvdXRBbGlnbj1cImNlbnRlciBjZW50ZXJcIj5cbiAgICAgICAgPGJ1dHRvbiBtYXQtaWNvbi1idXR0b25cdGNvbG9yPVwicHJpbWFyeVwiICpuZ0lmPVwiIWZjLmRpc2FibGVkXCIgKGNsaWNrKT1cImNyZWF0ZU5ld0Rhc2hib2FyZFRpbGUoKVwiPlxuICAgICAgICAgICAgPG1hdC1pY29uPmFkZDwvbWF0LWljb24+XG4gICAgICAgIDwvYnV0dG9uPlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Component, Inject, Input, Optional } from '@angular/core';
|
|
2
|
-
import { AbstractTaskRefFieldComponent, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@netgrif/components-core";
|
|
5
|
-
import * as i2 from "./task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component";
|
|
6
|
-
import * as i3 from "@angular/flex-layout/grid";
|
|
7
|
-
import * as i4 from "@angular/common";
|
|
8
|
-
export class TaskRefFieldComponent extends AbstractTaskRefFieldComponent {
|
|
9
|
-
constructor(logger, informAboutInvalidData) {
|
|
10
|
-
super(logger, informAboutInvalidData);
|
|
11
|
-
}
|
|
12
|
-
getGridColumns() {
|
|
13
|
-
return `repeat(${this.dataField.dashboardCols}, 1fr)`;
|
|
14
|
-
}
|
|
15
|
-
getGridRows() {
|
|
16
|
-
return `repeat(${this.dataField.dashboardRows}, minmax(320px, auto))`;
|
|
17
|
-
}
|
|
18
|
-
getTileGridColumn(tile) {
|
|
19
|
-
return `${tile.x + 1} / span ${tile.cols}`;
|
|
20
|
-
}
|
|
21
|
-
getTileGridRow(tile) {
|
|
22
|
-
return `${tile.y + 1} / span ${tile.rows}`;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
TaskRefFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskRefFieldComponent, deps: [{ token: i1.LoggerService }, { token: NAE_INFORM_ABOUT_INVALID_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
TaskRefFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TaskRefFieldComponent, selector: "nc-task-ref-field", inputs: { taskContentComponentClassReference: "taskContentComponentClassReference" }, usesInheritance: true, ngImport: i0, template: "<!-- TODO extract dashboard implementation into a separate component class to follow the structure of other field implementations -->\n<div class=\"fill-available-space\" [gdColumns]=\"getGridColumns()\" [gdRows]=\"getGridRows()\">\n <nc-task-ref-dashboard-tile *ngFor=\"let tile of dashboardTiles\"\n [tile]=\"tile\"\n [taskRef]=\"dataField\"\n [fc]=\"formControl\"\n [gdColumn]=\"getTileGridColumn(tile)\"\n [gdRow]=\"getTileGridRow(tile)\"\n [taskContentComponentClassReference]=\"taskContentComponentClassReference\"></nc-task-ref-dashboard-tile>\n</div>\n", styles: [".fill-available-space{width:100%;height:100%}:host ::ng-deep .dashboard-workflow-view,:host ::ng-deep .dashboard-task-list,:host ::ng-deep .dashboard-case-list{min-height:320px!important}:host ::ng-deep .dashboard-iframe-card{min-height:304px!important}:host ::ng-deep .dashboard-bar-chart,:host ::ng-deep .dashboard-pie-chart,:host ::ng-deep .dashboard-line-chart{height:320px!important;width:200px!important}\n"], components: [{ type: i2.TaskRefDashboardTileComponent, selector: "nc-task-ref-dashboard-tile", inputs: ["taskContentComponentClassReference"] }], directives: [{ type: i3.DefaultGridColumnsDirective, selector: " [gdColumns], [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl], [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl], [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]", inputs: ["gdColumns", "gdColumns.xs", "gdColumns.sm", "gdColumns.md", "gdColumns.lg", "gdColumns.xl", "gdColumns.lt-sm", "gdColumns.lt-md", "gdColumns.lt-lg", "gdColumns.lt-xl", "gdColumns.gt-xs", "gdColumns.gt-sm", "gdColumns.gt-md", "gdColumns.gt-lg"] }, { type: i3.DefaultGridRowsDirective, selector: " [gdRows], [gdRows.xs], [gdRows.sm], [gdRows.md], [gdRows.lg], [gdRows.xl], [gdRows.lt-sm], [gdRows.lt-md], [gdRows.lt-lg], [gdRows.lt-xl], [gdRows.gt-xs], [gdRows.gt-sm], [gdRows.gt-md], [gdRows.gt-lg]", inputs: ["gdRows", "gdRows.xs", "gdRows.sm", "gdRows.md", "gdRows.lg", "gdRows.xl", "gdRows.lt-sm", "gdRows.lt-md", "gdRows.lt-lg", "gdRows.lt-xl", "gdRows.gt-xs", "gdRows.gt-sm", "gdRows.gt-md", "gdRows.gt-lg"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.DefaultGridColumnDirective, selector: " [gdColumn], [gdColumn.xs], [gdColumn.sm], [gdColumn.md], [gdColumn.lg], [gdColumn.xl], [gdColumn.lt-sm], [gdColumn.lt-md], [gdColumn.lt-lg], [gdColumn.lt-xl], [gdColumn.gt-xs], [gdColumn.gt-sm], [gdColumn.gt-md], [gdColumn.gt-lg]", inputs: ["gdColumn", "gdColumn.xs", "gdColumn.sm", "gdColumn.md", "gdColumn.lg", "gdColumn.xl", "gdColumn.lt-sm", "gdColumn.lt-md", "gdColumn.lt-lg", "gdColumn.lt-xl", "gdColumn.gt-xs", "gdColumn.gt-sm", "gdColumn.gt-md", "gdColumn.gt-lg"] }, { type: i3.DefaultGridRowDirective, selector: " [gdRow], [gdRow.xs], [gdRow.sm], [gdRow.md], [gdRow.lg], [gdRow.xl], [gdRow.lt-sm], [gdRow.lt-md], [gdRow.lt-lg], [gdRow.lt-xl], [gdRow.gt-xs], [gdRow.gt-sm], [gdRow.gt-md], [gdRow.gt-lg]", inputs: ["gdRow", "gdRow.xs", "gdRow.sm", "gdRow.md", "gdRow.lg", "gdRow.xl", "gdRow.lt-sm", "gdRow.lt-md", "gdRow.lt-lg", "gdRow.lt-xl", "gdRow.gt-xs", "gdRow.gt-sm", "gdRow.gt-md", "gdRow.gt-lg"] }] });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TaskRefFieldComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{ selector: 'nc-task-ref-field', template: "<!-- TODO extract dashboard implementation into a separate component class to follow the structure of other field implementations -->\n<div class=\"fill-available-space\" [gdColumns]=\"getGridColumns()\" [gdRows]=\"getGridRows()\">\n <nc-task-ref-dashboard-tile *ngFor=\"let tile of dashboardTiles\"\n [tile]=\"tile\"\n [taskRef]=\"dataField\"\n [fc]=\"formControl\"\n [gdColumn]=\"getTileGridColumn(tile)\"\n [gdRow]=\"getTileGridRow(tile)\"\n [taskContentComponentClassReference]=\"taskContentComponentClassReference\"></nc-task-ref-dashboard-tile>\n</div>\n", styles: [".fill-available-space{width:100%;height:100%}:host ::ng-deep .dashboard-workflow-view,:host ::ng-deep .dashboard-task-list,:host ::ng-deep .dashboard-case-list{min-height:320px!important}:host ::ng-deep .dashboard-iframe-card{min-height:304px!important}:host ::ng-deep .dashboard-bar-chart,:host ::ng-deep .dashboard-pie-chart,:host ::ng-deep .dashboard-line-chart{height:320px!important;width:200px!important}\n"] }]
|
|
30
|
-
}], ctorParameters: function () { return [{ type: i1.LoggerService }, { type: undefined, decorators: [{
|
|
31
|
-
type: Optional
|
|
32
|
-
}, {
|
|
33
|
-
type: Inject,
|
|
34
|
-
args: [NAE_INFORM_ABOUT_INVALID_DATA]
|
|
35
|
-
}] }]; }, propDecorators: { taskContentComponentClassReference: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1yZWYtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvdGFzay1yZWYtZmllbGQvdGFzay1yZWYtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvdGFzay1yZWYtZmllbGQvdGFzay1yZWYtZmllbGQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBTyxNQUFNLGVBQWUsQ0FBQztBQUN2RSxPQUFPLEVBQUMsNkJBQTZCLEVBQWlCLDZCQUE2QixFQUF1QixNQUFNLDBCQUEwQixDQUFDOzs7Ozs7QUFPM0ksTUFBTSxPQUFPLHFCQUFzQixTQUFRLDZCQUE2QjtJQUlwRSxZQUFZLE1BQXFCLEVBQzhCLHNCQUFzQztRQUNqRyxLQUFLLENBQUMsTUFBTSxFQUFFLHNCQUFzQixDQUFD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dyaWRSb3codGlsZTogVGFza1JlZkRhc2hib2FyZFRpbGUpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gYCR7dGlsZS55ICsgMX0gLyBzcGFuICR7dGlsZS5yb3dzfWA7XG4gICAgfVxuXG59XG4iLCI8IS0tIFRPRE8gZXh0cmFjdCBkYXNoYm9hcmQgaW1wbGVtZW50YXRpb24gaW50byBhIHNlcGFyYXRlIGNvbXBvbmVudCBjbGFzcyB0byBmb2xsb3cgdGhlIHN0cnVjdHVyZSBvZiBvdGhlciBmaWVsZCBpbXBsZW1lbnRhdGlvbnMgLS0+XG48ZGl2IGNsYXNzPVwiZmlsbC1hdmFpbGFibGUtc3BhY2VcIiBbZ2RDb2x1bW5zXT1cImdldEdyaWRDb2x1bW5zKClcIiBbZ2RSb3dzXT1cImdldEdyaWRSb3dzKClcIj5cbiAgICA8bmMtdGFzay1yZWYtZGFzaGJvYXJkLXRpbGUgKm5nRm9yPVwibGV0IHRpbGUgb2YgZGFzaGJvYXJkVGlsZXNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdGlsZV09XCJ0aWxlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Rhc2tSZWZdPVwiZGF0YUZpZWxkXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2ZjXT1cImZvcm1Db250cm9sXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2dkQ29sdW1uXT1cImdldFRpbGVHcmlkQ29sdW1uKHRpbGUpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2dkUm93XT1cImdldFRpbGVHcmlkUm93KHRpbGUpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Rhc2tDb250ZW50Q29tcG9uZW50Q2xhc3NSZWZlcmVuY2VdPVwidGFza0NvbnRlbnRDb21wb25lbnRDbGFzc1JlZmVyZW5jZVwiPjwvbmMtdGFzay1yZWYtZGFzaGJvYXJkLXRpbGU+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractDashboardBarChartTextFieldComponent } from '@netgrif/components-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@ngx-translate/core";
|
|
5
|
-
import * as i2 from "../textarea-field/textarea-field.component";
|
|
6
|
-
import * as i3 from "../../../dashboard/cards/barchart-card/barchart-card.component";
|
|
7
|
-
import * as i4 from "@angular/common";
|
|
8
|
-
export class DashboardBarChartTextFieldComponent extends AbstractDashboardBarChartTextFieldComponent {
|
|
9
|
-
constructor(translate) {
|
|
10
|
-
super(translate);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
DashboardBarChartTextFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardBarChartTextFieldComponent, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
-
DashboardBarChartTextFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DashboardBarChartTextFieldComponent, selector: "nc-dashboard-bar-chart-text-field", usesInheritance: true, ngImport: i0, template: "<ng-template [ngIf]=\"!formControlRef.disabled && textField.behavior.editable\" [ngIfElse]=\"visibleChart\">\n <nc-textarea-field [textAreaField]=\"textField\"\n [formControlRef]=\"formControlRef\"\n [showLargeLayout]=\"showLargeLayout\"></nc-textarea-field>\n</ng-template>\n\n<ng-template #visibleChart>\n <nc-barchart-card *ngIf=\"initialized\" [card]=\"card\" class=\"full-size\"></nc-barchart-card>\n</ng-template>\n", styles: [".full-size{width:100%;height:100%;margin:auto;padding:0}\n"], components: [{ type: i2.TextareaFieldComponent, selector: "nc-textarea-field" }, { type: i3.BarchartCardComponent, selector: "nc-barchart-card", outputs: ["selectEvent"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardBarChartTextFieldComponent, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{ selector: 'nc-dashboard-bar-chart-text-field', template: "<ng-template [ngIf]=\"!formControlRef.disabled && textField.behavior.editable\" [ngIfElse]=\"visibleChart\">\n <nc-textarea-field [textAreaField]=\"textField\"\n [formControlRef]=\"formControlRef\"\n [showLargeLayout]=\"showLargeLayout\"></nc-textarea-field>\n</ng-template>\n\n<ng-template #visibleChart>\n <nc-barchart-card *ngIf=\"initialized\" [card]=\"card\" class=\"full-size\"></nc-barchart-card>\n</ng-template>\n", styles: [".full-size{width:100%;height:100%;margin:auto;padding:0}\n"] }]
|
|
18
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }]; } });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLWJhci1jaGFydC10ZXh0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL3RleHQtZmllbGQvZGFzaGJvYXJkLWJhci1jaGFydC10ZXh0LWZpZWxkL2Rhc2hib2FyZC1iYXItY2hhcnQtdGV4dC1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy90ZXh0LWZpZWxkL2Rhc2hib2FyZC1iYXItY2hhcnQtdGV4dC1maWVsZC9kYXNoYm9hcmQtYmFyLWNoYXJ0LXRleHQtZmllbGQuY29tcG9uZW50Lmh0bWwiXS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29tcG9uZW50IHtcblxuICAgIGNvbnN0cnVjdG9yKHRyYW5zbGF0ZTogVHJhbnNsYXRlU2VydmljZSkge1xuICAgICAgICBzdXBlcih0cmFuc2xhdGUpO1xuICAgIH1cblxufVxuIiwiPG5nLXRlbXBsYXRlIFtuZ0lmXT1cIiFmb3JtQ29udHJvbFJlZi5kaXNhYmxlZCAmJiB0ZXh0RmllbGQuYmVoYXZpb3IuZWRpdGFibGVcIiBbbmdJZkVsc2VdPVwidmlzaWJsZUNoYXJ0XCI+XG4gICAgPG5jLXRleHRhcmVhLWZpZWxkIFt0ZXh0QXJlYUZpZWxkXT1cInRleHRGaWVsZFwiXG4gICAgICAgICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbFJlZl09XCJmb3JtQ29udHJvbFJlZlwiXG4gICAgICAgICAgICAgICAgICAgICAgIFtzaG93TGFyZ2VMYXlvdXRdPVwic2hvd0xhcmdlTGF5b3V0XCI+PC9uYy10ZXh0YXJlYS1maWVsZD5cbjwvbmctdGVtcGxhdGU+XG5cbjxuZy10ZW1wbGF0ZSAjdmlzaWJsZUNoYXJ0PlxuICAgIDxuYy1iYXJjaGFydC1jYXJkICpuZ0lmPVwiaW5pdGlhbGl6ZWRcIiBbY2FyZF09XCJjYXJkXCIgY2xhc3M9XCJmdWxsLXNpemVcIj48L25jLWJhcmNoYXJ0LWNhcmQ+XG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractDashboardIframeTextFieldComponent } from '@netgrif/components-core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@ngx-translate/core";
|
|
5
|
-
import * as i2 from "../simple-text-field/simple-text-field.component";
|
|
6
|
-
import * as i3 from "../../../dashboard/cards/iframe-card/iframe-card.component";
|
|
7
|
-
import * as i4 from "@angular/common";
|
|
8
|
-
export class DashboardIframeTextFieldComponent extends AbstractDashboardIframeTextFieldComponent {
|
|
9
|
-
constructor(translate) {
|
|
10
|
-
super(translate);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
DashboardIframeTextFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardIframeTextFieldComponent, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
-
DashboardIframeTextFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DashboardIframeTextFieldComponent, selector: "nc-dashboard-iframe-text-field", usesInheritance: true, ngImport: i0, template: "<ng-template [ngIf]=\"!formControlRef.disabled && textField.behavior.editable\" [ngIfElse]=\"visibleChart\">\n <nc-simple-text-field [textField]=\"textField\"\n [formControlRef]=\"formControlRef\"\n [showLargeLayout]=\"showLargeLayout\"></nc-simple-text-field>\n</ng-template>\n\n<ng-template #visibleChart>\n <nc-iframe-card *ngIf=\"initialized\" [card]=\"card\" class=\"full-size\"></nc-iframe-card>\n</ng-template>\n", styles: [".full-size{width:100%;height:250px;margin:auto;padding:0}\n"], components: [{ type: i2.SimpleTextFieldComponent, selector: "nc-simple-text-field" }, { type: i3.IframeCardComponent, selector: "nc-iframe-card" }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DashboardIframeTextFieldComponent, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{ selector: 'nc-dashboard-iframe-text-field', template: "<ng-template [ngIf]=\"!formControlRef.disabled && textField.behavior.editable\" [ngIfElse]=\"visibleChart\">\n <nc-simple-text-field [textField]=\"textField\"\n [formControlRef]=\"formControlRef\"\n [showLargeLayout]=\"showLargeLayout\"></nc-simple-text-field>\n</ng-template>\n\n<ng-template #visibleChart>\n <nc-iframe-card *ngIf=\"initialized\" [card]=\"card\" class=\"full-size\"></nc-iframe-card>\n</ng-template>\n", styles: [".full-size{width:100%;height:250px;margin:auto;padding:0}\n"] }]
|
|
18
|
-
}], ctorParameters: function () { return [{ type: i1.TranslateService }]; } });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLWlmcmFtZS10ZXh0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL3RleHQtZmllbGQvZGFzaGJvYXJkLWlmcmFtZS10ZXh0LWZpZWxkL2Rhc2hib2FyZC1pZnJhbWUtdGV4dC1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZXRncmlmLWNvbXBvbmVudHMvc3JjL2xpYi9kYXRhLWZpZWxkcy90ZXh0LWZpZWxkL2Rhc2hib2FyZC1pZnJhbWUtdGV4dC1maWVsZC9kYXNoYm9hcmQtaWZyYW1lLXRleHQtZmllbGQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN4QyxPQUFPLEVBQUMseUNBQXlDLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7O0FBUW5GLE1BQU0sT0FBTyxpQ0FBa0MsU0FBUSx5Q0FBeUM7SUFFNUYsWUFBWSxTQUEyQjtRQUNuQyxLQUFLLENBQUMsU0FBUyxDQUFDLENBQUM7SUFDckIsQ0FBQzs7K0hBSlEsaUNBQWlDO21IQUFqQyxpQ0FBaUMsNkZDVDlDLHVkQVNBOzRGREFhLGlDQUFpQztrQkFMN0MsU0FBUzsrQ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