cronapp-framework-js 2.8.31 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/crn-QRCode.components.json +1 -1
- package/components/crn-button.components.json +7 -2
- package/components/crn-chart.components.json +2 -2
- package/components/crn-checkbox.components.json +8 -0
- package/components/crn-cron-captcha.components.json +2 -2
- package/components/crn-cron-dashboard-viewer.components.json +48 -0
- package/components/crn-cron-report-viewer.components.json +1 -1
- package/components/crn-cron-rich-editor.components.json +1 -1
- package/components/crn-cron-scheduler.components.json +1 -1
- package/components/crn-cron-tree-view.components.json +1 -1
- package/components/crn-datasource.components.json +1 -1
- package/components/crn-datetimepicker.components.json +1 -1
- package/components/crn-dynamic-menu.components.json +2 -2
- package/components/crn-enterprise-checkbox.components.json +7 -1
- package/components/crn-enterprise-combobox-multiple.components.json +5 -0
- package/components/crn-form-template.components.json +1 -1
- package/components/crn-frame.components.json +68 -0
- package/components/crn-grid.components.json +1 -1
- package/components/crn-icon.components.json +14 -10
- package/components/crn-input-password.components.json +69 -0
- package/components/crn-jumbotron.components.json +1 -1
- package/components/crn-list-item.components.json +4 -1
- package/components/crn-navbar.components.json +1 -1
- package/components/crn-ordered-list.components.json +1 -0
- package/components/crn-ordered-sub-list.components.json +1 -0
- package/components/crn-rating.components.json +17 -22
- package/components/crn-signature-pad.components.json +36 -0
- package/components/crn-slider.components.json +1 -1
- package/components/crn-social-login.components.json +1 -1
- package/components/crn-table.components.json +1 -1
- package/components/crn-tabs.components.json +1 -1
- package/components/crn-textinputbutton.components.json +1 -1
- package/components/crn-timeline.components.json +44 -0
- package/components/crn-unordered-list.components.json +1 -0
- package/components/crn-unordered-sub-list.components.json +1 -0
- package/components/cron-breadcrumbs.components.json +48 -5
- package/components/cron-ordered-list.components.json +152 -0
- package/components/css/checkbox-color.css +189 -63
- package/components/css/color-default.css +2 -0
- package/components/css/crn-input-password.css +32 -0
- package/components/css/designtime.css +294 -0
- package/components/css/font-size.css +15 -0
- package/components/dashboard/dashboard.view.html +14 -0
- package/components/templates/checkbox.template.html +4 -4
- package/components/templates/crn-input-password.designtime.html +1 -1
- package/components/templates/crn-signature-pad.designtime.html +8 -0
- package/components/templates/crn-signature-pad.template.html +1 -0
- package/components/templates/cron-breadcrumbs.template.html +1 -1
- package/components/templates/cron-chat.designtime.html +0 -19
- package/components/templates/cron-checkbox.template.html +3 -4
- package/components/templates/cron-combobox-multiple.template.html +2 -2
- package/components/templates/cron-crud.template.html +35 -7
- package/components/templates/cron-dashboard-viewer.designtime.html +15 -0
- package/components/templates/cron-dashboard-viewer.template.html +1 -0
- package/components/templates/cron-dynamic-combobox.template.html +3 -2
- package/components/templates/cron-dynamic-menu.designtime.html +1 -1
- package/components/templates/cron-dynamic-menu.template.html +3 -1
- package/components/templates/cron-frame.designtime.html +7 -0
- package/components/templates/cron-frame.template.html +2 -0
- package/components/templates/cron-ordered-list.template.html +7 -0
- package/components/templates/fileupload.template.html +1 -1
- package/components/templates/form.template.html +36 -21
- package/components/templates/icon.template.html +1 -1
- package/components/templates/image-menu.template.html +1 -1
- package/components/templates/navbar.template.html +3 -3
- package/components/templates/rating.template.html +7 -9
- package/components/templates/social-button-bar.template.html +11 -12
- package/components/templates/sub-form.template.html +38 -11
- package/components/templates/timeline.designtime.html +65 -0
- package/components/templates/timeline.template.html +3 -0
- package/css/app.css +315 -18
- package/css/cronos.css +1 -1
- package/css/privacy/privacy.css +59 -0
- package/css/reset_password.css +5 -0
- package/css/signup.css +16 -0
- package/css/themes/custom/_bootswatch-v3.3.3/_media-print.css +71 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/alert.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.3/badge.css +47 -0
- package/css/themes/custom/_bootswatch-v3.3.3/basics.css +620 -0
- package/css/themes/custom/_bootswatch-v3.3.3/blockquote.css +54 -0
- package/css/themes/custom/_bootswatch-v3.3.3/breadcrumb.css +21 -0
- package/css/themes/custom/_bootswatch-v3.3.3/btn-group.css +169 -0
- package/css/themes/custom/_bootswatch-v3.3.3/btn-toolbar.css +15 -0
- package/css/themes/custom/_bootswatch-v3.3.3/btn.css +158 -0
- package/css/themes/custom/_bootswatch-v3.3.3/caret.css +24 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/carousel.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.3/close.css +27 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/col.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/collapse.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.3/container.css +49 -0
- package/css/themes/custom/_bootswatch-v3.3.3/dropdown.css +133 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/embed-responsive.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.3/form.css +401 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/glyphicon.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.3/has.css +172 -0
- package/css/themes/custom/_bootswatch-v3.3.3/import_bootswatch.css +46 -0
- package/css/themes/custom/_bootswatch-v3.3.3/input-group.css +184 -0
- package/css/themes/custom/_bootswatch-v3.3.3/input.css +39 -0
- package/css/themes/custom/_bootswatch-v3.3.3/jumbotron.css +44 -0
- package/css/themes/custom/_bootswatch-v3.3.3/kbd.css +17 -0
- package/css/themes/custom/_bootswatch-v3.3.3/label.css +33 -0
- package/css/themes/custom/_bootswatch-v3.3.3/list-group.css +75 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/media.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.3/modal.css +143 -0
- package/css/themes/custom/_bootswatch-v3.3.3/nav-justified.css +27 -0
- package/css/themes/custom/_bootswatch-v3.3.3/nav-pills.css +11 -0
- package/css/themes/custom/_bootswatch-v3.3.3/nav-stacked.css +8 -0
- package/css/themes/custom/_bootswatch-v3.3.3/nav-tabs.css +78 -0
- package/css/themes/custom/_bootswatch-v3.3.3/nav.css +27 -0
- package/css/themes/custom/_bootswatch-v3.3.3/navbar.css +351 -0
- package/css/themes/custom/_bootswatch-v3.3.3/pager.css +27 -0
- package/css/themes/custom/_bootswatch-v3.3.3/pagination.css +71 -0
- package/css/themes/custom/_bootswatch-v3.3.3/panel.css +264 -0
- package/css/themes/custom/_bootswatch-v3.3.3/popover.css +149 -0
- package/css/themes/custom/_bootswatch-v3.3.3/pre.css +22 -0
- package/css/themes/custom/_bootswatch-v3.3.3/progress.css +63 -0
- package/css/themes/custom/_bootswatch-v3.3.3/table.css +268 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/text.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.3/thumbnail.css +41 -0
- package/css/themes/custom/_bootswatch-v3.3.3/tooltip.css +129 -0
- package/css/themes/custom/{fuse/components_css → _bootswatch-v3.3.3}/visible.css +92 -38
- package/css/themes/custom/_bootswatch-v3.3.3/well.css +25 -0
- package/css/themes/custom/_bootswatch-v3.3.6/_media-print.css +71 -0
- package/css/themes/custom/_bootswatch-v3.3.6/alert.css +48 -0
- package/css/themes/custom/_bootswatch-v3.3.6/animations.css +26 -0
- package/css/themes/custom/_bootswatch-v3.3.6/badge.css +58 -0
- package/css/themes/custom/_bootswatch-v3.3.6/basics.css +725 -0
- package/css/themes/custom/_bootswatch-v3.3.6/blockquote.css +54 -0
- package/css/themes/custom/_bootswatch-v3.3.6/breadcrumb.css +21 -0
- package/css/themes/custom/_bootswatch-v3.3.6/btn.css +491 -0
- package/css/themes/custom/_bootswatch-v3.3.6/carousel.css +261 -0
- package/css/themes/custom/_bootswatch-v3.3.6/close.css +37 -0
- package/css/themes/custom/_bootswatch-v3.3.6/col.css +787 -0
- package/css/themes/custom/_bootswatch-v3.3.6/collapse.css +30 -0
- package/css/themes/custom/_bootswatch-v3.3.6/container.css +31 -0
- package/css/themes/custom/_bootswatch-v3.3.6/dropdown.css +158 -0
- package/css/themes/custom/_bootswatch-v3.3.6/embed-responsive.css +29 -0
- package/css/themes/custom/_bootswatch-v3.3.6/fade.css +10 -0
- package/css/themes/custom/_bootswatch-v3.3.6/form_input.css +782 -0
- package/css/themes/custom/_bootswatch-v3.3.6/glyphicon.css +1066 -0
- package/css/themes/custom/_bootswatch-v3.3.6/img_figure.css +39 -0
- package/css/themes/custom/_bootswatch-v3.3.6/import_bootswatch.css +38 -0
- package/css/themes/custom/_bootswatch-v3.3.6/input-group.css +184 -0
- package/css/themes/custom/_bootswatch-v3.3.6/jumbotron.css +49 -0
- package/css/themes/custom/_bootswatch-v3.3.6/label.css +35 -0
- package/css/themes/custom/_bootswatch-v3.3.6/list-group.css +133 -0
- package/css/themes/custom/_bootswatch-v3.3.6/media.css +60 -0
- package/css/themes/custom/_bootswatch-v3.3.6/modal.css +143 -0
- package/css/themes/custom/_bootswatch-v3.3.6/nav.css +276 -0
- package/css/themes/custom/_bootswatch-v3.3.6/navbar.css +408 -0
- package/css/themes/custom/_bootswatch-v3.3.6/pager.css +44 -0
- package/css/themes/custom/_bootswatch-v3.3.6/pagination.css +109 -0
- package/css/themes/custom/_bootswatch-v3.3.6/panel.css +288 -0
- package/css/themes/custom/_bootswatch-v3.3.6/popover.css +154 -0
- package/css/themes/custom/_bootswatch-v3.3.6/progress.css +95 -0
- package/css/themes/custom/_bootswatch-v3.3.6/table.css +171 -0
- package/css/themes/custom/_bootswatch-v3.3.6/text.css +31 -0
- package/css/themes/custom/_bootswatch-v3.3.6/thumbnail.css +29 -0
- package/css/themes/custom/_bootswatch-v3.3.6/tooltip.css +129 -0
- package/css/themes/custom/_bootswatch-v3.3.6/visible.css +269 -0
- package/css/themes/custom/_bootswatch-v3.3.6/well.css +31 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/_media-print.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.7/alert.css +37 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/animations.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/badge.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/basics.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/blockquote.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/breadcrumb.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/btn.css +0 -0
- package/css/themes/custom/{fuse/components_css → _bootswatch-v3.3.7}/carousel.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/close.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.7/col.css +787 -0
- package/css/themes/custom/_bootswatch-v3.3.7/collapse.css +30 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/container.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/dropdown.css +0 -0
- package/css/themes/custom/{fuse/components_css → _bootswatch-v3.3.7}/embed-responsive.css +8 -8
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/fade.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/figure_img.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/form-control.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.7/glyphicon.css +1066 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/import_bootswatch.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/input-group.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/input.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/jumbotron.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/label.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/list-group.css +0 -0
- package/css/themes/custom/{fuse/components_css → _bootswatch-v3.3.7}/media.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/modal.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/nav.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.7/navbar.css +619 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/pager.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/pagination.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/panel.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/popover.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/progress.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/table.css +0 -0
- package/css/themes/custom/_bootswatch-v3.3.7/text.css +31 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/thumbnail.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/tooltip.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/visible.css +0 -0
- package/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/well.css +0 -0
- package/css/themes/custom/_bootswatch-v4.1.3/_media-print.css +79 -0
- package/css/themes/custom/_bootswatch-v4.1.3/accordion.css +19 -0
- package/css/themes/custom/_bootswatch-v4.1.3/alert.css +27 -0
- package/css/themes/custom/_bootswatch-v4.1.3/align.css +393 -0
- package/css/themes/custom/_bootswatch-v4.1.3/badge.css +26 -0
- package/css/themes/custom/_bootswatch-v4.1.3/basics.css +706 -0
- package/css/themes/custom/_bootswatch-v4.1.3/blockquote.css +14 -0
- package/css/themes/custom/_bootswatch-v4.1.3/border.css +75 -0
- package/css/themes/custom/_bootswatch-v4.1.3/breadcrumb.css +35 -0
- package/css/themes/custom/_bootswatch-v4.1.3/btn.css +244 -0
- package/css/themes/custom/_bootswatch-v4.1.3/card.css +260 -0
- package/css/themes/custom/_bootswatch-v4.1.3/carousel.css +251 -0
- package/css/themes/custom/_bootswatch-v4.1.3/close.css +27 -0
- package/css/themes/custom/_bootswatch-v4.1.3/col.css +1125 -0
- package/css/themes/custom/_bootswatch-v4.1.3/container.css +39 -0
- package/css/themes/custom/_bootswatch-v4.1.3/custom.css +413 -0
- package/css/themes/custom/_bootswatch-v4.1.3/display.css +209 -0
- package/css/themes/custom/_bootswatch-v4.1.3/dropdown.css +176 -0
- package/css/themes/custom/_bootswatch-v4.1.3/embed-responsive.css +42 -0
- package/css/themes/custom/_bootswatch-v4.1.3/flex.css +318 -0
- package/css/themes/custom/_bootswatch-v4.1.3/float.css +59 -0
- package/css/themes/custom/_bootswatch-v4.1.3/form.css +294 -0
- package/css/themes/custom/_bootswatch-v4.1.3/img_figure.css +27 -0
- package/css/themes/custom/_bootswatch-v4.1.3/import_bootswatch.css +43 -0
- package/css/themes/custom/_bootswatch-v4.1.3/input-group.css +178 -0
- package/css/themes/custom/_bootswatch-v4.1.3/jumbotron.css +18 -0
- package/css/themes/custom/_bootswatch-v4.1.3/justify.css +136 -0
- package/css/themes/custom/_bootswatch-v4.1.3/list-group.css +218 -0
- package/css/themes/custom/_bootswatch-v4.1.3/margin.css +711 -0
- package/css/themes/custom/_bootswatch-v4.1.3/modal.css +182 -0
- package/css/themes/custom/_bootswatch-v4.1.3/nav.css +45 -0
- package/css/themes/custom/_bootswatch-v4.1.3/navbar.css +353 -0
- package/css/themes/custom/_bootswatch-v4.1.3/padding.css +611 -0
- package/css/themes/custom/_bootswatch-v4.1.3/page.css +55 -0
- package/css/themes/custom/_bootswatch-v4.1.3/pagination.css +44 -0
- package/css/themes/custom/_bootswatch-v4.1.3/popover.css +199 -0
- package/css/themes/custom/_bootswatch-v4.1.3/position.css +20 -0
- package/css/themes/custom/_bootswatch-v4.1.3/progress.css +46 -0
- package/css/themes/custom/_bootswatch-v4.1.3/rounded.css +31 -0
- package/css/themes/custom/_bootswatch-v4.1.3/shadow.css +19 -0
- package/css/themes/custom/_bootswatch-v4.1.3/table.css +96 -0
- package/css/themes/custom/_bootswatch-v4.1.3/text.css +113 -0
- package/css/themes/custom/_bootswatch-v4.1.3/tooltip.css +122 -0
- package/css/themes/custom/_bootswatch-v4.1.3/validated.css +239 -0
- package/css/themes/custom/cerulean/custom-cerulean.min.css +1449 -5946
- package/css/themes/custom/cosmo/custom-cosmo.min.css +2053 -6037
- package/css/themes/custom/cyborg/custom-cyborg.min.css +1470 -6601
- package/css/themes/custom/darkly/custom-darkly.min.css +2496 -6554
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/_media-print.css +73 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/alert.css +37 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/animations.css +26 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/badge.css +48 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/basics.css +734 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/blockquote.css +54 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/breadcrumb.css +30 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/btn.css +391 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/carousel.css +252 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/close.css +27 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/col.css +787 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/collapse.css +30 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/container.css +31 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/dropdown.css +157 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/embed-responsive.css +29 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/fade.css +10 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/figure_img.css +39 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/form-control.css +310 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/glyphicon.css +1066 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/import_bootswatch.css +40 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/input-group.css +184 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/input.css +144 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/jumbotron.css +49 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/label.css +35 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/list-group.css +129 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/media.css +60 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/modal.css +142 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/nav.css +271 -0
- package/css/themes/custom/{fuse → dsgov}/_bootswatch-v3.3.7/navbar.css +0 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/pager.css +52 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/pagination.css +113 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/panel.css +295 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/popover.css +148 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/progress.css +65 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/table.css +268 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/text.css +31 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/thumbnail.css +29 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/tooltip.css +129 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/visible.css +269 -0
- package/css/themes/custom/dsgov/_bootswatch-v3.3.7/well.css +25 -0
- package/css/themes/custom/dsgov/custom-dsgov.min.css +2996 -0
- package/css/themes/custom/dsgov/font/WorkSans-Black.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Black.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-BlackItalic.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-BlackItalic.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Bold.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Bold.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-BoldItalic.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-BoldItalic.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-ExtraBold.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-ExtraBold.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-ExtraBoldItalic.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-ExtraBoldItalic.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-ExtraLight.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-ExtraLight.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-ExtraLightItalic.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-ExtraLightItalic.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Italic.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Italic.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Light.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Light.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-LightItalic.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-LightItalic.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Medium.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Medium.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-MediumItalic.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-MediumItalic.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Regular.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Regular.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-SemiBold.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-SemiBold.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-SemiBoldItalic.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-SemiBoldItalic.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Thin.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-Thin.woff2 +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-ThinItalic.woff +0 -0
- package/css/themes/custom/dsgov/font/WorkSans-ThinItalic.woff2 +0 -0
- package/css/themes/custom/dsgov/font/fonts.css +162 -0
- package/css/themes/custom/dsgov/font2/fonts.css +144 -0
- package/css/themes/custom/dsgov/font2/rawline-100.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-100i.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-200.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-200i.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-300.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-300i.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-400.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-400i.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-500.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-500i.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-600.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-600i.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-700.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-700i.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-800.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-800i.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-900.woff +0 -0
- package/css/themes/custom/dsgov/font2/rawline-900i.woff +0 -0
- package/css/themes/custom/dsgov/img/arrow-blue.svg +9 -0
- package/css/themes/custom/dsgov/img/cover.jpg +0 -0
- package/css/themes/custom/flatly/custom-flatly.min.css +2499 -6549
- package/css/themes/custom/fuse/components_css/navbar.css +5 -0
- package/css/themes/custom/fuse/custom-fuse.min.css +2156 -3228
- package/css/themes/custom/fuse/font/{font.css → fonts.css} +0 -0
- package/css/themes/custom/fuse/img/arrow-gray.svg +9 -0
- package/css/themes/custom/fuse/img/arrow-white.svg +9 -0
- package/css/themes/custom/journal/custom-journal.min.css +1030 -9008
- package/css/themes/custom/lumen/custom-lumen.min.css +1207 -6815
- package/css/themes/custom/material/components_css/crn-button.css +50 -25
- package/css/themes/custom/material/components_css/crn-cron-calendar.css +6 -3
- package/css/themes/custom/material/components_css/crn-cron-grid.css +29 -49
- package/css/themes/custom/material/components_css/crn-navbar.css +9 -14
- package/css/themes/custom/material/components_css/login.css +10 -1
- package/css/themes/custom/material/components_css/ui-notification.css +4 -4
- package/css/themes/custom/material/custom-material.css +26 -10
- package/css/themes/custom/material_raiz/components_css/crn-button.css +174 -0
- package/css/themes/custom/material_raiz/components_css/crn-carousel.css +11 -0
- package/css/themes/custom/material_raiz/components_css/crn-cron-calendar.css +176 -0
- package/css/themes/custom/material_raiz/components_css/crn-cron-grid.css +241 -0
- package/css/themes/custom/material_raiz/components_css/crn-enterprise.css +58 -0
- package/css/themes/custom/material_raiz/components_css/crn-navbar.css +185 -0
- package/css/themes/custom/material_raiz/components_css/crn-scheduler.css +98 -0
- package/css/themes/custom/material_raiz/components_css/login.css +38 -0
- package/css/themes/custom/material_raiz/components_css/ui-notification.css +27 -0
- package/css/themes/custom/material_raiz/custom-material_raiz.css +363 -0
- package/css/themes/custom/paper/custom-paper.min.css +1034 -8416
- package/css/themes/custom/readable/custom-readable.min.css +1758 -7300
- package/css/themes/custom/sandstone/custom-sandstone.min.css +455 -6317
- package/css/themes/custom/simplex/custom-simplex.min.css +2136 -6407
- package/css/themes/custom/slate/custom-slate.min.css +2523 -6850
- package/css/themes/custom/spacelab/custom-spacelab.min.css +2068 -6542
- package/css/themes/custom/superhero/custom-superhero.min.css +2494 -6399
- package/css/themes/custom/united/custom-united.min.css +1926 -6216
- package/css/themes/custom/yeti/custom-yeti.min.css +2651 -6365
- package/css/themes/dsgov.min.css +6 -0
- package/css/themes/material_raiz.min.css +3 -0
- package/dist/components/css/checkbox-color.css +1 -1
- package/dist/components/css/color-default.css +1 -1
- package/dist/components/css/crn-input-password.css +1 -0
- package/dist/components/css/designtime.css +1 -0
- package/dist/components/css/font-size.css +1 -1
- package/dist/components/templates/Component_Container/crn-eight-twelve-container.template.html +1 -0
- package/dist/components/templates/Component_Container/crn-four-twelve-container.template.html +1 -0
- package/dist/components/templates/Component_Container/crn-three-twelve-container.template.html +1 -0
- package/dist/components/templates/checkbox.template.html +1 -1
- package/dist/components/templates/crn-input-password.designtime.html +1 -1
- package/dist/components/templates/crn-signature-pad.designtime.html +1 -0
- package/dist/components/templates/crn-signature-pad.template.html +1 -0
- package/dist/components/templates/cron-breadcrumbs.template.html +1 -1
- package/dist/components/templates/cron-chat.designtime.html +1 -17
- package/dist/components/templates/cron-checkbox.template.html +1 -1
- package/dist/components/templates/cron-combobox-multiple.template.html +1 -1
- package/dist/components/templates/cron-crud.template.html +1 -1
- package/dist/components/templates/cron-dashboard-viewer.designtime.html +1 -0
- package/dist/components/templates/cron-dashboard-viewer.template.html +1 -0
- package/dist/components/templates/cron-dynamic-combobox.template.html +1 -1
- package/dist/components/templates/cron-dynamic-menu.designtime.html +1 -1
- package/dist/components/templates/cron-dynamic-menu.template.html +1 -1
- package/dist/components/templates/cron-frame.designtime.html +6 -0
- package/dist/components/templates/cron-frame.template.html +1 -0
- package/dist/components/templates/cron-ordered-list.template.html +1 -0
- package/dist/components/templates/cron-visual-component.designtime.html +6 -0
- package/dist/components/templates/cron-visual-component.template.html +1 -0
- package/dist/components/templates/fileupload.template.html +1 -1
- package/dist/components/templates/form.template.html +1 -1
- package/dist/components/templates/icon.template.html +1 -1
- package/dist/components/templates/input/crn-input-password.template.html +1 -0
- package/dist/components/templates/navbar.template.html +1 -1
- package/dist/components/templates/rating.template.html +1 -1
- package/dist/components/templates/social-button-bar.template.html +1 -1
- package/dist/components/templates/sub-form.template.html +1 -1
- package/dist/components/templates/timeline.designtime.html +1 -0
- package/dist/components/templates/timeline.template.html +1 -0
- package/dist/css/app.css +1 -1
- package/dist/css/cronos.css +1 -1
- package/dist/css/privacy/privacy.css +1 -0
- package/dist/css/reset_password.css +1 -0
- package/dist/css/signup.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/_media-print.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/alert.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/badge.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/basics.css +11 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/blockquote.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/breadcrumb.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/btn-group.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/btn-toolbar.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/btn.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/caret.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/carousel.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/close.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/col.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/collapse.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/container.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/dropdown.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/embed-responsive.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/form.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/glyphicon.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/has.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/import_bootswatch.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/input-group.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/input.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/jumbotron.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/kbd.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/label.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/list-group.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/media.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/modal.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/nav-justified.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/nav-pills.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/nav-stacked.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/nav-tabs.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/nav.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/navbar.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/pager.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/pagination.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/panel.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/popover.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/pre.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/progress.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/table.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.3}/text.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/thumbnail.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/tooltip.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/visible.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.3/well.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/_media-print.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/alert.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.6}/animations.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/badge.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/basics.css +11 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/blockquote.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/breadcrumb.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/btn.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/carousel.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/close.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/col.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/collapse.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.6}/container.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/dropdown.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/embed-responsive.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.6}/fade.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/form_input.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/glyphicon.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/img_figure.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/import_bootswatch.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/input-group.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/jumbotron.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/label.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/list-group.css +1 -0
- package/dist/css/themes/custom/{fuse/components_css → _bootswatch-v3.3.6}/media.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/modal.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/nav.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/navbar.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/pager.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/pagination.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/panel.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/popover.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/progress.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/table.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/text.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/thumbnail.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/tooltip.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.6}/visible.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.6/well.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/_media-print.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/alert.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/animations.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/badge.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/basics.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/blockquote.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/breadcrumb.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/btn.css +0 -0
- package/dist/css/themes/custom/{fuse/components_css → _bootswatch-v3.3.7}/carousel.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/close.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/col.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/collapse.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/container.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/dropdown.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/embed-responsive.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/fade.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/figure_img.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/form-control.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/glyphicon.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/import_bootswatch.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/input-group.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/input.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/jumbotron.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/label.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/list-group.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/media.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/modal.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/nav.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/navbar.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/pager.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/pagination.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/panel.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/popover.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/progress.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/table.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/text.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/thumbnail.css +0 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/tooltip.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v3.3.7/visible.css +1 -0
- package/dist/css/themes/custom/{fuse/_bootswatch-v3.3.7 → _bootswatch-v3.3.7}/well.css +0 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/_media-print.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/accordion.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/alert.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/align.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/badge.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/basics.css +12 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/blockquote.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/border.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/breadcrumb.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/btn.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/card.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/carousel.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/close.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/col.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/container.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/custom.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/display.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/dropdown.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/embed-responsive.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/flex.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/float.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/form.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/img_figure.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/import_bootswatch.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/input-group.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/jumbotron.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/justify.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/list-group.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/margin.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/modal.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/nav.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/navbar.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/padding.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/page.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/pagination.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/popover.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/position.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/progress.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/rounded.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/shadow.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/table.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/text.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/tooltip.css +1 -0
- package/dist/css/themes/custom/_bootswatch-v4.1.3/validated.css +1 -0
- package/dist/css/themes/custom/cerulean/custom-cerulean.min.css +1 -13
- package/dist/css/themes/custom/cosmo/custom-cosmo.min.css +1 -13
- package/dist/css/themes/custom/cyborg/custom-cyborg.min.css +1 -13
- package/dist/css/themes/custom/darkly/custom-darkly.min.css +1 -13
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/_media-print.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/alert.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/animations.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/badge.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/basics.css +11 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/blockquote.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/breadcrumb.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/btn.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/carousel.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/close.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/col.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/collapse.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/container.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/dropdown.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/embed-responsive.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/fade.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/figure_img.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/form-control.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/glyphicon.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/import_bootswatch.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/input-group.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/input.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/jumbotron.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/label.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/list-group.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/media.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/modal.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/nav.css +1 -0
- package/dist/css/themes/custom/{fuse → dsgov}/_bootswatch-v3.3.7/navbar.css +0 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/pager.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/pagination.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/panel.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/popover.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/progress.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/table.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/text.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/thumbnail.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/tooltip.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/visible.css +1 -0
- package/dist/css/themes/custom/dsgov/_bootswatch-v3.3.7/well.css +1 -0
- package/dist/css/themes/custom/dsgov/custom-dsgov.min.css +1 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Black.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Black.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-BlackItalic.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-BlackItalic.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Bold.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Bold.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-BoldItalic.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-BoldItalic.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-ExtraBold.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-ExtraBold.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-ExtraBoldItalic.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-ExtraBoldItalic.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-ExtraLight.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-ExtraLight.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-ExtraLightItalic.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-ExtraLightItalic.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Italic.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Italic.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Light.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Light.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-LightItalic.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-LightItalic.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Medium.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Medium.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-MediumItalic.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-MediumItalic.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Regular.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Regular.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-SemiBold.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-SemiBold.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-SemiBoldItalic.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-SemiBoldItalic.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Thin.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-Thin.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-ThinItalic.woff +0 -0
- package/dist/css/themes/custom/dsgov/font/WorkSans-ThinItalic.woff2 +0 -0
- package/dist/css/themes/custom/dsgov/font/fonts.css +1 -0
- package/dist/css/themes/custom/dsgov/font2/fonts.css +1 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-100.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-100i.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-200.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-200i.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-300.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-300i.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-400.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-400i.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-500.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-500i.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-600.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-600i.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-700.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-700i.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-800.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-800i.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-900.woff +0 -0
- package/dist/css/themes/custom/dsgov/font2/rawline-900i.woff +0 -0
- package/dist/css/themes/custom/dsgov/img/arrow-blue.svg +1 -0
- package/dist/css/themes/custom/dsgov/img/cover.jpg +0 -0
- package/dist/css/themes/custom/flatly/custom-flatly.min.css +1 -13
- package/dist/css/themes/custom/fuse/components_css/navbar.css +1 -1
- package/dist/css/themes/custom/fuse/custom-fuse.min.css +1 -1
- package/dist/css/themes/custom/fuse/font/fonts.css +1 -0
- package/dist/css/themes/custom/fuse/img/arrow-gray.svg +1 -0
- package/dist/css/themes/custom/fuse/img/arrow-white.svg +1 -0
- package/dist/css/themes/custom/journal/custom-journal.min.css +1 -12
- package/dist/css/themes/custom/lumen/custom-lumen.min.css +1 -13
- package/dist/css/themes/custom/material/components_css/crn-button.css +1 -1
- package/dist/css/themes/custom/material/components_css/crn-cron-calendar.css +1 -1
- package/dist/css/themes/custom/material/components_css/crn-cron-grid.css +1 -1
- package/dist/css/themes/custom/material/components_css/crn-navbar.css +1 -1
- package/dist/css/themes/custom/material/components_css/login.css +1 -1
- package/dist/css/themes/custom/material/components_css/ui-notification.css +1 -1
- package/dist/css/themes/custom/material/custom-material.css +1 -1
- package/dist/css/themes/custom/material_raiz/components_css/crn-button.css +1 -0
- package/dist/css/themes/custom/material_raiz/components_css/crn-carousel.css +1 -0
- package/dist/css/themes/custom/material_raiz/components_css/crn-cron-calendar.css +1 -0
- package/dist/css/themes/custom/material_raiz/components_css/crn-cron-grid.css +1 -0
- package/dist/css/themes/custom/material_raiz/components_css/crn-enterprise.css +1 -0
- package/dist/css/themes/custom/material_raiz/components_css/crn-navbar.css +1 -0
- package/dist/css/themes/custom/material_raiz/components_css/crn-scheduler.css +1 -0
- package/dist/css/themes/custom/material_raiz/components_css/login.css +1 -0
- package/dist/css/themes/custom/material_raiz/components_css/ui-notification.css +1 -0
- package/dist/css/themes/custom/material_raiz/custom-material_raiz.css +1 -0
- package/dist/css/themes/custom/paper/custom-paper.min.css +1 -13
- package/dist/css/themes/custom/readable/custom-readable.min.css +1 -13
- package/dist/css/themes/custom/sandstone/custom-sandstone.min.css +1 -13
- package/dist/css/themes/custom/simplex/custom-simplex.min.css +1 -13
- package/dist/css/themes/custom/slate/custom-slate.min.css +1 -13
- package/dist/css/themes/custom/spacelab/custom-spacelab.min.css +1 -13
- package/dist/css/themes/custom/superhero/custom-superhero.min.css +1 -13
- package/dist/css/themes/custom/united/custom-united.min.css +1 -13
- package/dist/css/themes/custom/yeti/custom-yeti.min.css +1 -13
- package/dist/css/themes/dsgov.min.css +1 -0
- package/dist/css/themes/material_raiz.min.css +1 -0
- package/dist/i18n/locale_en_us.json +10 -0
- package/dist/i18n/locale_pt_br.json +11 -1
- package/dist/img/cron-icon/crn-eight-twelve-container.svg +1 -0
- package/dist/img/cron-icon/crn-four-twelve-container.svg +1 -0
- package/dist/img/cron-icon/crn-frame.svg +1 -0
- package/dist/img/cron-icon/crn-signature-pad.svg +1 -0
- package/dist/img/cron-icon/crn-three-twelve-container.svg +1 -0
- package/dist/img/cron-icon/crn-timeline.svg +1 -0
- package/dist/img/img-user-old.svg +1 -0
- package/dist/img/img-user.svg +1 -1
- package/dist/img/logo-old.svg +1 -0
- package/dist/img/web.png +0 -0
- package/dist/js/app.authentication.js +1 -1
- package/dist/js/app.js +1 -1
- package/dist/js/controllers.authentication.js +1 -1
- package/dist/js/controllers.js +1 -1
- package/dist/js/dashboard/dashboard.service.js +1 -0
- package/dist/js/directives.js +1 -1
- package/dist/js/reports/reports.service.js +1 -1
- package/dist/js/stateProvider.js +1 -1
- package/i18n/locale_en_us.json +10 -0
- package/i18n/locale_pt_br.json +11 -1
- package/img/cron-icon/crn-frame.svg +30 -0
- package/img/cron-icon/crn-signature-pad.svg +27 -0
- package/img/cron-icon/crn-timeline.svg +29 -0
- package/img/img-user.svg +10 -1
- package/img/web.png +0 -0
- package/js/app.js +6 -1
- package/js/controllers.js +83 -4
- package/js/customStateProvider.js +6 -0
- package/js/dashboard/dashboard.service.js +297 -0
- package/js/directives.js +487 -169
- package/js/reports/reports.service.js +27 -0
- package/js/stateProvider.js +6 -0
- package/package.json +6 -4
- package/postupdate.json +34 -5
- package/components/crn-label.components.json +0 -72
- package/dist/css/themes/custom/fuse/components_css/embed-responsive.css +0 -1
- package/dist/css/themes/custom/fuse/components_css/visible.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var cronappModules=["ui.router","ui-select-infinity","ui.select","ngResource","ngSanitize","custom.controllers","custom.services","datasourcejs","chart.js","pascalprecht.translate","tmh.dynamicLocale","ui-notification","ui.bootstrap","ngFileUpload","report.services","upload.services","ui.tinymce","ngCookies"];window.customModules&&(cronappModules=cronappModules.concat(window.customModules));var onloadCallback=function(){window.grecaptcha.render("loginRecaptcha"),window.grecaptcha.reset()},app=function(){return angular.module("MyApp",cronappModules).constant("LOCALES",{locales:{pt_br:"Portugues (Brasil)",en_us:"English"},preferredLocale:"pt_br",urlPrefix:""}).config(["$httpProvider",function(a){a.interceptors.push(["$q","$rootScope",function(){return{request:function(a){var b=JSON.parse(localStorage.getItem("_u"));return b&&b.token&&(a.headers["X-AUTH-TOKEN"]=b.token,window.uToken=b.token),a}}}])}]).config(["$compileProvider",function(a){a.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|javascript|chrome-extension):/)}]).config(["$stateProvider","$urlRouterProvider","NotificationProvider",function(a,b,c){c.setOptions({delay:5e3,startTop:20,startRight:10,verticalSpacing:20,horizontalSpacing:20,positionX:"right",positionY:"top",templateUrl:"node_modules/cronapp-framework-js/components/templates/angular-ui-notification.template.html"}),window.NotificationProviderOptions=c.options,window.customStateProvider?window.customStateProvider(a):a.state("login",{url:"",controller:"LoginController",templateUrl:"views/login.view.html"}).state("social",{url:"/connected",controller:"SocialController",templateUrl:"views/login.view.html"}).state("socialError",{url:"/notconnected",controller:"SocialController",templateUrl:"views/login.view.html"}).state("main",{url:"/",controller:"LoginController",templateUrl:"views/login.view.html"}).state("publicRoot",{url:"/public/{name:.*}",controller:"PageController",templateUrl:function(a){return"views/public/"+a.name+".view.html"}}).state("public",{url:"/home/public",controller:"PublicController",templateUrl:function(){return"views/public/home.view.html"}}).state("public.pages",{url:"/{name:.*}",controller:"PageController",templateUrl:function(a){return"views/public/"+a.name+".view.html"}}).state("home",{url:"/home",controller:"HomeController",templateUrl:"views/logged/home.view.html",resolve:{data:["$translate",function(a){a.refresh()}]}}).state("home.pages",{url:"/{name:.*}",controller:"PageController",templateUrl:function(a){return"views/"+a.name+".view.html"}}).state("404",{url:"/error/404",controller:"PageController",templateUrl:function(){return"views/error/404.view.html"}}).state("403",{url:"/error/403",controller:"PageController",templateUrl:function(){return"views/error/403.view.html"}}),b.otherwise("/error/404")}]).factory("originPath",["$location",function(a){return{request:function(b){return b.headers["origin-path"]=a.path(),b}}}]).config(["$httpProvider",function(a){a.interceptors.push("originPath")}]).config(["$translateProvider","tmhDynamicLocaleProvider",function(a,b){a.uniformLanguageTag("bcp47"),a.useLoader("customTranslateLoader",{files:[{prefix:"i18n/locale_",suffix:".json"},{prefix:"node_modules/cronapp-framework-js/i18n/locale_",suffix:".json"},{prefix:"node_modules/cronapi-js/i18n/locale_",suffix:".json"}]}),a.registerAvailableLanguageKeys(window.translations.localesKeys,window.translations.localesRef).determinePreferredLanguage();var c=(window.navigator.userLanguage||window.navigator.language).replace("-","_").toLowerCase();a.use(c),a.useSanitizeValueStrategy("escaped"),b.localeLocationPattern("node_modules/angular-i18n/angular-locale_{{locale}}.js"),moment&&moment.locale(c)}]).config(["$sceProvider",function(a){a.enabled(!1)}]).directive("crnValue",["$parse",function(a){return{restrict:"A",require:"^ngModel",link:function(b,c,d,e){var f;f=d.value?d.value:a(d.crnValue)(b),c.attr("data-evaluated",JSON.stringify(f)),c.bind("click",function(){b.$apply(function(){e.$setViewValue(f),$(c).data("changed",!0)}.bind(c))}),b.$watch(function(){return e.$modelValue},function(a,b){if(a!==b){var d=c.attr("data-evaluated"),e=$(c).data("changed");$(c).data("changed",!1),e||(a&&JSON.stringify(""+a)===d?$(c)[0].checked=!0:$(c)[0].checked=!1)}})}}}]).decorator("$xhrFactory",["$delegate","$injector",function(a,b){return function(c,d){var e=a(c,d),f=b.get("$http"),g=f.pendingRequests[f.pendingRequests.length-1];return angular.isFunction(g.onProgress)&&e.upload.addEventListener("progress",g.onProgress),e}}]).controller("PageController",["$controller","$scope","$stateParams","$location","$http","$rootScope","$translate","Notification","UploadService","$timeout","$state","ReportService",function(a,b,c,d,e,f,g,h,i,j,k,l){b.params=c,b.$http=e,b.Notification=h,b.UploadService=i,b.$state=k,app.registerEventsCronapi(b,g),f.getReport=function(a,b,c){l.openReport(a,b,c)};var n=d.search();for(var o in n)n.hasOwnProperty(o)&&(b.params[o]=n[o]);b.registerComponentScripts=function(){$(".carousel-indicators li").on("click",function(){var a="#"+$(this).parent().parent().parent().attr("id"),b=$(a+" .carousel-indicators li").index(this);$(a+" #carousel-example-generic").carousel(b)})},b.registerComponentScripts();try{var p=a("AfterPageController",{$scope:b});app.copyContext(p,this,"AfterPageController")}catch(a){}j(function(){b.blockly&&b.blockly.events&&b.blockly.events.afterPageRender&&b.blockly.events.afterPageRender instanceof Function&&b.blockly.events.afterPageRender()})}]).run(["$rootScope","$state","$stateParams","$timeout",function(a,b,c,d){a.$state=b,a.$stateParams=c,a.$on("$stateChangeError",function(){if(6<=arguments.length){var a=arguments[5];(404===a.status||403===a.status||401===a.status)&&(localStorage.removeItem("_u"),b.go("login"))}else b.go("404")}),a.$on("$stateChangeSuccess",function(b,c){d(()=>{let b=$("#projectName").length?$("#projectName").val():$("h1:first").length&&$("h1:first").text().trim().length?$("h1:first").text().trim():"";let d,e=window.location.hash;null===(m=/\/(?:.(?!\/))+$/gm.exec(e))?d=c.name:m.forEach(a=>d=a);let f=window.camelCaseToSentenceCase(window.toCamelCase(d.replace("/","")));$("h1.title").length?f=$("h1.title").text():$("h2.title").length&&(f=$("h2.title").text());let g="";g=f+(b.length?" - "+b:""),a.viewTitle=g||c.name,a.viewTitleOnly=f||c.name,a.systemName=b;let h=$(".main-nav-link");if(h&&h.length&&$($(".main-nav-link").get(0)).is(":visible"))$(".main-access").focus();else{let a=$("[role=main]").find("input");if(a&&a.length){let b=$(a[0]);["date","datetime","time"].includes(b.data("type"))||b.focus()}}a.renderFinished=!0})})}])}(window);app.userEvents={},app.config={},app.config.datasourceApiVersion=2,app.bindScope=function(a,b){var c={};for(var d in b)c[d]="string"==typeof b[d]||"boolean"==typeof b[d]?b[d]:"function"==typeof b[d]?b[d].bind(a):app.bindScope(a,b[d]);return c},app.registerEventsCronapi=function(a,b){for(var c in app.userEvents)a[c]=app.userEvents[c].bind(a);a.vars={},a.$evt=$evt;try{cronapi&&(a.cronapi=app.bindScope(a,cronapi),a.cronapi.$scope=a,a.safeApply=safeApply,b&&(a.cronapi.$translate=b))}catch(a){console.info("Not loaded cronapi functions"),console.info(a)}try{blockly&&(blockly.cronapi=cronapi,a.blockly=app.bindScope(a,blockly))}catch(a){console.info("Not loaded blockly functions"),console.info(a)}},app.copyContext=function(a,b,c){if(a)for(var d in a)b[d]?b[d+c]=a[d]:b[d]=a[d]},app.factory("customTranslateLoader",["$http","$q",function(a,b){return function(c){if(!c||!angular.isArray(c.files)&&(!angular.isString(c.prefix)||!angular.isString(c.suffix)))throw new Error("Couldn't load static files, no files and prefix or suffix specified!");c.files||(c.files=[{prefix:c.prefix,suffix:c.suffix}]);for(var d=function(d){if(!d||!angular.isString(d.prefix)||!angular.isString(d.suffix))throw new Error("Couldn't load static file, no prefix or suffix specified!");var e=b.defer();return a(angular.extend({url:[d.prefix,c.key,d.suffix].join(""),method:"GET",params:""},c.$http)).success(function(a){e.resolve(a)}).error(function(){e.resolve({})}),e.promise},e=b.defer(),f=[],g=c.files.length,h=0;h<g;h++)f.push(d({prefix:c.files[h].prefix,key:c.key,suffix:c.files[h].suffix}));return b.all(f).then(function(a){for(var b=a.length,c={},d=0;d<b;d++)for(var f in a[d])c[f]=a[d][f];e.resolve(c)},function(a){e.reject(a)}),e.promise}}]),window.safeApply=function(a){var b=this.$root.$$phase;"$apply"===b||"$digest"===b?a&&"function"==typeof a&&a():this.$apply(a)},window.toCamelCase=function(a){return null===a?a:a.toLowerCase().replace(/[-_\.]+/g," ").replace(/[^\w\s]/g,"").replace(/ (.)/g,function(a){return a.toUpperCase()}).replace(/ /g,"")},window.camelCaseToSentenceCase=function(a){if(null!==a){let b=a.replace(/([A-Z])/g," $1");return b.charAt(0).toUpperCase()+b.slice(1)}return a};const keyCodeFormActions={initialize:()=>$(document).on("keypress","form[crn-datasource]",keyCodeFormActions.handle),handle:a=>!keyCodeFormActions[a.keyCode||a.which]||keyCodeFormActions[a.keyCode||a.which](a),13:a=>a.preventDefault()};keyCodeFormActions.initialize();
|
|
1
|
+
var cronappModules=["ui.router","ui-select-infinity","ui.select","ngResource","ngSanitize","custom.controllers","custom.services","datasourcejs","chart.js","pascalprecht.translate","tmh.dynamicLocale","ui-notification","ui.bootstrap","ngFileUpload","report.services","upload.services","ui.tinymce","ngCookies"];window.customModules&&(cronappModules=cronappModules.concat(window.customModules));var onloadCallback=function(){window.grecaptcha.render("loginRecaptcha"),window.grecaptcha.reset()},app=function(){return angular.module("MyApp",cronappModules).constant("LOCALES",{locales:{pt_br:"Portugues (Brasil)",en_us:"English"},preferredLocale:"pt_br",urlPrefix:""}).config(["$httpProvider",function(a){a.interceptors.push(["$q","$rootScope",function(){return{request:function(a){var b=JSON.parse(localStorage.getItem("_u"));return b&&b.token&&(a.headers["X-AUTH-TOKEN"]=b.token,window.uToken=b.token),a}}}])}]).config(["$compileProvider",function(a){a.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|javascript|chrome-extension):/)}]).config(["$stateProvider","$urlRouterProvider","NotificationProvider",function(a,b,c){c.setOptions({delay:5e3,startTop:20,startRight:10,verticalSpacing:20,horizontalSpacing:20,positionX:"right",positionY:"top",templateUrl:"node_modules/cronapp-framework-js/components/templates/angular-ui-notification.template.html"}),window.NotificationProviderOptions=c.options,window.customStateProvider?window.customStateProvider(a):a.state("login",{url:"",controller:"LoginController",templateUrl:"views/login.view.html"}).state("reset-password",{url:"/public/reset-password",controller:"ResetPasswordController",templateUrl:"views/public/reset-password.view.html"}).state("social",{url:"/connected",controller:"SocialController",templateUrl:"views/login.view.html"}).state("socialError",{url:"/notconnected",controller:"SocialController",templateUrl:"views/login.view.html"}).state("main",{url:"/",controller:"LoginController",templateUrl:"views/login.view.html"}).state("publicRoot",{url:"/public/{name:.*}",controller:"PageController",templateUrl:function(a){return"views/public/"+a.name+".view.html"}}).state("public",{url:"/home/public",controller:"PublicController",templateUrl:function(){return"views/public/home.view.html"}}).state("public.pages",{url:"/{name:.*}",controller:"PageController",templateUrl:function(a){return"views/public/"+a.name+".view.html"}}).state("home",{url:"/home",controller:"HomeController",templateUrl:"views/logged/home.view.html",resolve:{data:["$translate",function(a){a.refresh()}]}}).state("home.pages",{url:"/{name:.*}",controller:"PageController",templateUrl:function(a){return"views/"+a.name+".view.html"}}).state("404",{url:"/error/404",controller:"PageController",templateUrl:function(){return"views/error/404.view.html"}}).state("403",{url:"/error/403",controller:"PageController",templateUrl:function(){return"views/error/403.view.html"}}),b.otherwise("/error/404")}]).factory("originPath",["$location",function(a){return{request:function(b){return b.headers["origin-path"]=a.path(),b}}}]).config(["$httpProvider",function(a){a.interceptors.push("originPath")}]).config(["$translateProvider","tmhDynamicLocaleProvider",function(a,b){a.uniformLanguageTag("bcp47"),a.useLoader("customTranslateLoader",{files:[{prefix:"i18n/locale_",suffix:".json"},{prefix:"node_modules/cronapp-framework-js/i18n/locale_",suffix:".json"},{prefix:"node_modules/cronapi-js/i18n/locale_",suffix:".json"}]}),a.registerAvailableLanguageKeys(window.translations.localesKeys,window.translations.localesRef).determinePreferredLanguage();var c=(window.navigator.userLanguage||window.navigator.language).replace("-","_").toLowerCase();a.use(c),a.useSanitizeValueStrategy("escaped"),b.localeLocationPattern("node_modules/angular-i18n/angular-locale_{{locale}}.js"),moment&&moment.locale(c)}]).config(["$sceProvider",function(a){a.enabled(!1)}]).directive("crnValue",["$parse",function(a){return{restrict:"A",require:"^ngModel",link:function(b,c,d,e){var f;f=d.value?d.value:a(d.crnValue)(b),c.attr("data-evaluated",JSON.stringify(f)),c.bind("click",function(){b.$apply(function(){e.$setViewValue(f),$(c).data("changed",!0)}.bind(c))}),b.$watch(function(){return e.$modelValue},function(a,b){if(a!==b){var d=c.attr("data-evaluated"),e=$(c).data("changed");$(c).data("changed",!1),e||(a&&JSON.stringify(""+a)===d?$(c)[0].checked=!0:$(c)[0].checked=!1)}})}}}]).decorator("$xhrFactory",["$delegate","$injector",function(a,b){return function(c,d){var e=a(c,d),f=b.get("$http"),g=f.pendingRequests[f.pendingRequests.length-1];return angular.isFunction(g.onProgress)&&e.upload.addEventListener("progress",g.onProgress),e}}]).controller("PageController",["$controller","$scope","$stateParams","$location","$http","$rootScope","$translate","Notification","UploadService","$timeout","$state","ReportService",function(a,b,c,d,e,f,g,h,i,j,k,l){b.params=c,b.$http=e,b.Notification=h,b.UploadService=i,b.$state=k,app.registerEventsCronapi(b,g),f.getReport=function(a,b,c){l.openReport(a,b,c)};var n=d.search();for(var o in n)n.hasOwnProperty(o)&&(b.params[o]=n[o]);b.registerComponentScripts=function(){$(".carousel-indicators li").on("click",function(){var a="#"+$(this).parent().parent().parent().attr("id"),b=$(a+" .carousel-indicators li").index(this);$(a+" #carousel-example-generic").carousel(b)})},b.registerComponentScripts();try{var p=a("AfterPageController",{$scope:b});app.copyContext(p,this,"AfterPageController")}catch(a){}j(function(){b.blockly&&b.blockly.events&&b.blockly.events.afterPageRender&&b.blockly.events.afterPageRender instanceof Function&&b.blockly.events.afterPageRender()})}]).run(["$rootScope","$state","$stateParams","$timeout",function(a,b,c,d){a.$state=b,a.$stateParams=c,a.$on("$stateChangeError",function(){if(6<=arguments.length){var a=arguments[5];(404===a.status||403===a.status||401===a.status)&&(localStorage.removeItem("_u"),b.go("login"))}else b.go("404")}),a.$on("$stateChangeSuccess",function(b,c){d(()=>{let b=$("#projectName").length?$("#projectName").val():$("h1:first").length&&$("h1:first").text().trim().length?$("h1:first").text().trim():"";let d,e=window.location.hash;null===(m=/\/(?:.(?!\/))+$/gm.exec(e))?d=c.name:m.forEach(a=>d=a);let f=window.camelCaseToSentenceCase(window.toCamelCase(d.replace("/","")));$("h1.title").length?f=$("h1.title").text():$("h2.title").length&&(f=$("h2.title").text());let g="";g=f+(b.length?" - "+b:""),a.viewTitle=g||c.name,a.viewTitleOnly=f||c.name,a.systemName=b;let h=$(".main-nav-link");if(h&&h.length&&$($(".main-nav-link").get(0)).is(":visible"))$(".main-access").focus();else{let a=$("[role=main]").find("input");if(a&&a.length){let b=$(a[0]);["date","datetime","time"].includes(b.data("type"))||b.focus()}}a.renderFinished=!0})})}])}(window);app.userEvents={},app.config={},app.config.datasourceApiVersion=2,app.bindScope=function(a,b){var c={};for(var d in b)c[d]="string"==typeof b[d]||"boolean"==typeof b[d]?b[d]:"function"==typeof b[d]?b[d].bind(a):app.bindScope(a,b[d]);return c},app.registerEventsCronapi=function(a,b){for(var c in app.userEvents)a[c]=app.userEvents[c].bind(a);a.vars={},a.$evt=$evt;try{cronapi&&(a.cronapi=app.bindScope(a,cronapi),a.cronapi.$scope=a,a.safeApply=safeApply,b&&(a.cronapi.$translate=b))}catch(a){console.info("Not loaded cronapi functions"),console.info(a)}try{blockly&&(blockly.cronapi=cronapi,a.blockly=app.bindScope(a,blockly))}catch(a){console.info("Not loaded blockly functions"),console.info(a)}},app.copyContext=function(a,b,c){if(a)for(var d in a)b[d]?b[d+c]=a[d]:b[d]=a[d]},app.factory("customTranslateLoader",["$http","$q",function(a,b){return function(c){if(!c||!angular.isArray(c.files)&&(!angular.isString(c.prefix)||!angular.isString(c.suffix)))throw new Error("Couldn't load static files, no files and prefix or suffix specified!");c.files||(c.files=[{prefix:c.prefix,suffix:c.suffix}]);for(var d=function(d){if(!d||!angular.isString(d.prefix)||!angular.isString(d.suffix))throw new Error("Couldn't load static file, no prefix or suffix specified!");var e=b.defer();return a(angular.extend({url:[d.prefix,c.key,d.suffix].join(""),method:"GET",params:""},c.$http)).success(function(a){e.resolve(a)}).error(function(){e.resolve({})}),e.promise},e=b.defer(),f=[],g=c.files.length,h=0;h<g;h++)f.push(d({prefix:c.files[h].prefix,key:c.key,suffix:c.files[h].suffix}));return b.all(f).then(function(a){for(var b=a.length,c={},d=0;d<b;d++)for(var f in a[d])c[f]=a[d][f];e.resolve(c)},function(a){e.reject(a)}),e.promise}}]),window.safeApply=function(a){var b=this.$root.$$phase;"$apply"===b||"$digest"===b?a&&"function"==typeof a&&a():this.$apply(a)},window.toCamelCase=function(a){return null===a?a:a.toLowerCase().replace(/[-_\.]+/g," ").replace(/[^\w\s]/g,"").replace(/ (.)/g,function(a){return a.toUpperCase()}).replace(/ /g,"")},window.camelCaseToSentenceCase=function(a){if(null!==a){let b=a.replace(/([A-Z])/g," $1");return b.charAt(0).toUpperCase()+b.slice(1)}return a};const keyCodeFormActions={initialize:()=>$(document).on("keypress","form[crn-datasource]",keyCodeFormActions.handle),handle:a=>!keyCodeFormActions[a.keyCode||a.which]||keyCodeFormActions[a.keyCode||a.which](a),13:a=>a.preventDefault()};keyCodeFormActions.initialize();
|
package/dist/js/app.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var cronappModules=["ui.router","ui-select-infinity","ui.select","ngResource","ngSanitize","custom.controllers","custom.services","datasourcejs","chart.js","pascalprecht.translate","tmh.dynamicLocale","ui-notification","ui.bootstrap","ngFileUpload","report.services","upload.services","ui.tinymce","ngCookies","kendo.directives"];window.customModules&&(cronappModules=cronappModules.concat(window.customModules));var onloadCallback=function(){window.grecaptcha.render("loginRecaptcha"),window.grecaptcha.reset()},getRequestData=a=>{let b=a||{};return a.data&&"object"==typeof a.data&&(b=a.data),b},app=function(){return angular.module("MyApp",cronappModules).constant("LOCALES",{locales:{pt_br:"Portugues (Brasil)",en_us:"English"},preferredLocale:"pt_br",urlPrefix:""}).config(["$locationProvider",function(a){a.hashPrefix("")}]).config(["$httpProvider",function(a){a.interceptors.push(["$q","$rootScope",function(){return{request:function(a){var b=JSON.parse(localStorage.getItem("_u"));return b&&b.token&&(a.headers["X-AUTH-TOKEN"]=b.token,window.uToken=b.token),a}}}])}]).config(["$compileProvider",function(a){a.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|javascript|chrome-extension):/)}]).config(["$stateProvider","$urlRouterProvider","NotificationProvider",function(a,b,c){c.setOptions({delay:5e3,startTop:20,startRight:10,verticalSpacing:20,horizontalSpacing:20,positionX:"right",positionY:"top",templateUrl:"node_modules/cronapp-framework-js/components/templates/angular-ui-notification.template.html"}),window.NotificationProviderOptions=c.options,window.stateProviderDefine.handle(a),b.otherwise("/error/404")}]).factory("originPath",["$location",function(a){return{request:function(b){return b.headers["origin-path"]=a.path(),b}}}]).config(["$httpProvider",function(a){a.interceptors.push("originPath")}]).config(["$translateProvider","tmhDynamicLocaleProvider",function(a,b){a.uniformLanguageTag("bcp47"),a.useLoader("customTranslateLoader",{files:[{prefix:"i18n/locale_",suffix:".json"},{prefix:"node_modules/cronapp-framework-js/i18n/locale_",suffix:".json"},{prefix:"node_modules/cronapi-js/i18n/locale_",suffix:".json"}]}),a.registerAvailableLanguageKeys(window.translations.localesKeys,window.translations.localesRef).determinePreferredLanguage();var c=(window.navigator.userLanguage||window.navigator.language).replace("-","_").toLowerCase();a.use(c),a.preferredLanguage(c),a.fallbackLanguage("en_us"),a.useSanitizeValueStrategy("escaped"),b.localeLocationPattern("node_modules/angular-i18n/angular-locale_{{locale}}.js"),moment&&moment.locale(c)}]).config(["$sceProvider",function(a){a.enabled(!1)}]).directive("crnValue",["$parse",function(a){return{restrict:"A",require:"^ngModel",link:function(b,c,d,e){var f;f=d.value?d.value:a(d.crnValue)(b),c.attr("data-evaluated",JSON.stringify(f)),c.bind("click",function(){b.$apply(function(){e.$setViewValue(f),$(c).data("changed",!0)}.bind(c))}),b.$watch(function(){return e.$modelValue},function(a,b){if(a!==b){var d=c.attr("data-evaluated"),e=$(c).data("changed");$(c).data("changed",!1),e||(a&&JSON.stringify(""+a)===d?$(c)[0].checked=!0:$(c)[0].checked=!1)}})}}}]).decorator("$xhrFactory",["$delegate","$injector",function(a,b){return function(c,d){var e=a(c,d),f=b.get("$http"),g=f.pendingRequests[f.pendingRequests.length-1];return angular.isFunction(g.onProgress)&&e.upload.addEventListener("progress",g.onProgress),e}}]).controller("PageController",["$controller","$scope","$stateParams","$location","$http","$rootScope","$translate","Notification","UploadService","$timeout","$state","ReportService",function(a,b,c,d,e,f,g,h,i,j,k,l){b.params=c,b.$http=e,b.Notification=h,b.UploadService=i,b.$state=k,app.registerEventsCronapi(b,g,d),$("form").kendoValidator({errorTemplate:"<span class=\"k-widget k-tooltip-validation k-x-invalid-msg-block\">#=message#</span>",messages:{required:""}}),f.getReport=function(a,b,c){l.openReport(a,b,c)};var
|
|
1
|
+
var cronappModules=["ui.router","ui-select-infinity","ui.select","ngResource","ngSanitize","custom.controllers","custom.services","datasourcejs","chart.js","pascalprecht.translate","tmh.dynamicLocale","ui-notification","ui.bootstrap","ngFileUpload","report.services","dashboard.services","upload.services","ui.tinymce","ngCookies","kendo.directives"];window.customModules&&(cronappModules=cronappModules.concat(window.customModules));var onloadCallback=function(){window.grecaptcha.render("loginRecaptcha"),window.grecaptcha.reset()},getRequestData=a=>{let b=a||{};return a.data&&"object"==typeof a.data&&(b=a.data),b},app=function(){return angular.module("MyApp",cronappModules).constant("LOCALES",{locales:{pt_br:"Portugues (Brasil)",en_us:"English"},preferredLocale:"pt_br",urlPrefix:""}).config(["$locationProvider",function(a){a.hashPrefix("")}]).config(["$httpProvider",function(a){a.interceptors.push(["$q","$rootScope",function(){return{request:function(a){var b=JSON.parse(localStorage.getItem("_u"));return b&&b.token&&(a.headers["X-AUTH-TOKEN"]=b.token,window.uToken=b.token),a}}}])}]).config(["$compileProvider",function(a){a.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|javascript|chrome-extension):/)}]).config(["$stateProvider","$urlRouterProvider","NotificationProvider",function(a,b,c){c.setOptions({delay:5e3,startTop:20,startRight:10,verticalSpacing:20,horizontalSpacing:20,positionX:"right",positionY:"top",templateUrl:"node_modules/cronapp-framework-js/components/templates/angular-ui-notification.template.html"}),window.NotificationProviderOptions=c.options,window.stateProviderDefine.handle(a),b.otherwise("/error/404")}]).factory("originPath",["$location",function(a){return{request:function(b){return b.headers["origin-path"]=a.path(),b}}}]).config(["$httpProvider",function(a){a.interceptors.push("originPath")}]).config(["$translateProvider","tmhDynamicLocaleProvider",function(a,b){a.uniformLanguageTag("bcp47"),a.useLoader("customTranslateLoader",{files:[{prefix:"i18n/locale_",suffix:".json"},{prefix:"node_modules/cronapp-framework-js/i18n/locale_",suffix:".json"},{prefix:"node_modules/cronapi-js/i18n/locale_",suffix:".json"}]}),a.registerAvailableLanguageKeys(window.translations.localesKeys,window.translations.localesRef).determinePreferredLanguage();var c=(window.navigator.userLanguage||window.navigator.language).replace("-","_").toLowerCase();a.use(c),a.preferredLanguage(c),a.fallbackLanguage("en_us"),a.useSanitizeValueStrategy("escaped"),b.localeLocationPattern("node_modules/angular-i18n/angular-locale_{{locale}}.js"),moment&&moment.locale(c)}]).config(["$sceProvider",function(a){a.enabled(!1)}]).directive("crnValue",["$parse",function(a){return{restrict:"A",require:"^ngModel",link:function(b,c,d,e){var f;f=d.value?d.value:a(d.crnValue)(b),c.attr("data-evaluated",JSON.stringify(f)),c.bind("click",function(){b.$apply(function(){e.$setViewValue(f),$(c).data("changed",!0)}.bind(c))}),b.$watch(function(){return e.$modelValue},function(a,b){if(a!==b){var d=c.attr("data-evaluated"),e=$(c).data("changed");$(c).data("changed",!1),e||(a&&JSON.stringify(""+a)===d?$(c)[0].checked=!0:$(c)[0].checked=!1)}})}}}]).decorator("$xhrFactory",["$delegate","$injector",function(a,b){return function(c,d){var e=a(c,d),f=b.get("$http"),g=f.pendingRequests[f.pendingRequests.length-1];return angular.isFunction(g.onProgress)&&e.upload.addEventListener("progress",g.onProgress),e}}]).controller("PageController",["$controller","$scope","$stateParams","$location","$http","$rootScope","$translate","Notification","UploadService","$timeout","$state","ReportService","DashboardService",function(a,b,c,d,e,f,g,h,i,j,k,l,n){b.params=c,b.$http=e,b.Notification=h,b.UploadService=i,b.$state=k,app.registerEventsCronapi(b,g,d),$("form").kendoValidator({errorTemplate:"<span class=\"k-widget k-tooltip-validation k-x-invalid-msg-block\">#=message#</span>",messages:{required:""}}),f.getReport=function(a,b,c){l.openReport(a,b,c)},f.getDashboard=function(a,b,c){n.getDashboard(a,b,c)};var o=d.search();for(var p in o)o.hasOwnProperty(p)&&(b.params[p]=o[p]);try{var q=a("AfterPageController",{$scope:b});app.copyContext(q,this,"AfterPageController")}catch(a){}j(function(){b.blockly&&b.blockly.events&&b.blockly.events.afterPageRender&&b.blockly.events.afterPageRender instanceof Function&&b.blockly.events.afterPageRender()})}]).run(["$rootScope","$state","$stateParams","$timeout","$transitions",function(a,b,c,d,e){a.$state=b,a.$stateParams=c;const f=function(a){if(a){const c=a.toString();c.includes("=404")?b.go("404"):c.includes("=403")?b.go("403"):c.includes("=401")?(localStorage.removeItem("_u"),b.go("loginReturnUrl",{returnUrl:window.location.hash})):b.go("404")}else b.go("404")},g=function(b){d(()=>{let c=$("#projectName").length?$("#projectName").val():$("h1:first").length&&$("h1:first").text().trim().length?$("h1:first").text().trim():"";let d,e=window.location.hash;null===(m=/\/(?:.(?!\/))+$/gm.exec(e))?d=b.name:m.forEach(a=>d=a);let f=window.camelCaseToSentenceCase(window.toCamelCase(d.replace("/","")));$("h1.title").length?f=$("h1.title").text():$("h2.title").length&&(f=$("h2.title").text());let g="";g=f+(c.length?" - "+c:""),a.viewTitle=g||b.name,a.viewTitleOnly=f||b.name,a.systemName=c;let h=$(".main-nav-link");if(h&&h.length&&$($(".main-nav-link").get(0)).is(":visible"))$(".main-access").focus();else{let a=$("[role=main]").find("input");if(a&&a.length){let b=$(a[0]);["date","datetime","time"].includes(b.data("type"))||b.focus()}}a.renderFinished=!0,registerComponentScripts()})};e.onSuccess({},a=>g(a.to())),b.defaultErrorHandler(a=>f(a))}])}(window);app.userEvents={},app.config={},app.config.datasourceApiVersion=2,app.bindScope=function(a,b){var c={};for(var d in b)c[d]="string"==typeof b[d]||"boolean"==typeof b[d]?b[d]:"function"==typeof b[d]?b[d].bind(a):app.bindScope(a,b[d]);return c},app.registerEventsCronapi=function(a,b,c){let d=a.params||{},e=c&&c.search()||{};a.params={};let f=(a,b)=>{for(let c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};for(var g in f(d,a.params),f(e,a.params),app.userEvents)a[g]=app.userEvents[g].bind(a);a.vars={},a.$evt=$evt;try{cronapi&&(a.cronapi=app.bindScope(a,cronapi),a.cronapi.$scope=a,a.safeApply=safeApply,b&&(a.cronapi.$translate=b))}catch(a){console.info("Not loaded cronapi functions"),console.info(a)}try{blockly&&(blockly.cronapi=cronapi,a.blockly=app.bindScope(a,blockly))}catch(a){console.info("Not loaded blockly functions"),console.info(a)}},app.copyContext=function(a,b,c){if(a)for(var d in a)b[d]?b[d+c]=a[d]:b[d]=a[d]},app.factory("customTranslateLoader",["$http","$q",function(a,b){return function(c){if(!c||!angular.isArray(c.files)&&(!angular.isString(c.prefix)||!angular.isString(c.suffix)))throw new Error("Couldn't load static files, no files and prefix or suffix specified!");c.files||(c.files=[{prefix:c.prefix,suffix:c.suffix}]);for(var d=function(d){if(!d||!angular.isString(d.prefix)||!angular.isString(d.suffix))throw new Error("Couldn't load static file, no prefix or suffix specified!");var e=b.defer();return a(angular.extend({url:[d.prefix,c.key,d.suffix].join(""),method:"GET",params:""},c.$http)).then(function(a){e.resolve(getRequestData(a))}).catch(function(){e.resolve({})}),e.promise},e=b.defer(),f=[],g=c.files.length,h=0;h<g;h++)f.push(d({prefix:c.files[h].prefix,key:c.key,suffix:c.files[h].suffix}));return b.all(f).then(function(a){for(var b=a.length,c={},d=0;d<b;d++)for(var f in a[d])c[f]=a[d][f];e.resolve(c)},function(a){e.reject(a)}),e.promise}}]),window.safeApply=function(a){var b=this.$root.$$phase;"$apply"===b||"$digest"===b?a&&"function"==typeof a&&a():this.$apply(a)},window.toCamelCase=function(a){return null===a?a:a.toLowerCase().replace(/[-_\.]+/g," ").replace(/[^\w\s]/g,"").replace(/ (.)/g,function(a){return a.toUpperCase()}).replace(/ /g,"")},window.camelCaseToSentenceCase=function(a){if(null!==a){let b=a.replace(/([A-Z])/g," $1");return b.charAt(0).toUpperCase()+b.slice(1)}return a};const keyCodeFormActions={initialize:()=>$(document).on("keypress","form[crn-datasource]",keyCodeFormActions.handle),handle:a=>!keyCodeFormActions[a.keyCode||a.which]||keyCodeFormActions[a.keyCode||a.which](a),13:a=>a.preventDefault()};keyCodeFormActions.initialize();var registerComponentScripts=function(){$(".carousel-indicators li").on("click",function(){var a="#"+$(this).parent().parent().parent().attr("id"),b=$(a+" .carousel-indicators li").index(this);$(a+" > div").carousel(b)})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){angular.module("custom.controllers",[]);var a=function(b,c,d){b({method:"GET",url:"auth/refresh"}).success(function(e){if(localStorage.getItem("_u")){let a=JSON.parse(localStorage.getItem("_u"));a.user.username===e.user.username&&(e.user=a.user)}localStorage.setItem("_u",JSON.stringify(e)),setTimeout(function(){a(b,c,d)},1800000),c()}).error(function(){d()})};app.controller("LoginController",["$controller","$scope","$http","$rootScope","$window","$state","$translate","Notification","ReportService","UploadService","$location","$stateParams","$timeout","$cookies","$templateCache",function(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){function q(a){"undefined"!=typeof Storage&&(localStorage.setItem("_u",JSON.stringify(a)),e.session=JSON.parse(localStorage._u)),c.goHome(),c.blockly&&c.blockly.events&&c.blockly.events.onLogin&&c.blockly.events.onLogin instanceof Function&&c.blockly.events.onLogin()}function r(a,b){let c;if(null!==a&&a.message){let b=JSON.parse(a.message);c=b.exception}else"string"==typeof a&&502!==b?(c=a,c||401!==b||(c=h.instant("Login.view.invalidPassword"))):c=h.instant("Admin.server.out");i.error(c)}d.get(window.NotificationProviderOptions.templateUrl,{cache:!0}).then(a=>p.put(window.NotificationProviderOptions.templateUrl,a.data)),c.goHome=()=>{g.go("home"),c.cronapi.forceCloseAllModal()},c.$http=d,c.params=m,c.$state=g,app.registerEventsCronapi(c,h),e.http=d,e.Notification=i,e.UploadService=k,e.getReport=function(a,b,c){j.openReport(a,b,c)};var s=l.search();for(var t in s)s.hasOwnProperty(t)&&(c.params[t]=s[t]);if(c.redirectToLogin=function(){f.location.href="/login"},c.autoLogin=function(){localStorage.getItem("_u")&&JSON.parse(localStorage.getItem("_u")).token&&a(d,function(){c.goHome()},function(){localStorage.removeItem("_u")})},c.autoLogin(),localStorage.getItem("redir_mob")&&(localStorage.removeItem("redir_mob"),f.location.href="/mobileapp"),o.get("_u")){if(!localStorage.getItem("_u")){var u=decodeURIComponent(o.get("_u"));localStorage.setItem("_u",u)}c.goHome()}c.message={},c.renderRecaptcha=function(){window.grecaptcha.render("loginRecaptcha"),window.grecaptcha.reset()},c.login=function(a,b,e){if(c.message.error=void 0,$("form").find("*[class=g-recaptcha]").length){if(!c.captcha_token&&""===$("form").find("*[class=g-recaptcha]").attr("data-sitekey"))return void i.error(h.instant("Login.view.EmptySiteKeyCaptcha"));if(c.captcha_token=window.grecaptcha.getResponse(),!c.captcha_token&&"invisible"!==$("form").find("*[class=g-recaptcha]").attr("data-size"))return void i.error(h.instant("Login.view.InvalidCaptcha"));"invisible"===$("form").find("*[class=g-recaptcha]").attr("data-size")&&window.grecaptcha.execute()}var f={username:a?a:c.username.value,password:b?b:c.password.value,recaptchaToken:c.captcha_token?c.captcha_token:void 0},g={"Content-Type":"application/x-www-form-urlencoded"};e&&(g["X-AUTH-TOKEN"]=e),d({method:"POST",url:"auth",data:$.param(f),headers:g}).success(q).error(r)};try{var v=b("AfterLoginController",{$scope:c});app.copyContext(v,this,"AfterLoginController")}catch(a){}n(function(){c.blockly&&c.blockly.events&&c.blockly.events.afterLoginRender&&c.blockly.events.afterLoginRender instanceof Function&&c.blockly.events.afterLoginRender()})}]),app.controller("HomeController",["$controller","$scope","$http","$rootScope","$state","$translate","Notification","ReportService","UploadService","$location","$stateParams","$timeout",function(b,c,d,e,f,g,h,i,j,k,l,m){c.$http=d,c.params=l,c.$state=f,app.registerEventsCronapi(c,g),e.http=d,e.Notification=h,e.UploadService=j,e.getReport=function(a,b,c){i.openReport(a,b,c)};var n=k.search();for(var o in n)n.hasOwnProperty(o)&&(c.params[o]=n[o]);c.message={},c.selecionado={valor:1},e.session=localStorage.getItem("_u")===void 0?null:JSON.parse(localStorage.getItem("_u")),e.session?(e.myTheme="",e.session.user&&(e.myTheme=e.session.user.theme),c.$watch("myTheme",function(a){a!==void 0&&""!==a&&$("#themeSytleSheet").attr("href","node_modules/cronapp-framework-js/css/themes/"+a+".min.css")}),localStorage.getItem("_u")&&JSON.parse(localStorage.getItem("_u")).token&&a(d,function(){},function(){localStorage.removeItem("_u"),f.go("login")})):!c.ignoreAuth&&(localStorage.removeItem("_u"),window.location.href=""),e.logout=function(){function a(){e.session={},"undefined"!=typeof Storage&&localStorage.removeItem("_u"),window.location.href=""}d({method:"GET",url:"logout",headers:{"Content-Type":"application/json"}}).success(a).error(a)},c.changePassword=function(){function a(){h.info(g.instant("Home.view.passwordChanged")),c()}function b(a,b){var c;c=422===b?a:401<=b?g.instant("Home.view.InvalidPassword"):a,h.error(c)}function c(){oldPassword.value="",newPassword.value="",newPasswordConfirmation.value="",$("#modalPassword").modal("hide")}if(function(){return""!==oldPassword.value&&""!==newPassword.value&&""!==newPasswordConfirmation.value||(""===newPasswordConfirmation.value&&h.error(g.instant("Home.view.ConfirmationPasswordCanNotBeEmpty")),""===newPassword.value&&h.error(g.instant("Home.view.NewPasswordCanNotBeEmpty")),""===oldPassword.value&&h.error(g.instant("Home.view.PreviousPasswordCanNotBeEmpty")),!1)}()){var e={oldPassword:oldPassword.value,newPassword:newPassword.value,newPasswordConfirmation:newPasswordConfirmation.value};d({method:"POST",url:"changePassword",data:$.param(e),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).success(a).error(b)}};var p=function(){var a=$(this);0<a.closest(".sub-menu").length&&a.closest(".navbar-nav").collapse("hide")};c.$on("$viewContentLoaded",function(){var a=$(".navbar-nav");a.off("click","a",p),a.on("click","a",p)}),c.themes=["material","cerulean","cosmo","cyborg","darkly","flatly","journal","lumen","paper","readable","sandstone","simplex","slate","spacelab","superhero","united","yeti"],c.changeTheme=function(a){if(a!==void 0){$("body").append("<div id=\"transition\" />"),$("#transition").css({"background-color":"#FFF",zIndex:1e5,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px",overflow:"hidden",display:"block"}),$("#transition").fadeIn(800,function(){$("#themeSytleSheet").attr("href","node_modules/cronapp-framework-js/css/themes/"+a+".min.css"),e.myTheme=a,$("#transition").fadeOut(1e3,function(){$("#transition").remove()})});d({method:"POST",url:"changeTheme",data:$.param({theme:a}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).success(function(){e.session.theme=a,e.session.user.theme=a,localStorage.setItem("_u",JSON.stringify(e.session))}).error(function(a){h.error(a)})}};try{var q=b("AfterHomeController",{$scope:c});app.copyContext(q,this,"AfterHomeController")}catch(a){}m(function(){c.blockly&&c.blockly.events&&c.blockly.events.afterHomeRender&&c.blockly.events.afterHomeRender instanceof Function&&c.blockly.events.afterHomeRender()})}]),app.controller("PublicController",["$controller","$scope",function(a,b){b.ignoreAuth=!0,angular.extend(this,a("HomeController",{$scope:b}))}]),app.controller("SocialController",["$controller","$scope","$location",function(a,b,c){b.checkSocial=!0,angular.extend(this,a("LoginController",{$scope:b}));var d=c.search(),e={};for(var f in d)d.hasOwnProperty(f)&&(e[f]=d[f]);b.login("#OAUTH#","#OAUTH#",e._ctk)}])})(app),window.safeApply=function(a){var b=this.$root.$$phase;"$apply"===b||"$digest"===b?a&&"function"==typeof a&&a():this.$apply(a)};
|
|
1
|
+
(function(){angular.module("custom.controllers",[]);var a=function(b,c,d){b({method:"GET",url:"auth/refresh"}).success(function(e){if(localStorage.getItem("_u")){let a=JSON.parse(localStorage.getItem("_u"));a.user.username===e.user.username&&(e.user=a.user)}localStorage.setItem("_u",JSON.stringify(e)),setTimeout(function(){a(b,c,d)},1800000),c()}).error(function(){d()})};app.controller("ResetPasswordController",["$scope","$translate","Notification","$location","$http","$state",function(a,b,c,d,e,f){a.resetPassword=function(){return""===passwordNew.value?void c.error(b.instant("ResetPasswordNewCanNotBeEmpty")):""===passwordConfirmation.value?void c.error(b.instant("ResetPasswordConfirmationCanNotBeEmpty")):passwordNew.value===passwordConfirmation.value?void e({method:"POST",url:"auth/confirm-reset-password",data:$.param({password:passwordNew.value}),headers:{"Content-Type":"application/x-www-form-urlencoded","X-AUTH-TOKEN":d.search().token}}).success(()=>{c.info(b.instant("ResetPasswordSuccess")),passwordNew.value="",passwordConfirmation.value="",f.go("login")}).error(a=>c.error(a)):void c.error(b.instant("ResetPasswordDoesNotMatch"))}}]),app.controller("LoginController",["$controller","$scope","$http","$rootScope","$window","$state","$translate","Notification","ReportService","UploadService","$location","$stateParams","$timeout","$cookies","$templateCache",function(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){function q(a){"undefined"!=typeof Storage&&(localStorage.setItem("_u",JSON.stringify(a)),e.session=JSON.parse(localStorage._u)),c.goHome(),c.blockly&&c.blockly.events&&c.blockly.events.onLogin&&c.blockly.events.onLogin instanceof Function&&c.blockly.events.onLogin()}function r(a,b){let c;if(null!==a&&a.message){let b=JSON.parse(a.message);c=b.exception}else"string"==typeof a&&502!==b?(c=a,c||401!==b||(c=h.instant("Login.view.invalidPassword"))):c=h.instant("Admin.server.out");i.error(c)}d.get(window.NotificationProviderOptions.templateUrl,{cache:!0}).then(a=>p.put(window.NotificationProviderOptions.templateUrl,a.data)),c.goHome=()=>{g.go("home"),c.cronapi.forceCloseAllModal()},c.$http=d,c.params=m,c.$state=g,app.registerEventsCronapi(c,h),e.http=d,e.Notification=i,e.UploadService=k,e.getReport=function(a,b,c){j.openReport(a,b,c)};var s=l.search();for(var t in s)s.hasOwnProperty(t)&&(c.params[t]=s[t]);if(c.redirectToLogin=function(){f.location.href="/login"},c.autoLogin=function(){localStorage.getItem("_u")&&JSON.parse(localStorage.getItem("_u")).token&&a(d,function(){c.goHome()},function(){localStorage.removeItem("_u")})},c.autoLogin(),localStorage.getItem("redir_mob")&&(localStorage.removeItem("redir_mob"),f.location.href="/mobileapp"),o.get("_u")){if(!localStorage.getItem("_u")){var u=decodeURIComponent(o.get("_u"));localStorage.setItem("_u",u)}c.goHome()}c.message={},c.renderRecaptcha=function(){window.grecaptcha.render("loginRecaptcha"),window.grecaptcha.reset()},c.login=function(a,b,e){if(c.message.error=void 0,$("form").find("*[class=g-recaptcha]").length){if(!c.captcha_token&&""===$("form").find("*[class=g-recaptcha]").attr("data-sitekey"))return void i.error(h.instant("Login.view.EmptySiteKeyCaptcha"));if(c.captcha_token=window.grecaptcha.getResponse(),!c.captcha_token&&"invisible"!==$("form").find("*[class=g-recaptcha]").attr("data-size"))return void i.error(h.instant("Login.view.InvalidCaptcha"));"invisible"===$("form").find("*[class=g-recaptcha]").attr("data-size")&&window.grecaptcha.execute()}var f={username:a?a:c.username.value,password:b?b:c.password.value,recaptchaToken:c.captcha_token?c.captcha_token:void 0},g={"Content-Type":"application/x-www-form-urlencoded"};e&&(g["X-AUTH-TOKEN"]=e),d({method:"POST",url:"auth",data:$.param(f),headers:g}).success(q).error(r)},c.forgotPassword=function(){return""===forgotPasswordEmail.value?void i.error(h.instant("ForgotPasswordEmailCanNotBeEmpty")):forgotPasswordEmail.validity.valid?void d({method:"POST",url:"auth/reset-password",data:$.param({email:forgotPasswordEmail.value}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).success(()=>{i.info(h.instant("ForgotPasswordSent")),forgotPasswordEmail.value="",$("#forgotPasswordModal").modal("hide")}).error(a=>i.error(a)):void i.error(h.instant("ForgotPasswordEmailInvalid"))};try{var v=b("AfterLoginController",{$scope:c});app.copyContext(v,this,"AfterLoginController")}catch(a){}n(function(){c.blockly&&c.blockly.events&&c.blockly.events.afterLoginRender&&c.blockly.events.afterLoginRender instanceof Function&&c.blockly.events.afterLoginRender()})}]),app.controller("HomeController",["$controller","$scope","$http","$rootScope","$state","$translate","Notification","ReportService","UploadService","$location","$stateParams","$timeout",function(b,c,d,e,f,g,h,i,j,k,l,m){c.$http=d,c.params=l,c.$state=f,app.registerEventsCronapi(c,g),e.http=d,e.Notification=h,e.UploadService=j,e.getReport=function(a,b,c){i.openReport(a,b,c)};var n=k.search();for(var o in n)n.hasOwnProperty(o)&&(c.params[o]=n[o]);c.message={},c.selecionado={valor:1},e.session=localStorage.getItem("_u")===void 0?null:JSON.parse(localStorage.getItem("_u")),e.session?(e.myTheme="",e.session.user&&(e.myTheme=e.session.user.theme),c.$watch("myTheme",function(a){a!==void 0&&""!==a&&$("#themeSytleSheet").attr("href","node_modules/cronapp-framework-js/css/themes/"+a+".min.css")}),localStorage.getItem("_u")&&JSON.parse(localStorage.getItem("_u")).token&&a(d,function(){},function(){localStorage.removeItem("_u"),f.go("login")})):!c.ignoreAuth&&(localStorage.removeItem("_u"),window.location.href=""),e.logout=function(){function a(){e.session={},"undefined"!=typeof Storage&&localStorage.removeItem("_u"),window.location.href=""}d({method:"GET",url:"logout",headers:{"Content-Type":"application/json"}}).success(a).error(a)},c.changePassword=function(){function a(){h.info(g.instant("Home.view.passwordChanged")),c()}function b(a,b){var c;c=422===b?a:401<=b?g.instant("Home.view.InvalidPassword"):a,h.error(c)}function c(){oldPassword.value="",newPassword.value="",newPasswordConfirmation.value="",$("#modalPassword").modal("hide")}if(function(){return""!==oldPassword.value&&""!==newPassword.value&&""!==newPasswordConfirmation.value||(""===newPasswordConfirmation.value&&h.error(g.instant("Home.view.ConfirmationPasswordCanNotBeEmpty")),""===newPassword.value&&h.error(g.instant("Home.view.NewPasswordCanNotBeEmpty")),""===oldPassword.value&&h.error(g.instant("Home.view.PreviousPasswordCanNotBeEmpty")),!1)}()){var e={oldPassword:oldPassword.value,newPassword:newPassword.value,newPasswordConfirmation:newPasswordConfirmation.value};d({method:"POST",url:"changePassword",data:$.param(e),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).success(a).error(b)}};var p=function(){var a=$(this);0<a.closest(".sub-menu").length&&a.closest(".navbar-nav").collapse("hide")};c.$on("$viewContentLoaded",function(){var a=$(".navbar-nav");a.off("click","a",p),a.on("click","a",p)}),c.themes=["material","cerulean","cosmo","cyborg","darkly","flatly","journal","lumen","paper","readable","sandstone","simplex","slate","spacelab","superhero","united","yeti"],c.changeTheme=function(a){if(a!==void 0){$("body").append("<div id=\"transition\" />"),$("#transition").css({"background-color":"#FFF",zIndex:1e5,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px",overflow:"hidden",display:"block"}),$("#transition").fadeIn(800,function(){$("#themeSytleSheet").attr("href","node_modules/cronapp-framework-js/css/themes/"+a+".min.css"),e.myTheme=a,$("#transition").fadeOut(1e3,function(){$("#transition").remove()})});d({method:"POST",url:"changeTheme",data:$.param({theme:a}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).success(function(){e.session.theme=a,e.session.user.theme=a,localStorage.setItem("_u",JSON.stringify(e.session))}).error(function(a){h.error(a)})}};try{var q=b("AfterHomeController",{$scope:c});app.copyContext(q,this,"AfterHomeController")}catch(a){}m(function(){c.blockly&&c.blockly.events&&c.blockly.events.afterHomeRender&&c.blockly.events.afterHomeRender instanceof Function&&c.blockly.events.afterHomeRender()})}]),app.controller("PublicController",["$controller","$scope",function(a,b){b.ignoreAuth=!0,angular.extend(this,a("HomeController",{$scope:b}))}]),app.controller("SocialController",["$controller","$scope","$location",function(a,b,c){b.checkSocial=!0,angular.extend(this,a("LoginController",{$scope:b}));var d=c.search(),e={};for(var f in d)d.hasOwnProperty(f)&&(e[f]=d[f]);b.login("#OAUTH#","#OAUTH#",e._ctk)}])})(app),window.safeApply=function(a){var b=this.$root.$$phase;"$apply"===b||"$digest"===b?a&&"function"==typeof a&&a():this.$apply(a)};
|
package/dist/js/controllers.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){angular.module("custom.controllers",[]);var a=function(b,c,d){b({method:"GET",url:"auth/refresh"}).then(function(e){if(e=getRequestData(e),localStorage.getItem("_u")){let a=JSON.parse(localStorage.getItem("_u"));a.user.username===e.user.username&&(e.user=a.user)}localStorage.setItem("_u",JSON.stringify(e)),setTimeout(function(){a(b,c,d)},1800000),c()}).catch(function(){d()})};app.controller("ResetPasswordController",["$scope","$translate","Notification","$location","$http","$state",function(a,b,c,d,e,f){a.resetPassword=function(){return""===passwordNew.value?void c.error(b.instant("ResetPasswordNewCanNotBeEmpty")):""===passwordConfirmation.value?void c.error(b.instant("ResetPasswordConfirmationCanNotBeEmpty")):passwordNew.value===passwordConfirmation.value?void e({method:"POST",url:"auth/confirm-reset-password",data:$.param({password:passwordNew.value}),headers:{"Content-Type":"application/x-www-form-urlencoded","X-AUTH-TOKEN":d.search().token}}).then(()=>{c.info(b.instant("ResetPasswordSuccess")),passwordNew.value="",passwordConfirmation.value="",f.go("login")}).catch(a=>c.error(a)):void c.error(b.instant("ResetPasswordDoesNotMatch"))}}]),app.controller("LoginController",["$controller","$scope","$http","$rootScope","$window","$state","$translate","Notification","ReportService","UploadService","$location","$stateParams","$timeout","$cookies","$templateCache",function(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){function q(a){a=getRequestData(a),"undefined"!=typeof Storage&&(localStorage.setItem("_u",JSON.stringify(a)),e.session=JSON.parse(localStorage._u)),c.goHome(),c.blockly&&c.blockly.events&&c.blockly.events.onLogin&&c.blockly.events.onLogin instanceof Function&&c.blockly.events.onLogin()}function r(a,b){b=b||a.status,a=getRequestData(a);let c;if(null!==a&&a.message){let b=JSON.parse(a.message);c=b.exception}else"string"==typeof a&&502!==b?(c=a,c||401!==b||(c=h.instant("Login.view.invalidPassword"))):c=h.instant("Admin.server.out");i.error(c)}if(d.get(window.NotificationProviderOptions.templateUrl,{cache:!0}).then(a=>p.put(window.NotificationProviderOptions.templateUrl,a.data)),c.goHome=()=>{let a=cronapi.screen.getParam("returnUrl");a?window.location.hash=a:g.go("home"),c.cronapi.forceCloseAllModal()},c.$http=d,c.params=m,c.$state=g,app.registerEventsCronapi(c,h,l),e.http=d,e.Notification=i,e.UploadService=k,e.getReport=function(a,b,c){j.openReport(a,b,c)},c.redirectToLogin=function(){c.cronapi.social.ssoLogin()},c.autoLogin=function(){localStorage.getItem("_u")&&JSON.parse(localStorage.getItem("_u")).token&&a(d,function(){c.goHome()},function(){localStorage.removeItem("_u")})},c.autoLogin(),localStorage.getItem("redir_mob")&&(localStorage.removeItem("redir_mob"),f.location.href="/mobileapp"),o.get("_u")){if(!localStorage.getItem("_u")){var s=decodeURIComponent(o.get("_u"));localStorage.setItem("_u",s)}c.goHome()}c.message={},c.renderRecaptcha=function(){window.grecaptcha.render("loginRecaptcha"),window.grecaptcha.reset()},c.login=function(a,b,e){if(c.message.error=void 0,$("form").find("*[class=g-recaptcha]").length){if(!c.captcha_token&&""===$("form").find("*[class=g-recaptcha]").attr("data-sitekey"))return void i.error(h.instant("Login.view.EmptySiteKeyCaptcha"));if(c.captcha_token=window.grecaptcha.getResponse(),!c.captcha_token&&"invisible"!==$("form").find("*[class=g-recaptcha]").attr("data-size"))return void i.error(h.instant("Login.view.InvalidCaptcha"));"invisible"===$("form").find("*[class=g-recaptcha]").attr("data-size")&&window.grecaptcha.execute()}var f={username:a?a:c.username.value,password:b?b:c.password.value,recaptchaToken:c.captcha_token?c.captcha_token:void 0},g={"Content-Type":"application/x-www-form-urlencoded"};e&&(g["X-AUTH-TOKEN"]=e),d({method:"POST",url:"auth",data:$.param(f),headers:g}).then(q).catch(r)},c.forgotPassword=function(){return""===forgotPasswordEmail.value?void i.error(h.instant("ForgotPasswordEmailCanNotBeEmpty")):forgotPasswordEmail.validity.valid?void d({method:"POST",url:"auth/reset-password",data:$.param({email:forgotPasswordEmail.value}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(()=>{i.info(h.instant("ForgotPasswordSent")),forgotPasswordEmail.value="",$("#forgotPasswordModal").modal("hide")}).catch(a=>i.error(a)):void i.error(h.instant("ForgotPasswordEmailInvalid"))};try{var t=b("AfterLoginController",{$scope:c});app.copyContext(t,this,"AfterLoginController")}catch(a){}n(function(){c.blockly&&c.blockly.events&&c.blockly.events.afterLoginRender&&c.blockly.events.afterLoginRender instanceof Function&&c.blockly.events.afterLoginRender()})}]),app.controller("HomeController",["$controller","$scope","$http","$rootScope","$state","$translate","Notification","ReportService","UploadService","$location","$stateParams","$timeout",function(b,c,d,e,f,g,h,i,j,k,l,m){c.$http=d,c.params=l,c.$state=f,app.registerEventsCronapi(c,g,k),e.http=d,e.Notification=h,e.UploadService=j,e.getReport=function(a,b,c){i.openReport(a,b,c)},c.message={},c.selecionado={valor:1},0===c.$state.get().filter(a=>"LoginController"===a.controller).length&&(c.ignoreAuth=!0),e.session=localStorage.getItem("_u")===void 0?null:JSON.parse(localStorage.getItem("_u")),e.session?(e.myTheme="",e.session.user&&(e.myTheme=e.session.user.theme),c.$watch("myTheme",function(a){a!==void 0&&""!==a&&$("#themeSytleSheet").attr("href","node_modules/cronapp-framework-js/css/themes/"+a+".min.css")}),localStorage.getItem("_u")&&JSON.parse(localStorage.getItem("_u")).token&&a(d,function(){},function(){localStorage.removeItem("_u"),f.go("login")})):!c.ignoreAuth&&(localStorage.removeItem("_u"),window.location.href=""),e.logout=function(){function a(a){a=getRequestData(a),e.session={},"undefined"!=typeof Storage&&localStorage.removeItem("_u"),window.location.href=a&&a.logoutUri?a.logoutUri:""}d({method:"GET",url:"logout",headers:{"Content-Type":"application/json"}}).then(a).catch(a)},c.changePassword=function(){function a(){h.info(g.instant("Home.view.passwordChanged")),c()}function b(a,b){b=b||a.status,a=getRequestData(a);var c;c=422===b?a:401<=b?g.instant("Home.view.InvalidPassword"):a,h.error(c)}function c(){oldPassword.value="",newPassword.value="",newPasswordConfirmation.value="",$("#modalPassword").modal("hide")}if(function(){return""!==oldPassword.value&&""!==newPassword.value&&""!==newPasswordConfirmation.value||(""===newPasswordConfirmation.value&&h.error(g.instant("Home.view.ConfirmationPasswordCanNotBeEmpty")),""===newPassword.value&&h.error(g.instant("Home.view.NewPasswordCanNotBeEmpty")),""===oldPassword.value&&h.error(g.instant("Home.view.PreviousPasswordCanNotBeEmpty")),!1)}()){var e={oldPassword:oldPassword.value,newPassword:newPassword.value,newPasswordConfirmation:newPasswordConfirmation.value};d({method:"POST",url:"changePassword",data:$.param(e),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(a).catch(b)}};var n=function(){var a=$(this);0<a.closest(".sub-menu").length&&a.closest(".navbar-nav").collapse("hide")};c.$on("$viewContentLoaded",function(){var a=$(".navbar-nav");a.off("click","a",n),a.on("click","a",n)}),c.themes=["material","cerulean","cosmo","cyborg","darkly","flatly","journal","lumen","paper","readable","sandstone","simplex","slate","spacelab","superhero","united","yeti"],c.changeTheme=function(a){if(a!==void 0){$("body").append("<div id=\"transition\" />"),$("#transition").css({"background-color":"#FFF",zIndex:1e5,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px",overflow:"hidden",display:"block"}),$("#transition").fadeIn(800,function(){$("#themeSytleSheet").attr("href","node_modules/cronapp-framework-js/css/themes/"+a+".min.css"),e.myTheme=a,$("#transition").fadeOut(1e3,function(){$("#transition").remove()})});d({method:"POST",url:"changeTheme",data:$.param({theme:a}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(){e.session.theme=a,e.session.user.theme=a,localStorage.setItem("_u",JSON.stringify(e.session))}).catch(function(a){var b=getRequestData(a);h.error(b)})}};try{var o=b("AfterHomeController",{$scope:c});app.copyContext(o,this,"AfterHomeController")}catch(a){}m(function(){c.blockly&&c.blockly.events&&c.blockly.events.afterHomeRender&&c.blockly.events.afterHomeRender instanceof Function&&c.blockly.events.afterHomeRender()})}]),app.controller("PublicController",["$controller","$scope",function(a,b){b.ignoreAuth=!0,angular.extend(this,a("HomeController",{$scope:b}))}]),app.controller("SocialController",["$controller","$scope","$location",function(a,b,c){b.checkSocial=!0,angular.extend(this,a("LoginController",{$scope:b}));var d=c.search(),e={};for(var f in d)d.hasOwnProperty(f)&&(e[f]=d[f]);b.login("#OAUTH#","#OAUTH#",e._ctk)}])})(app),window.safeApply=function(a){var b=this.$root.$$phase;"$apply"===b||"$digest"===b?a&&"function"==typeof a&&a():this.$apply(a)};
|
|
1
|
+
(function(){angular.module("custom.controllers",[]);var a=function(b,c,d){b({method:"GET",url:"auth/refresh"}).then(function(e){if(e=getRequestData(e),localStorage.getItem("_u")){let a=JSON.parse(localStorage.getItem("_u"));a.user.username===e.user.username&&(e.user=a.user)}localStorage.setItem("_u",JSON.stringify(e)),setTimeout(function(){a(b,c,d)},1800000),c()}).catch(function(){d()})};app.controller("ResetPasswordController",["$scope","$translate","Notification","$location","$http","$state",function(a,b,c,d,e,f){a.resetPassword=function(){return""===passwordNew.value?void c.error(b.instant("ResetPasswordNewCanNotBeEmpty")):""===passwordConfirmation.value?void c.error(b.instant("ResetPasswordConfirmationCanNotBeEmpty")):passwordNew.value===passwordConfirmation.value?void e({method:"POST",url:"auth/confirm-reset-password",data:$.param({password:passwordNew.value}),headers:{"Content-Type":"application/x-www-form-urlencoded","X-AUTH-TOKEN":d.search().token}}).then(()=>{c.info(b.instant("ResetPasswordSuccess")),passwordNew.value="",passwordConfirmation.value="",f.go("login")}).catch(a=>{let d=b.instant("ResetPasswordDoesNotMatch");a&&a.data&&(d=a.data.message||a.data.error),c.error(d)}):void c.error(b.instant("ResetPasswordDoesNotMatch"))}}]),app.controller("SignupController",["$controller","$scope","$stateParams","$location","$http","$rootScope","$translate","Notification","UploadService","$timeout","$state","ReportService",function(a,b,c,d,e,f,g){app.registerEventsCronapi(b,g),b.cronapi.screen.changeValueOfField("vars.signupEmail",""),b.cronapi.screen.changeValueOfField("vars.signupUsername",""),b.cronapi.screen.changeValueOfField("vars.signupPassword",""),b.cronapi.screen.changeValueOfField("vars.signupConfirmPassword","")}]),app.controller("LoginController",["$controller","$scope","$http","$rootScope","$window","$state","$translate","Notification","ReportService","UploadService","$location","$stateParams","$timeout","$cookies","$templateCache","DashboardService",function(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){function r(a){a=getRequestData(a),"undefined"!=typeof Storage&&(localStorage.setItem("_u",JSON.stringify(a)),e.session=JSON.parse(localStorage._u)),c.goHome(),c.blockly&&c.blockly.events&&c.blockly.events.onLogin&&c.blockly.events.onLogin instanceof Function&&c.blockly.events.onLogin()}function s(a,b){b=b||a.status,a=getRequestData(a);let c;if(null!==a&&a.message){let b=JSON.parse(a.message);c=b.exception}else"string"==typeof a&&502!==b?(c=a,c||401!==b||(c=h.instant("Login.view.invalidPassword"))):c=h.instant("Admin.server.out");i.error(c)}if(d.get(window.NotificationProviderOptions.templateUrl,{cache:!0}).then(a=>p.put(window.NotificationProviderOptions.templateUrl,a.data)),c.goHome=()=>{let a=cronapi.screen.getParam("returnUrl");a?window.location.hash=a:g.go("home"),c.cronapi.forceCloseAllModal()},c.$http=d,c.params=m,c.$state=g,app.registerEventsCronapi(c,h,l),e.http=d,e.Notification=i,e.UploadService=k,e.getReport=function(a,b,c){j.openReport(a,b,c)},e.getDashboard=function(a,b,c){q.openDashboard(a,b,c)},c.redirectToLogin=function(){c.cronapi.social.ssoLogin()},c.autoLogin=function(){localStorage.getItem("_u")&&JSON.parse(localStorage.getItem("_u")).token&&a(d,function(){c.goHome()},function(){localStorage.removeItem("_u")})},c.autoLogin(),localStorage.getItem("redir_mob")&&(localStorage.removeItem("redir_mob"),f.location.href="/mobileapp"),o.get("_u")){if(!localStorage.getItem("_u")){var t=decodeURIComponent(o.get("_u"));localStorage.setItem("_u",t)}c.goHome()}c.message={},c.renderRecaptcha=function(){window.grecaptcha.render("loginRecaptcha"),window.grecaptcha.reset()},c.login=function(a,b,e){if(c.message.error=void 0,$("form").find("*[class=g-recaptcha]").length){if(!c.captcha_token&&""===$("form").find("*[class=g-recaptcha]").attr("data-sitekey"))return void i.error(h.instant("Login.view.EmptySiteKeyCaptcha"));if(c.captcha_token=window.grecaptcha.getResponse(),!c.captcha_token&&"invisible"!==$("form").find("*[class=g-recaptcha]").attr("data-size"))return void i.error(h.instant("Login.view.InvalidCaptcha"));"invisible"===$("form").find("*[class=g-recaptcha]").attr("data-size")&&window.grecaptcha.execute()}var f={username:a?a:c.username.value,password:b?b:c.password.value,recaptchaToken:c.captcha_token?c.captcha_token:void 0},g={"Content-Type":"application/x-www-form-urlencoded"};e&&(g["X-AUTH-TOKEN"]=e),d({method:"POST",url:"auth",data:$.param(f),headers:g}).then(r).catch(s)},c.forgotPassword=function(){return""===forgotPasswordEmail.value?void i.error(h.instant("ForgotPasswordEmailCanNotBeEmpty")):forgotPasswordEmail.validity.valid?void d({method:"POST",url:"auth/reset-password",data:$.param({email:forgotPasswordEmail.value}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(()=>{i.info(h.instant("ForgotPasswordSent")),forgotPasswordEmail.value="",$("#forgotPasswordModal").modal("hide")}).catch(a=>i.error(a)):void i.error(h.instant("ForgotPasswordEmailInvalid"))};try{var u=b("AfterLoginController",{$scope:c});app.copyContext(u,this,"AfterLoginController")}catch(a){}n(function(){c.blockly&&c.blockly.events&&c.blockly.events.afterLoginRender&&c.blockly.events.afterLoginRender instanceof Function&&c.blockly.events.afterLoginRender()})}]),app.controller("HomeController",["$controller","$scope","$http","$rootScope","$state","$translate","Notification","ReportService","UploadService","$location","$stateParams","$timeout","DashboardService",function(b,c,d,e,f,g,h,i,j,k,l,m,n){c.$http=d,c.params=l,c.$state=f,app.registerEventsCronapi(c,g,k),e.http=d,e.Notification=h,e.UploadService=j,e.getReport=function(a,b,c){i.openReport(a,b,c)},e.getDashboard=function(a,b,c){n.openDashboard(a,b,c)};cronapp.ioc.getInstance(cronapp.configuration.IConfigurationService).getValue("cronapp.framework.auth.idletime").then(function(a){let b=!1,d=new Date().getTime();var e=function(){if(!b){b=!0,console.log("User is Idle");try{c.logout()}catch(a){console.log(a)}}},f=function(){d=new Date().getTime(),b&&console.log("User is Back"),b=!1};a&&0<a&&(function(a){a.onload=f,a.onmousemove=f,a.onmousedown=f,a.ontouchstart=f,a.onclick=f,a.onkeypress=f,a.addEventListener("scroll",f,!0),f()}(window),setInterval(()=>{new Date().getTime()-d>6e4*a&&e()},1e3))}),c.message={},c.selecionado={valor:1},0===c.$state.get().filter(a=>"LoginController"===a.controller).length&&(c.ignoreAuth=!0),e.session=localStorage.getItem("_u")===void 0?null:JSON.parse(localStorage.getItem("_u")),e.session?(e.myTheme="",e.session.user&&(e.myTheme=e.session.user.theme),c.$watch("myTheme",function(a){a!==void 0&&""!==a&&$("#themeSytleSheet").attr("href","node_modules/cronapp-framework-js/css/themes/"+a+".min.css")}),localStorage.getItem("_u")&&JSON.parse(localStorage.getItem("_u")).token&&a(d,function(){},function(){localStorage.removeItem("_u"),f.go("login")})):!c.ignoreAuth&&(localStorage.removeItem("_u"),window.location.href=""),e.logout=function(){function a(a){a=getRequestData(a),e.session={},"undefined"!=typeof Storage&&localStorage.removeItem("_u"),window.location.href=a&&a.logoutUri?a.logoutUri:""}d({method:"GET",url:"logout",headers:{"Content-Type":"application/json"}}).then(a).catch(a)},c.changePassword=function(){function a(){h.info(g.instant("Home.view.passwordChanged")),c()}function b(a,b){b=b||a.status,a=getRequestData(a);var c;c=422===b?a:401<=b?g.instant("Home.view.InvalidPassword"):a,h.error(c)}function c(){oldPassword.value="",newPassword.value="",newPasswordConfirmation.value="",$("#modalPassword").modal("hide")}if(function(){return""!==oldPassword.value&&""!==newPassword.value&&""!==newPasswordConfirmation.value||(""===newPasswordConfirmation.value&&h.error(g.instant("Home.view.ConfirmationPasswordCanNotBeEmpty")),""===newPassword.value&&h.error(g.instant("Home.view.NewPasswordCanNotBeEmpty")),""===oldPassword.value&&h.error(g.instant("Home.view.PreviousPasswordCanNotBeEmpty")),!1)}()){var e={oldPassword:oldPassword.value,newPassword:newPassword.value,newPasswordConfirmation:newPasswordConfirmation.value};d({method:"POST",url:"changePassword",data:$.param(e),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(a).catch(b)}};var o=function(){var a=$(this);0<a.closest(".sub-menu").length&&a.closest(".navbar-nav").collapse("hide")};c.$on("$viewContentLoaded",function(){var a=$(".navbar-nav");a.off("click","a",o),a.on("click","a",o)}),c.themes=["material","cerulean","cosmo","cyborg","darkly","flatly","journal","lumen","paper","readable","sandstone","simplex","slate","spacelab","superhero","united","yeti"],c.changeTheme=function(a){if(a!==void 0){$("body").append("<div id=\"transition\" />"),$("#transition").css({"background-color":"#FFF",zIndex:1e5,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px",overflow:"hidden",display:"block"}),$("#transition").fadeIn(800,function(){$("#themeSytleSheet").attr("href","node_modules/cronapp-framework-js/css/themes/"+a+".min.css"),e.myTheme=a,$("#transition").fadeOut(1e3,function(){$("#transition").remove()})});d({method:"POST",url:"changeTheme",data:$.param({theme:a}),headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(function(){e.session.theme=a,e.session.user.theme=a,localStorage.setItem("_u",JSON.stringify(e.session))}).catch(function(a){var b=getRequestData(a);h.error(b)})}};try{var p=b("AfterHomeController",{$scope:c});app.copyContext(p,this,"AfterHomeController")}catch(a){}m(function(){c.blockly&&c.blockly.events&&c.blockly.events.afterHomeRender&&c.blockly.events.afterHomeRender instanceof Function&&c.blockly.events.afterHomeRender()})}]),app.controller("PublicController",["$controller","$scope",function(a,b){b.ignoreAuth=!0,angular.extend(this,a("HomeController",{$scope:b}))}]),app.controller("SocialController",["$controller","$scope","$location",function(a,b,c){b.checkSocial=!0,angular.extend(this,a("LoginController",{$scope:b}));var d=c.search(),e={};for(var f in d)d.hasOwnProperty(f)&&(e[f]=d[f]);let g=e.logoutUri;g?window.localStorage.setItem("logoutUri",g):window.localStorage.removeItem("logoutUri"),b.login("#OAUTH#","#OAUTH#",e._ctk)}])})(app),window.safeApply=function(a){var b=this.$root.$$phase;"$apply"===b||"$digest"===b?a&&"function"==typeof a&&a():this.$apply(a)};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(){angular.module("dashboard.services",[]).service("DashboardService",["$http","$compile","$modal","$translate","$window","$rootScope",function(a,b,c,d){function e(){return navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)}function f(a){window.open(a,"_blank")}var g=$("body"),i=angular.element(g.get(0)).scope(),j=["node_modules/cronapp-lib-js/dist/js/stimulsoft/stimulsoft-all.js","node_modules/cronapp-lib-js/dist/js/stimulsoft/stimulsoft-helper.js"],k=[];this.getDashboard=function(b){var c={url:"api/rest/dashboard",method:"POST",data:angular.toJson({dashboardName:b})};return a(c)},this.getContentAsString=function(b){var c={url:"api/rest/dashboard/contentasstring",method:"POST",data:angular.toJson(b)};return a(c)},this.openURLContent=function(a){if(a&&e())return void f(a);var b=function(){var c=$("<iframe/>");c.attr("frameborder",0);var d=parseInt($(window).height());c.attr("height",d-200),c.attr("width","100%"),c.attr("src",a+"?download=false");var e=$("#reportView .modal-body");e.get(0)?(e.html(c),$("#reportViewContext .modal-dialog").css("width","95%"),setTimeout(function(){console.log("open[#reportViewContext]"),$("body").append(context),$("#reportView").modal()},100)):(console.log("wait[#reportViewContext]"),setTimeout(b,200))};setTimeout(b,200)},this.initializeStimulsoft=function(a){if(!Stimulsoft.Base.StiLicense.Key){stimulsoftHelper.setLanguage(a);var b=stimulsoftHelper.getLocalization();Stimulsoft.Base.Localization.StiLocalization.loadLocalization(b.xml),Stimulsoft.Base.Localization.StiLocalization.cultureName=b.cultureName,Stimulsoft.Base.StiLicense.Key=stimulsoftHelper.getKey()}},this.openStimulsoftReport=function(a,c,d){var j=$("#dashboardViewContext");j.get(0)||(g.append("<div id=\"dashboardViewContext\" ng-include=\"'node_modules/cronapp-framework-js/components/dashboard/dashboard.view.html'\"></div>"),b(g)(i),j=$("#dashboardViewContext"));var k=parseInt($(window).height()),h="StiViewer"+app.common.generateId(),l=Stimulsoft.Report.StiReport.createNewDashboard();l.load(a);var m=()=>{var a=new Stimulsoft.Viewer.StiViewerOptions;a.toolbar.showAboutButton=!1,d?(a.toolbar.visible=d.showToolbar,a.appearance.scrollbarsMode=d.showScrollbar,null!=d.height&&(a.height=d.height+"px")):(a.appearance.scrollbarsMode=!0,a.height=k-200+"px");var b=new Stimulsoft.Viewer.StiViewer(a,h,!1);return b.report=l,StiJsViewer.prototype.IsTouchDevice()&&(b.options.appearance.interfaceType=Stimulsoft.Viewer.StiInterfaceType.Touch),b};if(d&&d.$element)m(d).renderHtml(d.$element[0]);else{function a(){var a,b,c,d,e,f=setInterval(function(){var g=$("#"+h);g.length?!a&&(a=g.parent(),b=a.parent(),c=b.parent(),d=c.parent(),e=d.parent()):(console.log("cleared interval: "+h),clearInterval(f))},100)}(function(b){if(b&&e())return void f(b);var c=setInterval(function(){var b=$("<div/>");b.attr("id","contentDashboard"),b.attr("width","100%");var e=$("#dashboardView .modal-body");e.get(0)&&(e.html(b),$("#dashboardViewContext .modal-dialog").css("width","95%"),setTimeout(function(){console.log("open[#dashboardViewContext]"),$("body").append(j),cronapi.screen.showModal("dashboardView"),m(d).renderHtml("contentDashboard"),setTimeout(function(){a()},100)},100),clearInterval(c))},200)})(null)}$(`#${h}`).find("img").attr("alt",""),$(`#${h}`).find("input").attr("aria-label",h)},this.loadSriptsStimulsoft=function(a){var b=!0,c=j.length,d=0;Pace.options.initialRate=.7,Pace.options.minTime=1750,Pace.options.maxProgressPerFrame=1,Pace.options.ghostTime=12e4;let e=setInterval(()=>Pace.restart(),2500);j.forEach(function(f){this.loadScript(f,function(f){d++,f||(b=!1),d==c&&(clearInterval(e),Pace.options.initialRate=.03,Pace.options.minTime=250,Pace.options.maxProgressPerFrame=20,Pace.options.ghostTime=10,Pace.stop(),a(b))})}.bind(this))},this.loadScript=function(a,b){if(0<=$.inArray(a,k))return void(b&&b(!0));if(-1!=a.indexOf(".css")){var c=document.createElement("link");c.rel="stylesheet",c.type="text/css",c.href=a,c.media="all",c.onload=function(){k.push(a),b&&b(!0)},c.onerror=function(){b&&b(!1)};try{document.getElementsByTagName("head")[0].appendChild(c)}catch(a){console.log(a)}}else{var d=document.createElement("script");d.type="text/javascript",d.readyState?d.onreadystatechange=function(){("loaded"==d.readyState||"complete"==d.readyState)&&(d.onreadystatechange=null,k.push(a),b&&b(!0))}:d.onload=function(){k.push(a),b&&b(!0)},d.src=a,document.getElementsByTagName("head")[0].appendChild(d)}},this.openDashboard=function(a,b,c){this.getDashboard(a).then(function(a){a&&a.data&&a.data.dashboardName.endsWith(".dashboard")&&this.loadSriptsStimulsoft(function(b){b?(this.initializeStimulsoft(d.use()),this.getContentAsString(a.data).then(function(b){this.openStimulsoftReport(b.data,a.data.parameters,a.data.datasourcesInBand,c)}.bind(this),function(a){var b=cronapi.internal.getErrorMessage(a,a.statusText);i.Notification.error(b)}.bind(this))):i.Notification.error("Error loading report script")}.bind(this))}.bind(this))}}])})(app);
|