cronapp-framework-mobile-js 2.9.1-SP.9 → 2.9.2
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-button.components.json +42 -21
- package/components/crn-checkbox.components.json +20 -10
- package/components/crn-filter-button.components.json +21 -11
- package/components/crn-input-button.components.json +20 -10
- package/components/crn-ion-footer-bar.components.json +40 -20
- package/components/crn-ion-segment.components.json +20 -10
- package/components/crn-list-swipe.components.json +1 -1
- package/components/crn-signature-pad.components.json +2 -3
- package/components/crn-toggle.components.json +20 -10
- package/components/css/crn-ion-segment.css +3 -9
- package/components/templates/item.avatar.template.html +1 -1
- package/components/templates/item.swipe.template.html +3 -3
- package/components/templates/item.thumbnail.template.html +1 -1
- package/components/templates/list.avatar.template.html +1 -1
- package/components/templates/list.swipe.template.html +3 -3
- package/components/templates/list.thumbnail.template.html +1 -1
- package/{deprecated/components/templates/menu.template.html → components/templates/public.menu.template.html} +3 -3
- package/css/app_2.9.css +15 -2
- package/css/themes/custom/aquamarine/bar-aquamarine.css +7 -7
- package/css/themes/custom/aquamarine/button-aquamarine.css +51 -0
- package/css/themes/custom/aquamarine/custom-aquamarine.css +145 -83
- package/css/themes/custom/cerulean/button-cerulean.css +60 -9
- package/css/themes/custom/cerulean/crn-ion-segment-cerulean.css +8 -0
- package/css/themes/custom/cerulean/custom-cerulean.css +123 -63
- package/css/themes/custom/cosmo/custom-cosmo.css +59 -0
- package/css/themes/custom/cyborg/custom-cyborg.css +59 -0
- package/css/themes/custom/darkly/custom-darkly.css +88 -17
- package/css/themes/custom/dsgov/button-dsgov.css +96 -15
- package/css/themes/custom/dsgov/custom-dsgov.css +104 -45
- package/css/themes/custom/flatly/custom-flatly.css +60 -1
- package/css/themes/custom/fuse/button-fuse.css +91 -12
- package/css/themes/custom/fuse/custom-fuse.css +112 -29
- package/css/themes/custom/journal/custom-journal.css +68 -11
- package/css/themes/custom/material/custom-material.css +176 -87
- package/css/themes/custom/theme-general/button.css +30 -30
- package/css/themes/deprecated/cronos.css +55 -0
- package/{deprecated/css → css/themes/deprecated}/custom-ionic.css +0 -0
- package/{deprecated/css → css/themes/deprecated}/groupingOfCss/checkbox.css +0 -0
- package/{deprecated/css → css/themes/deprecated}/groupingOfCss/col.css +0 -0
- package/{deprecated/css → css/themes/deprecated}/groupingOfCss/dynamicImage.css +0 -0
- package/{deprecated/css → css/themes/deprecated}/groupingOfCss/import_groupingOfCss.css +0 -0
- package/{deprecated/css → css/themes/deprecated}/groupingOfCss/login.css +0 -0
- package/{deprecated/css → css/themes/deprecated}/groupingOfCss/qrCodeCronapp.css +0 -0
- package/{deprecated/css → css/themes/deprecated}/groupingOfCss/upload-image.css +0 -0
- package/{deprecated/css/app.css → css/themes/deprecated/material.min.css} +38 -26
- package/{deprecated/css → css/themes/deprecated}/old/modal.css +0 -0
- package/css/themes/theme.editor.view.html +3 -11
- package/dist/components/css/crn-ion-segment.css +1 -1
- package/dist/components/templates/item.avatar.template.html +1 -1
- package/dist/components/templates/item.swipe.template.html +1 -1
- package/dist/components/templates/item.thumbnail.template.html +1 -1
- package/dist/components/templates/list.avatar.template.html +1 -1
- package/dist/components/templates/list.swipe.template.html +1 -1
- package/dist/components/templates/list.thumbnail.template.html +1 -1
- package/{deprecated/dist/components/templates/menu.template.html → dist/components/templates/public.menu.template.html} +1 -1
- package/dist/css/app_2.9.css +1 -1
- package/dist/css/themes/custom/aquamarine/bar-aquamarine.css +1 -1
- package/dist/css/themes/custom/aquamarine/button-aquamarine.css +1 -1
- package/dist/css/themes/custom/aquamarine/custom-aquamarine.css +1 -1
- package/dist/css/themes/custom/cerulean/button-cerulean.css +1 -1
- package/dist/css/themes/custom/cerulean/crn-ion-segment-cerulean.css +1 -1
- package/dist/css/themes/custom/cerulean/custom-cerulean.css +1 -1
- package/dist/css/themes/custom/cosmo/custom-cosmo.css +1 -1
- package/dist/css/themes/custom/cyborg/custom-cyborg.css +1 -1
- package/dist/css/themes/custom/darkly/custom-darkly.css +1 -1
- package/dist/css/themes/custom/dsgov/button-dsgov.css +1 -1
- package/dist/css/themes/custom/dsgov/custom-dsgov.css +1 -1
- package/dist/css/themes/custom/flatly/custom-flatly.css +1 -1
- package/dist/css/themes/custom/fuse/button-fuse.css +1 -1
- package/dist/css/themes/custom/fuse/custom-fuse.css +1 -1
- package/dist/css/themes/custom/journal/custom-journal.css +1 -1
- package/dist/css/themes/custom/material/custom-material.css +1 -1
- package/dist/css/themes/custom/theme-general/button.css +1 -1
- package/{deprecated/dist/css → dist/css/themes/deprecated}/cronos.css +0 -0
- package/{deprecated/dist/css → dist/css/themes/deprecated}/custom-ionic.css +0 -0
- package/{deprecated/dist/css → dist/css/themes/deprecated}/groupingOfCss/checkbox.css +0 -0
- package/{deprecated/dist/css → dist/css/themes/deprecated}/groupingOfCss/col.css +0 -0
- package/{deprecated/dist/css → dist/css/themes/deprecated}/groupingOfCss/dynamicImage.css +0 -0
- package/{deprecated/dist/css → dist/css/themes/deprecated}/groupingOfCss/import_groupingOfCss.css +0 -0
- package/{deprecated/dist/css → dist/css/themes/deprecated}/groupingOfCss/login.css +0 -0
- package/{deprecated/dist/css → dist/css/themes/deprecated}/groupingOfCss/qrCodeCronapp.css +0 -0
- package/{deprecated/dist/css → dist/css/themes/deprecated}/groupingOfCss/upload-image.css +0 -0
- package/dist/css/themes/deprecated/material.min.css +1 -0
- package/{deprecated/dist/css → dist/css/themes/deprecated}/old/modal.css +0 -0
- package/dist/css/themes/theme.editor.view.html +1 -1
- package/dist/js/app.authentication.js +1 -1
- package/dist/js/directives.js +2 -2
- package/js/app.authentication.js +1 -1
- package/js/directives.js +114 -56
- package/lib/ionic/js/ionic.bundle.js +17 -2
- package/package.json +1 -1
- package/deprecated/components/crn-QRCode.components.json +0 -54
- package/deprecated/components/crn-anchor.components.json +0 -89
- package/deprecated/components/crn-button-bar.components.json +0 -64
- package/deprecated/components/crn-button.components.json +0 -316
- package/deprecated/components/crn-card.components.json +0 -95
- package/deprecated/components/crn-chart.components.json +0 -57
- package/deprecated/components/crn-chat.components.json +0 -8
- package/deprecated/components/crn-checkbox.components.json +0 -184
- package/deprecated/components/crn-complex-search.components.json +0 -43
- package/deprecated/components/crn-container.components.json +0 -21
- package/deprecated/components/crn-cron-crud.components.json +0 -21
- package/deprecated/components/crn-datasource.components.json +0 -181
- package/deprecated/components/crn-dynamic-file.components.json +0 -85
- package/deprecated/components/crn-dynamic-image.components.json +0 -153
- package/deprecated/components/crn-dynamic-select.components.json +0 -111
- package/deprecated/components/crn-evaluation.components.json +0 -64
- package/deprecated/components/crn-filter-button.components.json +0 -305
- package/deprecated/components/crn-form-template.components.json +0 -11
- package/deprecated/components/crn-header-button.components.json +0 -63
- package/deprecated/components/crn-heading.components.json +0 -109
- package/deprecated/components/crn-icon.components.json +0 -258
- package/deprecated/components/crn-image.components.json +0 -121
- package/deprecated/components/crn-infinite-scroll.components.json +0 -32
- package/deprecated/components/crn-input-button.components.json +0 -205
- package/deprecated/components/crn-input-floating.components.json +0 -196
- package/deprecated/components/crn-input-icon.components.json +0 -187
- package/deprecated/components/crn-input-inline.components.json +0 -198
- package/deprecated/components/crn-input.components.json +0 -185
- package/deprecated/components/crn-ion-content.components.json +0 -24
- package/deprecated/components/crn-ion-footer-bar.components.json +0 -351
- package/deprecated/components/crn-ion-header-bar.components.json +0 -211
- package/deprecated/components/crn-ion-list.components.json +0 -152
- package/deprecated/components/crn-ion-nav-buttons.components.json +0 -63
- package/deprecated/components/crn-ion-segment-item.components.json +0 -65
- package/deprecated/components/crn-ion-segment.components.json +0 -974
- package/deprecated/components/crn-ion-tab-item.components.json +0 -50
- package/deprecated/components/crn-ion-tab.components.json +0 -138
- package/deprecated/components/crn-item-options.components.json +0 -26
- package/deprecated/components/crn-item-select.components.json +0 -69
- package/deprecated/components/crn-item-swipe.components.json +0 -62
- package/deprecated/components/crn-kendo-chat.components.json +0 -88
- package/deprecated/components/crn-label.components.json +0 -113
- package/deprecated/components/crn-list-avatar.components.json +0 -260
- package/deprecated/components/crn-list-icon.components.json +0 -249
- package/deprecated/components/crn-list-item-avatar.components.json +0 -236
- package/deprecated/components/crn-list-item-icon.components.json +0 -242
- package/deprecated/components/crn-list-item-thumbnail.components.json +0 -226
- package/deprecated/components/crn-list-item.components.json +0 -160
- package/deprecated/components/crn-list-simple.components.json +0 -180
- package/deprecated/components/crn-list-swipe.components.json +0 -105
- package/deprecated/components/crn-list-thumbnail.components.json +0 -248
- package/deprecated/components/crn-list.components.json +0 -75
- package/deprecated/components/crn-map.components.json +0 -55
- package/deprecated/components/crn-mobile-menu.components.json +0 -32
- package/deprecated/components/crn-multiselect.components.json +0 -110
- package/deprecated/components/crn-navbar.components.json +0 -106
- package/deprecated/components/crn-option-button.components.json +0 -72
- package/deprecated/components/crn-paragraph.components.json +0 -110
- package/deprecated/components/crn-radio.components.json +0 -90
- package/deprecated/components/crn-radioOption.components.json +0 -23
- package/deprecated/components/crn-range.components.json +0 -106
- package/deprecated/components/crn-rating.components.json +0 -189
- package/deprecated/components/crn-search.components.json +0 -210
- package/deprecated/components/crn-select-options.components.json +0 -17
- package/deprecated/components/crn-select.components.json +0 -93
- package/deprecated/components/crn-slider-item.components.json +0 -236
- package/deprecated/components/crn-slider.components.json +0 -105
- package/deprecated/components/crn-spacer.components.json +0 -21
- package/deprecated/components/crn-start.components.json +0 -10
- package/deprecated/components/crn-tabs-icon-only-item.components.json +0 -85
- package/deprecated/components/crn-tabs-icon-only.components.json +0 -382
- package/deprecated/components/crn-tabs.components.json +0 -36
- package/deprecated/components/crn-textarea.components.json +0 -109
- package/deprecated/components/crn-toggle.components.json +0 -161
- package/deprecated/components/crn-video.components.json +0 -67
- package/deprecated/components/css/app.css +0 -78
- package/deprecated/components/css/background-color.css +0 -121
- package/deprecated/components/css/chatStyle.css +0 -221
- package/deprecated/components/css/color-default.css +0 -83
- package/deprecated/components/css/crn-ion-segment.css +0 -786
- package/deprecated/components/css/icon-size.css +0 -15
- package/deprecated/components/css/multiselect-editor.css +0 -119
- package/deprecated/components/css/tabs-color.css +0 -248
- package/deprecated/components/js/format.min.js +0 -2
- package/deprecated/components/js/jquery.inputmask.bundle.js +0 -3883
- package/deprecated/components/js/jquery.mask.min.js +0 -19
- package/deprecated/components/js/pouchdb.cordova-sqlite.js +0 -5540
- package/deprecated/components/js/qrcode.js +0 -1319
- package/deprecated/components/reports/BOOLEAN.parameter.html +0 -10
- package/deprecated/components/reports/DATE.parameter.html +0 -4
- package/deprecated/components/reports/DOUBLE.parameter.html +0 -4
- package/deprecated/components/reports/FLOAT.parameter.html +0 -4
- package/deprecated/components/reports/INTEGER.parameter.html +0 -4
- package/deprecated/components/reports/LONG.parameter.html +0 -5
- package/deprecated/components/reports/STRING.parameter.html +0 -5
- package/deprecated/components/reports/reports.parameters.html +0 -20
- package/deprecated/components/templates/advanced.list.designtime.html +0 -33
- package/deprecated/components/templates/advanced.list.template.html +0 -1
- package/deprecated/components/templates/anchor.template.html +0 -1
- package/deprecated/components/templates/button-bar.template.html +0 -5
- package/deprecated/components/templates/button-report.template.html +0 -1
- package/deprecated/components/templates/button.template.html +0 -4
- package/deprecated/components/templates/card.template.html +0 -7
- package/deprecated/components/templates/chat.template.html +0 -39
- package/deprecated/components/templates/checkbox.template.html +0 -8
- package/deprecated/components/templates/combobox.designtime.html +0 -12
- package/deprecated/components/templates/combobox.template.html +0 -8
- package/deprecated/components/templates/complexsearch.template.html +0 -7
- package/deprecated/components/templates/crn-ion-segment-item.template.html +0 -6
- package/deprecated/components/templates/crn-ion-segment.template.html +0 -27
- package/deprecated/components/templates/cron-crud.template.html +0 -7
- package/deprecated/components/templates/cron-mobile-menu.designtime.html +0 -10
- package/deprecated/components/templates/div.horizontal.template.html +0 -27
- package/deprecated/components/templates/div.vertical.template.html +0 -11
- package/deprecated/components/templates/dynamic-combobox.template.html +0 -6
- package/deprecated/components/templates/dynamicfile.template.html +0 -8
- package/deprecated/components/templates/dynamicimage.designtime.html +0 -10
- package/deprecated/components/templates/dynamicimage.template.html +0 -9
- package/deprecated/components/templates/evaluation.designtime.html +0 -7
- package/deprecated/components/templates/evaluation.template.html +0 -1
- package/deprecated/components/templates/filterbutton.template.html +0 -3
- package/deprecated/components/templates/floattextinput.designtime.html +0 -4
- package/deprecated/components/templates/floattextinput.template.html +0 -4
- package/deprecated/components/templates/form.template.html +0 -5
- package/deprecated/components/templates/header.template.html +0 -3
- package/deprecated/components/templates/icontextinput.template.html +0 -4
- package/deprecated/components/templates/image.template.html +0 -18
- package/deprecated/components/templates/inlinetextinput.template.html +0 -4
- package/deprecated/components/templates/ion-footer-bar.template.html +0 -15
- package/deprecated/components/templates/ion-header-bar.template.html +0 -13
- package/deprecated/components/templates/ion-tab-item.designtime.html +0 -5
- package/deprecated/components/templates/ion-tab.template.html +0 -8
- package/deprecated/components/templates/item.avatar.template.html +0 -5
- package/deprecated/components/templates/item.icon.template.html +0 -4
- package/deprecated/components/templates/item.options.template.html +0 -14
- package/deprecated/components/templates/item.slider.template.html +0 -4
- package/deprecated/components/templates/item.swipe.template.html +0 -14
- package/deprecated/components/templates/item.template.html +0 -5
- package/deprecated/components/templates/item.thumbnail.template.html +0 -5
- package/deprecated/components/templates/kendo-chat.designtime.html +0 -20
- package/deprecated/components/templates/kendo-chat.template.html +0 -75
- package/deprecated/components/templates/list.avatar.template.html +0 -7
- package/deprecated/components/templates/list.icon.template.html +0 -6
- package/deprecated/components/templates/list.swipe.template.html +0 -16
- package/deprecated/components/templates/list.template.html +0 -5
- package/deprecated/components/templates/list.thumbnail.template.html +0 -7
- package/deprecated/components/templates/maps.designtime.html +0 -1
- package/deprecated/components/templates/maps.template.html +0 -1
- package/deprecated/components/templates/multiselect.template.html +0 -5
- package/deprecated/components/templates/nav.bar.template.html +0 -5
- package/deprecated/components/templates/publicMenu.template.html +0 -14
- package/deprecated/components/templates/radiogroup-dynamic.template.html +0 -15
- package/deprecated/components/templates/radiogroup.template.html +0 -21
- package/deprecated/components/templates/range.template.html +0 -5
- package/deprecated/components/templates/rating.template.html +0 -9
- package/deprecated/components/templates/search.template.html +0 -6
- package/deprecated/components/templates/slider.template.html +0 -20
- package/deprecated/components/templates/tabs-icon-only.template.html +0 -16
- package/deprecated/components/templates/tabs.template.html +0 -5
- package/deprecated/components/templates/textarea.template.html +0 -1
- package/deprecated/components/templates/textinput.template.html +0 -3
- package/deprecated/components/templates/textinputbutton.template.html +0 -12
- package/deprecated/components/templates/title.template.html +0 -1
- package/deprecated/components/templates/toggle-dynamic.template.html +0 -11
- package/deprecated/components/templates/toggle.template.html +0 -9
- package/deprecated/components/templates/video.designtime.html +0 -2
- package/deprecated/components/templates/video.template.html +0 -1
- package/deprecated/components/templates/views/public/home.view.html +0 -16
- package/deprecated/components/templates/views/public/menu.view.html +0 -20
- package/deprecated/components/upload/upload.html +0 -41
- package/deprecated/css/themes/custom/material/custom-material.css +0 -12
- package/deprecated/css/themes/material.min.css +0 -4
- package/deprecated/dist/components/css/app.css +0 -1
- package/deprecated/dist/components/css/background-color.css +0 -1
- package/deprecated/dist/components/css/chatStyle.css +0 -1
- package/deprecated/dist/components/css/color-default.css +0 -1
- package/deprecated/dist/components/css/crn-ion-segment.css +0 -1
- package/deprecated/dist/components/css/icon-size.css +0 -1
- package/deprecated/dist/components/css/multiselect-editor.css +0 -1
- package/deprecated/dist/components/css/tabs-color.css +0 -1
- package/deprecated/dist/components/js/format.min.js +0 -1
- package/deprecated/dist/components/js/jquery.inputmask.bundle.js +0 -3
- package/deprecated/dist/components/js/jquery.mask.min.js +0 -1
- package/deprecated/dist/components/js/pouchdb.cordova-sqlite.js +0 -2
- package/deprecated/dist/components/js/qrcode.js +0 -1
- package/deprecated/dist/components/templates/advanced.list.designtime.html +0 -1
- package/deprecated/dist/components/templates/advanced.list.template.html +0 -1
- package/deprecated/dist/components/templates/anchor.template.html +0 -1
- package/deprecated/dist/components/templates/button-bar.template.html +0 -1
- package/deprecated/dist/components/templates/button-report.template.html +0 -1
- package/deprecated/dist/components/templates/button.template.html +0 -1
- package/deprecated/dist/components/templates/card.template.html +0 -1
- package/deprecated/dist/components/templates/chat.template.html +0 -1
- package/deprecated/dist/components/templates/checkbox.template.html +0 -1
- package/deprecated/dist/components/templates/combobox.designtime.html +0 -1
- package/deprecated/dist/components/templates/combobox.template.html +0 -1
- package/deprecated/dist/components/templates/complexsearch.template.html +0 -1
- package/deprecated/dist/components/templates/crn-ion-segment-item.template.html +0 -1
- package/deprecated/dist/components/templates/crn-ion-segment.template.html +0 -1
- package/deprecated/dist/components/templates/cron-crud.template.html +0 -1
- package/deprecated/dist/components/templates/cron-mobile-menu.designtime.html +0 -1
- package/deprecated/dist/components/templates/div.horizontal.template.html +0 -1
- package/deprecated/dist/components/templates/div.vertical.template.html +0 -1
- package/deprecated/dist/components/templates/dynamic-combobox.template.html +0 -1
- package/deprecated/dist/components/templates/dynamicfile.template.html +0 -1
- package/deprecated/dist/components/templates/dynamicimage.designtime.html +0 -1
- package/deprecated/dist/components/templates/dynamicimage.template.html +0 -1
- package/deprecated/dist/components/templates/evaluation.designtime.html +0 -1
- package/deprecated/dist/components/templates/evaluation.template.html +0 -1
- package/deprecated/dist/components/templates/filterbutton.template.html +0 -1
- package/deprecated/dist/components/templates/floattextinput.designtime.html +0 -1
- package/deprecated/dist/components/templates/floattextinput.template.html +0 -1
- package/deprecated/dist/components/templates/form.template.html +0 -1
- package/deprecated/dist/components/templates/header.template.html +0 -1
- package/deprecated/dist/components/templates/iconinput.template.html +0 -1
- package/deprecated/dist/components/templates/icontextinput.template.html +0 -1
- package/deprecated/dist/components/templates/image.template.html +0 -1
- package/deprecated/dist/components/templates/inlinetextinput.template.html +0 -1
- package/deprecated/dist/components/templates/ion-footer-bar.template.html +0 -1
- package/deprecated/dist/components/templates/ion-header-bar.template.html +0 -1
- package/deprecated/dist/components/templates/ion-tab-item.designtime.html +0 -1
- package/deprecated/dist/components/templates/ion-tab.designtime.html +0 -1
- package/deprecated/dist/components/templates/ion-tab.template.html +0 -1
- package/deprecated/dist/components/templates/item.avatar.template.html +0 -1
- package/deprecated/dist/components/templates/item.icon.template.html +0 -1
- package/deprecated/dist/components/templates/item.options.template.html +0 -1
- package/deprecated/dist/components/templates/item.slider.template.html +0 -1
- package/deprecated/dist/components/templates/item.swipe.template.html +0 -1
- package/deprecated/dist/components/templates/item.template.html +0 -1
- package/deprecated/dist/components/templates/item.thumbnail.template.html +0 -1
- package/deprecated/dist/components/templates/kendo-chat.designtime.html +0 -1
- package/deprecated/dist/components/templates/kendo-chat.template.html +0 -1
- package/deprecated/dist/components/templates/list.avatar.template.html +0 -1
- package/deprecated/dist/components/templates/list.icon.template.html +0 -1
- package/deprecated/dist/components/templates/list.swipe.template.html +0 -1
- package/deprecated/dist/components/templates/list.template.html +0 -1
- package/deprecated/dist/components/templates/list.thumbnail.template.html +0 -1
- package/deprecated/dist/components/templates/maps.designtime.html +0 -1
- package/deprecated/dist/components/templates/maps.template.html +0 -1
- package/deprecated/dist/components/templates/multiselect.template.html +0 -1
- package/deprecated/dist/components/templates/nav.bar.template.html +0 -1
- package/deprecated/dist/components/templates/publicMenu.template.html +0 -1
- package/deprecated/dist/components/templates/radiogroup-dynamic.template.html +0 -1
- package/deprecated/dist/components/templates/radiogroup.template.html +0 -1
- package/deprecated/dist/components/templates/range.template.html +0 -1
- package/deprecated/dist/components/templates/rating.template.html +0 -1
- package/deprecated/dist/components/templates/search.template.html +0 -1
- package/deprecated/dist/components/templates/slider.template.html +0 -1
- package/deprecated/dist/components/templates/tabs-icon-only.template.html +0 -1
- package/deprecated/dist/components/templates/tabs.template.html +0 -1
- package/deprecated/dist/components/templates/textarea.template.html +0 -1
- package/deprecated/dist/components/templates/textinput.template.html +0 -1
- package/deprecated/dist/components/templates/textinputbutton.template.html +0 -1
- package/deprecated/dist/components/templates/title.template.html +0 -1
- package/deprecated/dist/components/templates/toggle-dynamic.template.html +0 -1
- package/deprecated/dist/components/templates/toggle.template.html +0 -1
- package/deprecated/dist/components/templates/video.designtime.html +0 -1
- package/deprecated/dist/components/templates/video.template.html +0 -1
- package/deprecated/dist/components/templates/views/public/home.view.html +0 -1
- package/deprecated/dist/components/templates/views/public/menu.view.html +0 -1
- package/deprecated/dist/css/app.css +0 -1
- package/deprecated/dist/i18n/locale_en_us.json +0 -126
- package/deprecated/dist/i18n/locale_pt_br.json +0 -126
- package/deprecated/dist/img/cron-icon/crn-QRCode.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-anchor.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-button-bar.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-button.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-card.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-carousel.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-chart.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-checkbox.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-container.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-cron-crud.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-datasource.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-dynamic-file.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-dynamic-image.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-enterprise-dynamic-combobox.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-evaluation.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-form.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-header.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-icon.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-image.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-infinite-scroll.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-input-floating.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-input-inline.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-ion-footer-bar.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-ion-list.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-item-swipe.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-kendo-chat.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-label.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-list-avatar.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-list-icon.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-list-item-avatar.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-list-item-icon.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-list-item-thumbnail.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-list-item.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-list-swipe.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-list-thumbnail.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-list.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-map.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-multiselect.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-paragraph.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-plugin.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-radio.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-radiogroup.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-range.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-rating.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-select.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-spacer.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-tabs-icon-only.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-tabs.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-text-component.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-textarea.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-textinput.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-textinputbutton.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-textinputicon.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-toggle.svg +0 -1
- package/deprecated/dist/img/cron-icon/crn-video.svg +0 -1
- package/deprecated/dist/img/placehold-100x100.png +0 -0
- package/deprecated/dist/img/placehold-300x200.png +0 -0
- package/deprecated/dist/img/placehold-900x500.png +0 -0
- package/deprecated/dist/img/qr-code.png +0 -0
- package/deprecated/dist/img/svg-charts.svg +0 -1
- package/deprecated/dist/img/user.svg +0 -1
- package/deprecated/dist/js/LanguageSelectDirective.js +0 -1
- package/deprecated/dist/js/LocaleService.js +0 -1
- package/deprecated/dist/js/app.authentication.js +0 -1
- package/deprecated/dist/js/app.js +0 -1
- package/deprecated/dist/js/controllers.authentication.js +0 -1
- package/deprecated/dist/js/controllers.js +0 -1
- package/deprecated/dist/js/custom.controllers.js +0 -1
- package/deprecated/dist/js/customModules.js +0 -1
- package/deprecated/dist/js/customStateProvider.js +0 -0
- package/deprecated/dist/js/directives.js +0 -17
- package/deprecated/dist/js/filters.js +0 -1
- package/deprecated/dist/js/local-dateformat.directive.js +0 -1
- package/deprecated/dist/js/reports/parameters.controller.js +0 -1
- package/deprecated/dist/js/reports/reports.service.js +0 -1
- package/deprecated/dist/js/services.js +0 -1
- package/deprecated/dist/js/upload.service.js +0 -1
- package/deprecated/img/cron-icon/crn-QRCode.svg +0 -38
- package/deprecated/img/cron-icon/crn-anchor.svg +0 -29
- package/deprecated/img/cron-icon/crn-button-bar.svg +0 -1
- package/deprecated/img/cron-icon/crn-button.svg +0 -24
- package/deprecated/img/cron-icon/crn-card.svg +0 -1
- package/deprecated/img/cron-icon/crn-carousel.svg +0 -26
- package/deprecated/img/cron-icon/crn-chart.svg +0 -19
- package/deprecated/img/cron-icon/crn-checkbox.svg +0 -15
- package/deprecated/img/cron-icon/crn-container.svg +0 -1
- package/deprecated/img/cron-icon/crn-cron-crud.svg +0 -28
- package/deprecated/img/cron-icon/crn-datasource.svg +0 -27
- package/deprecated/img/cron-icon/crn-dynamic-file.svg +0 -1
- package/deprecated/img/cron-icon/crn-dynamic-image.svg +0 -25
- package/deprecated/img/cron-icon/crn-enterprise-dynamic-combobox.svg +0 -27
- package/deprecated/img/cron-icon/crn-evaluation.svg +0 -1
- package/deprecated/img/cron-icon/crn-form.svg +0 -24
- package/deprecated/img/cron-icon/crn-header.svg +0 -18
- package/deprecated/img/cron-icon/crn-icon.svg +0 -23
- package/deprecated/img/cron-icon/crn-image.svg +0 -20
- package/deprecated/img/cron-icon/crn-infinite-scroll.svg +0 -1
- package/deprecated/img/cron-icon/crn-input-floating.svg +0 -1
- package/deprecated/img/cron-icon/crn-input-inline.svg +0 -1
- package/deprecated/img/cron-icon/crn-ion-footer-bar.svg +0 -1
- package/deprecated/img/cron-icon/crn-ion-list.svg +0 -1
- package/deprecated/img/cron-icon/crn-item-swipe.svg +0 -15
- package/deprecated/img/cron-icon/crn-kendo-chat.svg +0 -1
- package/deprecated/img/cron-icon/crn-label.svg +0 -1
- package/deprecated/img/cron-icon/crn-list-avatar.svg +0 -1
- package/deprecated/img/cron-icon/crn-list-icon.svg +0 -1
- package/deprecated/img/cron-icon/crn-list-item-avatar.svg +0 -1
- package/deprecated/img/cron-icon/crn-list-item-icon.svg +0 -1
- package/deprecated/img/cron-icon/crn-list-item-thumbnail.svg +0 -1
- package/deprecated/img/cron-icon/crn-list-item.svg +0 -1
- package/deprecated/img/cron-icon/crn-list-swipe.svg +0 -17
- package/deprecated/img/cron-icon/crn-list-thumbnail.svg +0 -17
- package/deprecated/img/cron-icon/crn-list.svg +0 -16
- package/deprecated/img/cron-icon/crn-map.svg +0 -1
- package/deprecated/img/cron-icon/crn-multiselect.svg +0 -1
- package/deprecated/img/cron-icon/crn-paragraph.svg +0 -1
- package/deprecated/img/cron-icon/crn-plugin.svg +0 -44
- package/deprecated/img/cron-icon/crn-radio.svg +0 -21
- package/deprecated/img/cron-icon/crn-radiogroup.svg +0 -25
- package/deprecated/img/cron-icon/crn-range.svg +0 -1
- package/deprecated/img/cron-icon/crn-rating.svg +0 -20
- package/deprecated/img/cron-icon/crn-select.svg +0 -1
- package/deprecated/img/cron-icon/crn-spacer.svg +0 -1
- package/deprecated/img/cron-icon/crn-tabs-icon-only.svg +0 -24
- package/deprecated/img/cron-icon/crn-tabs.svg +0 -17
- package/deprecated/img/cron-icon/crn-text-component.svg +0 -22
- package/deprecated/img/cron-icon/crn-textarea.svg +0 -22
- package/deprecated/img/cron-icon/crn-textinput.svg +0 -23
- package/deprecated/img/cron-icon/crn-textinputbutton.svg +0 -33
- package/deprecated/img/cron-icon/crn-textinputicon.svg +0 -29
- package/deprecated/img/cron-icon/crn-toggle.svg +0 -1
- package/deprecated/img/cron-icon/crn-video.svg +0 -1
- package/deprecated/img/placehold-100x100.png +0 -0
- package/deprecated/img/placehold-300x200.png +0 -0
- package/deprecated/img/placehold-900x500.png +0 -0
- package/deprecated/img/qr-code.png +0 -0
- package/deprecated/img/svg-charts.svg +0 -1
- package/deprecated/img/user.svg +0 -18
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M21 18h-1.5a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H21a1 1 0 0 0 0-2h-6a1 1 0 0 0 0 2h1.5a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H15a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2z"/><path class="cls-1" d="M15 8H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h13zm-3 5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1zM22 8h-1v8h1a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zm0 19a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 10H4a4 4 0 0 0-4 4v6a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4v-6a4 4 0 0 0-4-4zM8 19.3a.71.71 0 0 1-.7.7H2.7a.7.7 0 0 1-.7-.7v-.5a2.81 2.81 0 0 1 1.7-2.57 1.91 1.91 0 0 1-.58-1.35 1.88 1.88 0 1 1 3.17 1.35A2.8 2.8 0 0 1 8 18.8zm13 .7H11a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2zm0-4H11a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2zM4 8h16a4 4 0 0 0 0-8H4a4 4 0 0 0 0 8zm7-5h10a1 1 0 0 1 0 2H11a1 1 0 0 1 0-2zM5 3a1 1 0 1 1-1 1 1 1 0 0 1 1-1z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><path class="st0" d="M4 20h16c2.2 0 4-1.8 4-4V8c0-2.2-1.8-4-4-4H4C1.8 4 0 5.8 0 8v8c0 2.2 1.8 4 4 4zm.39-8.94l2.67-2.67a1.33 1.33 0 0 1 2.27.94V10H19c.55 0 1 .45 1 1v2c0 .55-.45 1-1 1H9.34v.67a1.338 1.338 0 0 1-2.28.94l-2.67-2.67C4.15 12.7 4 12.37 4 12s.15-.7.39-.94z" id="Camada_1"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 2H4a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4v3.43a.56.56 0 0 0 1 .4L8.8 18H20a4 4 0 0 0 4-4V6a4 4 0 0 0-4-4zM6 12a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm6 0a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm6 0a2 2 0 1 1 2-2 2 2 0 0 1-2 2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zm0 17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1zm.71-10.29l.58.58c.39.39.26.71-.29.71H3c-.55 0-.68-.32-.29-.71l.58-.58a1 1 0 0 0 0-1.42l-.58-.58C2.32 4.32 2.45 4 3 4h18c.55 0 .68.32.29.71l-.58.58a1 1 0 0 0 0 1.42z"/><rect class="cls-1" x="6" y="12" width="12" height="4" rx="1"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zM8 19.3a.71.71 0 0 1-.7.7H2.7a.7.7 0 0 1-.7-.7v-.5a2.81 2.81 0 0 1 1.7-2.57 1.91 1.91 0 0 1-.58-1.35 1.88 1.88 0 1 1 3.17 1.35A2.8 2.8 0 0 1 8 18.8zm0-10a.71.71 0 0 1-.7.7H2.7a.7.7 0 0 1-.7-.7v-.5a2.81 2.81 0 0 1 1.7-2.57 1.91 1.91 0 0 1-.58-1.36 1.88 1.88 0 0 1 3.75 0 1.83 1.83 0 0 1-.58 1.35A2.82 2.82 0 0 1 8 8.8zM21 20H11a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2zm0-4H11a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2zm0-6H11a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2zm0-4H11a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zM9.64 17.49l-.16.1A1.35 1.35 0 0 0 8.87 19l.05.18c.15.54-.16.85-.69.7L8 19.87a1.35 1.35 0 0 0-1.45.6l-.1.17c-.27.48-.71.48-1 0l-.09-.17a1.36 1.36 0 0 0-1.36-.6l-.18.05c-.53.15-.85-.16-.7-.7v-.18a1.33 1.33 0 0 0-.6-1.45l-.17-.1c-.48-.27-.48-.71 0-1l.17-.1A1.33 1.33 0 0 0 3.13 15v-.19c-.15-.53.17-.84.7-.69l.18.05a1.36 1.36 0 0 0 1.46-.6l.09-.17c.27-.48.71-.48 1 0l.1.17a1.35 1.35 0 0 0 1.45.6l.19-.05c.53-.15.84.16.69.69l-.12.19a1.35 1.35 0 0 0 .61 1.45l.16.1c.48.23.48.67 0 .94zm0-10l-.16.1A1.35 1.35 0 0 0 8.87 9l.05.19c.15.53-.16.84-.69.69L8 9.87a1.35 1.35 0 0 0-1.45.61l-.1.16c-.27.48-.71.48-1 0l-.09-.16A1.37 1.37 0 0 0 4 9.87l-.18.05c-.53.15-.85-.16-.7-.69v-.19a1.33 1.33 0 0 0-.6-1.45l-.17-.1c-.48-.27-.48-.71 0-1l.17-.09A1.35 1.35 0 0 0 3.13 5v-.18c-.15-.53.17-.85.7-.7h.18a1.35 1.35 0 0 0 1.46-.6l.09-.17c.27-.48.71-.48 1 0l.1.17A1.33 1.33 0 0 0 8 4.13h.19c.53-.15.84.17.69.7L8.87 5a1.37 1.37 0 0 0 .61 1.46l.16.09c.48.23.48.67 0 .94zM21 20h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0-4h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0-6h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0-4h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 4H4a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V8a4 4 0 0 0-4-4zM10 16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-1a4 4 0 0 1 2.35-3.63 2.5 2.5 0 1 1 3.3 0A4 4 0 0 1 10 15zm11-1h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0-4h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 4H4a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V8a4 4 0 0 0-4-4zm-8.36 8.49l-.59.33a1.35 1.35 0 0 0-.6 1.46l.18.65c.14.53-.17.84-.7.7l-.65-.18a1.35 1.35 0 0 0-1.46.6l-.33.59c-.27.48-.71.48-1 0l-.33-.59a1.35 1.35 0 0 0-1.46-.6l-.65.18c-.53.14-.84-.17-.7-.7l.18-.65A1.35 1.35 0 0 0 3 12.82l-.59-.33c-.48-.27-.48-.71 0-1l.59-.31a1.35 1.35 0 0 0 .6-1.46l-.18-.65c-.14-.53.17-.84.7-.7l.65.18A1.35 1.35 0 0 0 6.18 8l.33-.59c.27-.48.71-.48 1 0l.31.59a1.35 1.35 0 0 0 1.46.6l.65-.18c.53-.14.84.17.7.7l-.18.65a1.35 1.35 0 0 0 .6 1.46l.59.33c.48.22.48.66 0 .93zM21 15h-6a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2zm0-4h-6a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 4H4a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V8a4 4 0 0 0-4-4zM7 17a5 5 0 1 1 5-5 5 5 0 0 1-5 5zm14-2h-6a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2zm0-4h-6a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 4H4a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V8a4 4 0 0 0-4-4zM5 13a1 1 0 1 1 1-1 1 1 0 0 1-1 1zm15-1a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1 1 1 0 0 1 1-1h10a1 1 0 0 1 1 1z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><path class="st0" d="M4 24h16c2.2 0 4-1.8 4-4V4c0-2.2-1.8-4-4-4H4C1.8 0 0 1.8 0 4v16c0 2.2 1.8 4 4 4zm16-6c0 .55-.45 1-1 1H9.34v.67a1.338 1.338 0 0 1-2.28.94l-2.67-2.67C4.15 17.7 4 17.37 4 17s.15-.7.39-.94l2.67-2.67a1.33 1.33 0 0 1 2.27.94V15H19c.55 0 1 .45 1 1v2zM4.39 6.06l2.67-2.67a1.33 1.33 0 0 1 2.27.94V5H19c.55 0 1 .45 1 1v2c0 .55-.45 1-1 1H9.33v.67a1.33 1.33 0 0 1-2.27.94L4.39 7.94C4.15 7.7 4 7.37 4 7s.15-.7.39-.94z" id="Camada_1"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><path class="st0" d="M20 0H4C1.8 0 0 1.8 0 4v16c0 2.2 1.8 4 4 4h16c2.2 0 4-1.8 4-4V4c0-2.2-1.8-4-4-4zM8 19c0 .55-.45 1-1 1H3c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h4c.55 0 1 .45 1 1v4zM8 9c0 .55-.45 1-1 1H3c-.55 0-1-.45-1-1V5c0-.55.45-1 1-1h4c.55 0 1 .45 1 1v4zm13 11H11c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-4H11c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-6H11c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1zm0-4H11c-.55 0-1-.45-1-1s.45-1 1-1h10c.55 0 1 .45 1 1s-.45 1-1 1z" id="Camada_2"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><path class="st0" d="M20 0H4C1.8 0 0 1.8 0 4v16c0 2.2 1.8 4 4 4h16c2.2 0 4-1.8 4-4V4c0-2.2-1.8-4-4-4zm-1 19H5c-.55 0-1-.45-1-1s.45-1 1-1h14c.55 0 1 .45 1 1s-.45 1-1 1zm0-4H5c-.55 0-1-.45-1-1s.45-1 1-1h14c.55 0 1 .45 1 1s-.45 1-1 1zm0-4H5c-.55 0-1-.45-1-1s.45-1 1-1h14c.55 0 1 .45 1 1s-.45 1-1 1zm0-4H5c-.55 0-1-.45-1-1s.45-1 1-1h14c.55 0 1 .45 1 1s-.45 1-1 1z" id="Camada_1"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M18 6v-.46V6zM6 5.59v0zM18 6A6 6 0 0 0 6 6c0 3.31 6 12 6 12s6-8.69 6-12zm-8 0a2 2 0 1 1 2 2 2 2 0 0 1-2-2zM12 20c-4.42 0-8 .9-8 2s3.58 2 8 2 8-.9 8-2-3.58-2-8-2zm0 2.5c-1.66 0-3-.22-3-.5s1.34-.5 3-.5 3 .22 3 .5-1.34.5-3 .5z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 10H4a4 4 0 0 0-4 4v6a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4v-6a4 4 0 0 0-4-4zm-1 10H5a1 1 0 0 1 0-2h14a1 1 0 0 1 0 2zm0-4H5a1 1 0 0 1 0-2h14a1 1 0 0 1 0 2zM4 8h16a4 4 0 0 0 0-8H4a4 4 0 0 0 0 8zm10.69-5.66a1.16 1.16 0 0 1 .65-.34h3.49a1.16 1.16 0 0 1 .83.34 1.19 1.19 0 0 1 0 1.66L18 5.66a1.19 1.19 0 0 1-1.66 0L14.69 4a1.17 1.17 0 0 1 0-1.66z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 0H4a4 4 0 0 0-4 4v16a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4V4a4 4 0 0 0-4-4zm-7 19H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm6-6H5a1 1 0 0 1 0-2h14a1 1 0 0 1 0 2zm0-6H5a1 1 0 0 1 0-2h14a1 1 0 0 1 0 2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#cac9c9}</style><path class="st0" d="M22 0h-7.01C13.9 0 13 .9 13 2v2c0 .28-.23.5-.5.5h-.28c-.27 0-.65-.17-.83-.38 0 0-.34-.39-.83-.53-.02-.01-.04-.01-.07-.02-.54-.14-1.14-.14-1.93.66-.3.3-.53.7-.56 1.12-.08 1.17.85 2.15 2 2.15.17 0 .34-.03.5-.07.02-.01.04-.01.07-.02.49-.15.83-.53.83-.53.18-.21.55-.38.83-.38h.28A.5.5 0 0 1 13 7v2.01c0 1.1.9 1.99 1.99 1.99.09 0 .13-.22.09-.49 0 0-.24-1.52 1.01-2.86.61-.65 1.43-1.13 2.32-1.15a3.505 3.505 0 0 1 3.55 4.02c-.07.26-.05.48.04.48 1.1 0 2-.9 2-1.99V2c0-1.1-.9-2-2-2z"/><path class="st0" d="M2 11h2c.28 0 .5.23.5.5v.28c0 .27-.17.65-.38.83 0 0-.39.34-.53.83-.01.02-.01.04-.02.07-.14.55-.14 1.15.66 1.94.3.3.7.53 1.12.56 1.17.07 2.15-.86 2.15-2.01 0-.17-.03-.34-.07-.5-.01-.02-.01-.04-.02-.07-.15-.49-.53-.83-.53-.83-.21-.18-.38-.55-.38-.83v-.27c0-.27.22-.5.5-.5h2.01C10.1 11 11 10.1 11 9.01c0-.09-.22-.13-.49-.09 0 0-1.52.24-2.86-1.01C7 7.3 6.52 6.48 6.5 5.59a3.505 3.505 0 0 1 4.02-3.55c.26.07.48.05.48-.04 0-1.1-.9-2-1.99-2H2C.9 0 0 .9 0 2v7.01C0 10.1.9 11 2 11z"/><path class="st0" d="M13.43 20.41c.02.01.04.01.07.02.55.14 1.15.14 1.94-.66.3-.3.53-.7.56-1.12.08-1.17-.84-2.15-1.99-2.15-.17 0-.34.03-.5.07-.02.01-.04.01-.07.02-.49.15-.83.53-.83.53-.18.21-.55.38-.83.38h-.28c-.27 0-.5-.23-.5-.5v-2.01C11 13.9 10.1 13 9.01 13c-.09 0-.13.22-.09.49 0 0 .24 1.52-1.01 2.86-.61.65-1.43 1.13-2.32 1.15a3.505 3.505 0 0 1-3.55-4.02c.07-.26.05-.48-.04-.48-1.1 0-2 .9-2 1.99V22c0 1.1.9 2 2 2h7.01c1.1 0 1.99-.9 1.99-2v-2c0-.27.23-.5.5-.5h.28c.27 0 .65.17.83.38 0 0 .33.38.82.53z"/><path class="st0" d="M22 13h-2c-.27 0-.5-.23-.5-.5v-.28c0-.27.17-.65.38-.83 0 0 .39-.34.53-.83.01-.02.01-.04.02-.07.14-.55.14-1.15-.66-1.94-.3-.3-.7-.53-1.12-.56-1.17-.07-2.15.86-2.15 2.01 0 .17.03.34.07.5.01.02.01.04.02.07.15.49.53.83.53.83.21.18.38.55.38.83v.28c0 .27-.23.5-.5.5h-2.01C13.9 13 13 13.9 13 14.99c0 .09.22.13.49.09 0 0 1.52-.24 2.86 1.01.65.61 1.12 1.42 1.14 2.31a3.493 3.493 0 0 1-4.01 3.56c-.26-.07-.48-.05-.48.04 0 1.1.9 2 1.99 2H22c1.1 0 2-.9 2-2v-7.01c0-1.09-.9-1.99-2-1.99z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><g id="Camada_1"><path class="st0" d="M22 3H2C.9 3 0 3.9 0 5v4c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM12 7.04c0 .53-.43.96-.96.96H4.96A.96.96 0 0 1 4 7.04v-.08c0-.53.43-.96.96-.96h6.08c.53 0 .96.43.96.96v.08zm7.79-.84l-2.6 2.6c-.23.23-.58.25-.85.09-.05-.03-.1-.05-.14-.09l-1.6-1.6a.706.706 0 0 1 0-.99c.27-.27.72-.27.99 0l1.1 1.1 2.1-2.1c.27-.27.72-.27.99 0s.29.71.01.99zM22 13H2c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm-10 4.04c0 .53-.43.96-.96.96H4.96a.96.96 0 0 1-.96-.96v-.08c0-.53.43-.96.96-.96h6.08c.53 0 .96.43.96.96v.08z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><g id="Camada_2"><path class="st0" d="M12 0C5.37 0 0 5.37 0 12s5.37 12 12 12 12-5.37 12-12S18.63 0 12 0zm0 20c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/><circle class="st0" cx="12" cy="12" r="4"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M22 10h-4.35a6 6 0 0 0-11.3 0H2a2 2 0 0 0 0 4h4.35a6 6 0 0 0 11.3 0H22a2 2 0 0 0 0-4zm-10 4a2 2 0 1 1 2-2 2 2 0 0 1-2 2z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><path class="st0" d="M12.87 1.08l2.95 5.99c.14.29.42.49.73.53l6.61.96c.8.12 1.12 1.1.54 1.66l-4.78 4.66c-.23.22-.33.55-.28.86l1.13 6.58c.14.8-.7 1.4-1.41 1.03l-5.91-3.11a.976.976 0 0 0-.91 0l-5.91 3.11c-.71.38-1.55-.23-1.41-1.03l1.13-6.58a.973.973 0 0 0-.28-.86L.3 10.22c-.58-.56-.26-1.54.54-1.66l6.6-.96c.32-.05.59-.25.73-.53l2.95-5.99c.36-.72 1.4-.72 1.75 0z" id="Camada_2"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M20 10H4a4 4 0 0 0-4 4v6a4 4 0 0 0 4 4h16a4 4 0 0 0 4-4v-6a4 4 0 0 0-4-4zm-1 10H5a1 1 0 0 1 0-2h14a1 1 0 0 1 0 2zm0-4H5a1 1 0 0 1 0-2h14a1 1 0 0 1 0 2zM4 8h16a4 4 0 0 0 0-8H4a4 4 0 0 0 0 8zm10.69-5.66a1.16 1.16 0 0 1 .65-.34h3.49a1.16 1.16 0 0 1 .83.34 1.19 1.19 0 0 1 0 1.66L18 5.66a1.19 1.19 0 0 1-1.66 0L14.69 4a1.17 1.17 0 0 1 0-1.66z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M2 4h20a2 2 0 0 0 0-4H2a2 2 0 0 0 0 4zM22 20H2a2 2 0 0 0 0 4h20a2 2 0 0 0 0-4zM14 10a1 1 0 0 0 .71-1.71l-2-2a1 1 0 0 0-1.42 0l-2 2A1 1 0 0 0 10 10h.5v4H10a1 1 0 0 0-.71 1.71l2 2a1 1 0 0 0 1.42 0l2-2A1 1 0 0 0 14 14h-.5v-4z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><g id="Camada_2"><path class="st0" d="M20 0H4C1.8 0 0 1.8 0 4v6c0 2.2 1.8 4 4 4h16c2.2 0 4-1.8 4-4V4c0-2.2-1.8-4-4-4zM20 16H4c-2.2 0-4 1.8-4 4s1.8 4 4 4h16c2.2 0 4-1.8 4-4s-1.8-4-4-4zM9.26 20.42c-.41.23-.64.79-.51 1.24.12.45-.14.72-.59.59s-1.01.11-1.24.51c-.23.41-.61.41-.84 0-.23-.41-.79-.64-1.24-.51s-.72-.14-.59-.59c.12-.45-.11-1.01-.51-1.24-.41-.23-.41-.61 0-.84s.64-.79.51-1.24c-.12-.45.14-.72.59-.59s1.01-.11 1.24-.51c.23-.41.61-.41.84 0 .23.41.79.64 1.24.51s.72.14.59.59c-.12.45.11 1.01.51 1.24s.41.61 0 .84zm11 0c-.41.23-.64.79-.51 1.24.12.45-.14.72-.59.59s-1.01.11-1.24.51c-.23.41-.61.41-.84 0-.23-.41-.79-.64-1.24-.51s-.72-.14-.59-.59c.12-.45-.11-1.01-.51-1.24-.41-.23-.41-.61 0-.84s.64-.79.51-1.24c-.12-.45.14-.72.59-.59s1.01-.11 1.24-.51c.23-.41.61-.41.84 0 .23.41.79.64 1.24.51s.72.14.59.59c-.12.45.11 1.01.51 1.24s.41.61 0 .84z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><g id="Camada_1_1_"><path class="st0" d="M4 8h16c2.2 0 4-1.8 4-4s-1.8-4-4-4H4C1.8 0 0 1.8 0 4s1.8 4 4 4zm11-6h5c1.1 0 2 .9 2 2s-.9 2-2 2h-5c-1.1 0-2-.9-2-2s.9-2 2-2zM4 2h5c1.1 0 2 .9 2 2s-.9 2-2 2H4c-1.1 0-2-.9-2-2s.9-2 2-2zM4 24h16c2.2 0 4-1.8 4-4v-6c0-2.2-1.8-4-4-4H4c-2.2 0-4 1.8-4 4v6c0 2.2 1.8 4 4 4z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><g id="Camada_2"><path class="st0" d="M16 6H8c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1z"/><path class="st0" d="M20 0H4C1.8 0 0 1.8 0 4v16c0 2.2 1.8 4 4 4h16c2.2 0 4-1.8 4-4V4c0-2.2-1.8-4-4-4zm.45 8.89l1.11 2.21c.24.5-.01.9-.56.9H3c-.55 0-.8-.4-.55-.89L3.56 8.9c.25-.49.25-1.3 0-1.79L2.45 4.89C2.2 4.4 2.45 4 3 4h18c.55 0 .8.4.55.89L20.44 7.1c-.24.5-.24 1.3.01 1.79z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><path class="st0" d="M20 0H4C1.8 0 0 1.8 0 4v16c0 2.2 1.8 4 4 4h16c2.2 0 4-1.8 4-4V4c0-2.2-1.8-4-4-4zm-6.5 18H15c.55 0 1 .45 1 1s-.45 1-1 1H9c-.55 0-1-.45-1-1s.45-1 1-1h1.5c.28 0 .5-.22.5-.5v-11c0-.28-.22-.5-.5-.5H9c-.55 0-1-.45-1-1s.45-1 1-1h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.5c-.28 0-.5.22-.5.5v11c0 .28.22.5.5.5z" id="Camada_2"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><g id="Camada_2"><path class="st0" d="M9.01 8H2c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h7.01V8zM22 8h-7.01v8H22c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2z"/><path class="st0" d="M15 18h-1.5c-.28 0-.5-.22-.5-.5v-11c0-.28.22-.5.5-.5H15c.55 0 1-.45 1-1s-.45-1-1-1H9c-.55 0-1 .45-1 1s.45 1 1 1h1.5c.28 0 .5.22.5.5v11c0 .28-.22.5-.5.5H9c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><g id="Camada_2"><path class="st0" d="M3.01 16V8H2c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h1.01zM10 8H8.99v8H10c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2z"/><path class="st0" d="M9 18H7.5c-.28 0-.5-.22-.5-.5v-11c0-.28.22-.5.5-.5H9c.55 0 1-.45 1-1s-.45-1-1-1H3c-.55 0-1 .45-1 1s.45 1 1 1h1.5c.28 0 .5.22.5.5v11c0 .28-.22.5-.5.5H3c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1zM21.75 15.17a.732.732 0 0 0-.53-.22c-.41 0-.75.34-.75.75v-.5c0-.21-.08-.39-.22-.53s-.32-.22-.53-.22c-.31 0-.58.19-.69.46-.04.09-.06.19-.06.29v-.5c0-.21-.08-.39-.22-.53s-.32-.22-.53-.22c-.1 0-.2.02-.29.06-.27.11-.46.38-.46.69v-3c0-.21-.08-.39-.22-.53s-.32-.22-.53-.22c-.31 0-.58.19-.69.46-.04.09-.06.19-.06.29v5.25l-.72-.72a.754.754 0 0 0-1.06 0c-.29.29-.29.77 0 1.06l1.63 1.63.53.53c.28.31.67.5 1.11.5h3c.83 0 1.5-.68 1.5-1.5V15.7c0-.17-.07-.33-.17-.45a.201.201 0 0 0-.04-.08z"/><path class="st0" d="M22 8h-6c-1.1 0-2 .9-2 2v4c0 .39.12.75.31 1.06.13-.03.27-.05.41-.05.08 0 .17.01.25.02V11.7c0-.97.79-1.75 1.75-1.75s1.75.79 1.75 1.75v1.27c.39.06.73.24.99.5a1.72 1.72 0 0 1 1.5.5 1.752 1.752 0 0 1 2.01 1.73v.04c.61-.35 1.03-.99 1.03-1.74v-4c0-1.1-.9-2-2-2z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><style>.st0{fill:#c9c9c9}</style><g id="Camada_2"><path class="st0" d="M15.01 16V8H14c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h1.01zM22 8h-1.01v8H22c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2z"/><path class="st0" d="M21 18h-1.5c-.28 0-.5-.22-.5-.5v-11c0-.28.22-.5.5-.5H21c.55 0 1-.45 1-1s-.45-1-1-1h-6c-.55 0-1 .45-1 1s.45 1 1 1h1.5c.28 0 .5.22.5.5v11c0 .28-.22.5-.5.5H15c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1zM9.63 11.51l-.59-.33c-.48-.27-.75-.93-.6-1.46l.18-.65c.15-.53-.17-.84-.7-.7l-.64.18c-.53.15-1.19-.12-1.46-.6l-.33-.59c-.27-.48-.71-.48-.99 0l-.33.59c-.27.48-.92.75-1.45.6l-.65-.18c-.53-.15-.84.17-.7.7l.18.65c.15.53-.12 1.19-.6 1.46l-.59.33c-.48.27-.48.71 0 .99l.59.33c.48.27.75.93.6 1.46l-.18.65c-.15.53.17.84.7.7l.65-.18c.53-.15 1.19.12 1.46.6l.33.59c.27.48.71.48.99 0l.33-.59c.27-.48.93-.75 1.46-.6l.65.18c.53.15.84-.17.7-.7l-.18-.65c-.15-.53.12-1.19.6-1.46l.59-.33c.46-.28.46-.72-.02-.99z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M18 6H6a6 6 0 0 0 0 12h12a6 6 0 0 0 0-12zM6 16a4 4 0 1 1 4-4 4 4 0 0 1-4 4z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9}</style></defs><path class="cls-1" d="M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0zm3.64 12.36l-4.78 4.78a.5.5 0 0 1-.86-.36V7.22a.5.5 0 0 1 .86-.36l4.78 4.78a.51.51 0 0 1 0 .72z"/></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1133.86 849.86"><defs><style>.cls-1{fill:#616160}</style></defs><title>svg-charts</title><path class="cls-1" d="M1106.45 705.91a24.74 24.74 0 0 1 7.48 18.16v85.47a25.54 25.54 0 0 1-25.64 25.64H45.57a24.74 24.74 0 0 1-18.16-7.48 24.72 24.72 0 0 1-7.48-18.16V40.32a24.7 24.7 0 0 1 7.48-18.16 24.7 24.7 0 0 1 18.16-7.48H131a24.7 24.7 0 0 1 18.16 7.48 24.7 24.7 0 0 1 7.48 18.16v658.11h931.61a24.72 24.72 0 0 1 18.2 7.48zM635.3 339.46L453.68 95.88q-8.55-10.69-22.43-9.62T411 98L225.05 407.84v222.21h820.51l-192.31-401.7q-4.28-10.68-16-13.89t-20.3 5.34v-2.13z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><style>.st0{fill:#323232}.st1{fill:#fbfbfb}</style><path class="st0" d="M9.3 79.5c-4.7-1.5-8-4.3-9.3-9.1V9.7C2.9 2.6 5.8.5 13.3.5h52.8C74.4.5 77.6 2.9 80 10.8v58.6c-1.2 5.7-4.6 9.1-10.4 10.2-20.1 0-40.2-.1-60.3-.1z"/><path class="st1" d="M39.6 67.4c-4.8 0-9.5.1-14.3 0-5.6-.1-9.1-3.4-9-8.7 0-8 3.9-14.5 8.8-20.4 2-2.4 4.9-2.1 7.5-.6 4.7 2.6 9.4 2.5 14.1.1 4.3-2.2 7.4-.9 9.9 3 3.3 5 6.1 10.1 6.8 16.1.8 6.7-2.7 10.6-9.5 10.7-4.8-.2-9.5-.2-14.3-.2z"/><path class="st1" d="M50.4 24.6c0 6.8-4.5 11.8-10.6 11.7-5.8-.1-10.2-5-10.3-11.6-.1-6.6 4.6-12 10.4-12.1 5.8.1 10.5 5.4 10.5 12z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
angular.module("MyApp").directive("ngTranslateLanguageSelect",["LocaleService",function(a){"use strict";return{restrict:"A",replace:!0,template:"<div class=\"language-select\" ng-if=\"visible\"><label><select ng-init=\"currentLocaleDisplayName = localesDisplayNames[0]\"ng-model=\"currentLocaleDisplayName\" ng-options=\"localesDisplayName for localesDisplayName in localesDisplayNames\" ng-change=\"changeLanguage(currentLocaleDisplayName)\">aria-label=\"Language Selector\"</select></label></div>",controller:["$scope",function(b){b.currentLocaleDisplayName=a.getLocaleDisplayName(),b.localesDisplayNames=a.getLocalesDisplayNames(),b.visible=b.localesDisplayNames&&1<b.localesDisplayNames.length,b.changeLanguage=function(b){a.setLocaleByDisplayName(b)}}]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
angular.module("MyApp").service("LocaleService",["$translate","LOCALES","$rootScope","tmhDynamicLocale",function(a,b,c,d){"use strict";var e=b.locales,f=Object.keys(e);f&&0!==f.length||console.error("There are no _LOCALES provided");var g=[];f.forEach(function(a){g.push(e[a])});var h=a.proposedLanguage(),i=function(a){return-1!==f.indexOf(a)},j=function(b){return i(b)?void(h=b,a.use(b)):void console.error("Locale name \""+b+"\" is invalid")};return c.$on("$translateChangeSuccess",function(a,b){document.documentElement.setAttribute("lang",b.language),d.set(b.language.toLowerCase().replace(/_/g,"-"))}),{getLocaleDisplayName:function(){return e[h]},setLocaleByDisplayName:function(a){j(f[g.indexOf(a)])},getLocalesDisplayNames:function(){return g}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var cronappModules=["ionic","ui.router","ngResource","ngSanitize","custom.controllers","custom.services","ui.bootstrap","report.services","datasourcejs","pascalprecht.translate","tmh.dynamicLocale","ui-notification","ngFileUpload","angularMoment","upload.services","ngAria","ngCookies"];window.customModules&&(cronappModules=cronappModules.concat(window.customModules)),window.paceOptions={document:!0,eventLag:!0,restartOnPushState:!0,restartOnRequestAfter:!0,ajax:{trackMethods:["PUT","POST","GET"]}};var app=function(){return angular.module("MyApp",cronappModules).constant("LOCALES",{locales:{pt_br:"Portugues (Brasil)",en_us:"English"},preferredLocale:"pt_br"}).run(["$ionicPlatform",function(a){a.ready(function(){setTimeout(function(){navigator.splashscreen&&navigator.splashscreen.hide()},100),window.cordova&&window.cordova.plugins&&window.cordova.plugins.Keyboard&&(cordova.plugins.Keyboard.hideKeyboardAccessoryBar(!0),cordova.plugins.Keyboard.disableScroll(!0)),window.StatusBar&&StatusBar.styleDefault(),ionic.Platform.is("ios")&&window.addEventListener("orientationchange",function(){var a=document.body.style.marginTop;document.body.style.marginTop="1px",setTimeout(function(){document.body.style.marginTop=a},100)},!1)})}]).config(["$httpProvider","$compileProvider",function(a,b){b.imgSrcSanitizationWhitelist(/^\s*(https?|ftp|file|blob|ionic):|data:image/);a.interceptors.push(["$q","$rootScope","$injector",function(a,b,c){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},responseError:function(b){if(500===b.status){let a=c.get("$state"),b=c.get("$http"),d=c.get("Notification");window.refreshToken(d,b,()=>{},b=>{404!==b.status&&(localStorage.removeItem("_u"),a.go("login"))})}return a.reject(b)}}}])}]).config(["$stateProvider","$urlRouterProvider","$ionicConfigProvider",function(a,b,c){c.navBar.alignTitle("center"),c.tabs.position("bottom"),ionic.Platform.isIOS()&&c.scrolling.jsScrolling(!1)}]).config(["$stateProvider","$urlRouterProvider","NotificationProvider",function(a,b,c){c.setOptions({delay:5e3,startTop:20,startRight:10,verticalSpacing:20,horizontalSpacing:20,positionX:"right",positionY:"top"}),window.customStateProvider?window.customStateProvider(a):a.state("main",{url:"",cache:!1,controller:"InitialController",templateUrl:function(){return navigator.app,""}}).state("login",{url:"/app/login",cache:!1,controller:"LoginController",templateUrl:"views/login.view.html"}).state("publicRoot",{url:"/public/{name:.*}",cache:!1,controller:"PageController",templateUrl:function(a){return"views/public/"+a.name+".view.html"}}).state("public",{url:"/app/public",cache:!1,controller:"PublicMenuController",templateUrl:"node_modules/cronapp-framework-mobile-js/components/templates/publicMenu.template.html"}).state("public.pages",{url:"/{name:.*}",cache:!1,views:{menuContent:{controller:"PageController",templateUrl:function(a){return"views/public/"+a.name+".view.html"}}}}).state("app",{url:"/app/logged",cache:!1,controller:"MenuController",templateUrl:"node_modules/cronapp-framework-mobile-js/components/templates/menu.template.html"}).state("app.home",{url:"/home",cache:!1,views:{menuContent:{controller:"PageController",templateUrl:"views/logged/home.view.html"}},resolve:{data:["$translate",function(a){a.refresh()}]}}).state("app.pages",{url:"/{name:.*}",cache:!1,views:{menuContent:{controller:"PageController",templateUrl:function(a){return"views/logged/"+a.name+".view.html"}}}}).state("404",{url:"/error/404",cache:!1,controller:"PageController",templateUrl:function(){return"views/error/404.view.html"}}).state("403",{url:"/error/403",cache:!1,controller:"PageController",templateUrl:function(){return"views/error/403.view.html"}}),b.otherwise("/error/404")}]).config(["$translateProvider","tmhDynamicLocaleProvider",function(a,b){a.uniformLanguageTag("bcp47"),a.useLoader("customTranslateLoader",{files:[{prefix:"i18n/locale_",suffix:".json"},{prefix:"node_modules/cronapp-framework-mobile-js/i18n/locale_",suffix:".json"}]}),a.registerAvailableLanguageKeys(window.translations.localesKeys,window.translations.localesRef);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")}]).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].children[0].checked=!0:$(c)[0].children[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}}]).run(["$rootScope","$state","$stateParams","$timeout","$injector",function(a,b,c,d,e){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").catch(function(){b.go("404")}))}else b.go("404")}),a.$on("$stateChangeSuccess",function(c,f){let g=e.get("$http"),h=e.get("Notification");app.isPublicRoute(f)||window.refreshToken(h,g,()=>{},a=>{404!==a.status&&(localStorage.removeItem("_u"),b.go("login"))}),d(()=>{let b=$("ion-view ion-header-bar .title").last().text(),c=window.location.hash?window.location.hash.split("/"):"",d=c?c[c.length-1]:"",e=window.camelCaseToSentenceCase(window.toCamelCase(d));a.ionViewTitle=b||e||f.name}),setTimeout(function(){$($(".icon.ion-plus-round").parent()).off("click"),$($(".icon.ion-plus-round").parent()).on("click",function(){$("[required]").removeClass("input-validation-error"),$("input:invalid").removeClass("input-validation-error")}),$($(".icon.ion-checkmark").parent()).off("click"),$($(".icon.ion-checkmark").parent()).on("click",function(){$("[required].ng-invalid-required, [required].ng-invalid, [required].ng-empty").addClass("input-validation-error"),$("input:invalid").addClass("input-validation-error")}),$("input").off("keydown"),$("input").on("keydown",function(){$(this).removeClass("input-validation-error")})},300)}),setInterval(()=>$("ion-nav-view[name=\"menuContent\"] .button.button-clear.hide").removeClass("hide"),300)}])}(window);app.userEvents={},app.config={},app.config.datasourceApiVersion=2,app.config.defaultRoute="/app",app.publicRoutes=["publicRoot","public","public.pages","main"],app.isPublicRoute=a=>app.publicRoutes.includes(a.name),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,d){for(var e in app.userEvents)a[e]=app.userEvents[e].bind(a);a.vars={},a.$evt=$evt||void 0;try{cronapi&&(a.cronapi=app.bindScope(a,cronapi),a.cronapi.$scope=a,a.cronapi.$scope.$ionicModal=c,a.cronapi.$scope.$ionicLoading=d,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 a.toLowerCase().replace(/[-_\.]+/g," ").replace(/[^\w\s]/g,"").replace(/ (.)/g,function(a){return a.toUpperCase()}).replace(/ /g,"")},window.camelCaseToSentenceCase=function(a){let b=a.replace(/([A-Z])/g," $1");return b.charAt(0).toUpperCase()+b.slice(1)},window.refreshToken=function(a,b,c,d){window.hostApp?b({method:"GET",url:window.hostApp+"auth/refresh"}).success(function(e){console.log("revive :",new Date(e.expires)),localStorage.setItem("_u",JSON.stringify(e)),setTimeout(function(){window.refreshToken(a,b,c,d)},1800000),c()}).error(function(a){d(a)}):a.error("HostApp is required to refresh token!")};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var cronappModules=["ionic","ui.router","ngResource","ngSanitize","custom.controllers","custom.services","report.services","datasourcejs","pascalprecht.translate","tmh.dynamicLocale","ui-notification","ngFileUpload","angularMoment"];window.customModules&&(cronappModules=cronappModules.concat(window.customModules));var app=function(){return angular.module("MyApp",cronappModules).constant("LOCALES",{locales:{pt_br:"Portugues (Brasil)",en_us:"English"},preferredLocale:"pt_br"}).run(["$ionicPlatform",function(a){a.ready(function(){setTimeout(function(){navigator.splashscreen&&navigator.splashscreen.hide()},100),window.cordova&&window.cordova.plugins&&window.cordova.plugins.Keyboard&&(cordova.plugins.Keyboard.hideKeyboardAccessoryBar(!0),cordova.plugins.Keyboard.disableScroll(!0)),window.StatusBar&&StatusBar.styleDefault()})}]).config(["$httpProvider",function(a){a.interceptors.push(["$q","$rootScope",function(){return{request:function(a){var b=JSON.parse(sessionStorage.getItem("_u"));return b&&b.token&&(a.headers["X-AUTH-TOKEN"]=b.token),a}}}])}]).config(["$stateProvider","$urlRouterProvider","$ionicConfigProvider",function(a,b,c){c.navBar.alignTitle("center"),ionic.Platform.isIOS()&&c.scrolling.jsScrolling(!1)}]).config(["$stateProvider","$urlRouterProvider","NotificationProvider",function(a,b,c){c.setOptions({delay:5e3,startTop:20,startRight:10,verticalSpacing:20,horizontalSpacing:20,positionX:"right",positionY:"top"}),window.customStateProvider?window.customStateProvider(a):a.state("index",{url:"",controller:"HomeController",templateUrl:"views/home.view.html"}).state("main",{url:"/",controller:"HomeController",templateUrl:"views/home.view.html"}).state("home",{url:"/home",controller:"HomeController",templateUrl:"views/home.view.html"}).state("pages",{url:"/app/{name:.*}",cache:!1,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")}]).config(["$translateProvider","tmhDynamicLocaleProvider",function(a,b){a.useMissingTranslationHandlerLog(),a.useStaticFilesLoader({prefix:"i18n/locale_",suffix:".json"}),a.registerAvailableLanguageKeys(["pt_br","en_us"],{"en*":"en_us","pt*":"pt_br","*":"pt_br"});var c=(window.navigator.userLanguage||window.navigator.language||"pt_br").replace("-","_");a.use(c.toLowerCase()),a.useSanitizeValueStrategy("escaped"),b.localeLocationPattern("node_modules/angular-i18n/angular-locale_{{locale}}.js")}]).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)}.bind(c))})}}}]).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",["$scope","$stateParams","Notification","$location","$http","$rootScope","$ionicModal","$translate",function(a,b,c,d,e,f,g,h){for(var i in app.registerEventsCronapi(a,h,g),f.http=e,a.Notification=c,app.userEvents)a[i]=app.userEvents[i].bind(a);a.params=b,a.$http=e;var j=d.search();for(var k in j)j.hasOwnProperty(k)&&(a.params[k]=j[k]);registerComponentScripts();try{var l=$controller("AfterPageController",{$scope:a});app.copyContext(l,this,"AfterPageController")}catch(a){}}]).run(["$rootScope","$state",function(a,b){a.$on("$stateChangeError",function(){if(6<=arguments.length){var a=arguments[5];(404===a.status||403===a.status)&&b.go(a.status.toString())}else b.go("404")}),a.$on("$stateChangeSuccess",function(){setTimeout(function(){$($(".icon.ion-plus-round").parent()).off("click"),$($(".icon.ion-plus-round").parent()).on("click",function(){$("[required]").removeClass("input-validation-error"),$("input:invalid").removeClass("input-validation-error")}),$($(".icon.ion-checkmark").parent()).off("click"),$($(".icon.ion-checkmark").parent()).on("click",function(){$("[required].ng-invalid-required, [required].ng-invalid, [required].ng-empty").addClass("input-validation-error"),$("input:invalid").addClass("input-validation-error")}),$("input").off("keydown"),$("input").on("keydown",function(){$(this).removeClass("input-validation-error")})},300)}),setInterval(()=>$("ion-nav-view[name=\"menuContent\"] .button.button-clear.hide").removeClass("hide"),300)}])}(window);app.userEvents={},app.config={},app.config.datasourceApiVersion=2,app.config.defaultRoute="/app",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){for(var d in app.userEvents)a[d]=app.userEvents[d].bind(a);a.vars={},a.$evt=$evt;try{cronapi&&(a.cronapi=app.bindScope(a,cronapi),a.cronapi.$scope=a,a.cronapi.$scope.$ionicModal=c,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)}},window.safeApply=function(a){var b=this.$root.$$phase;"$apply"==b||"$digest"==b?a&&"function"==typeof a&&a():this.$apply(a)};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+" #carousel-example-generic").carousel(b)})};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(){angular.module("custom.controllers",[]),app.controller("LoginController",["$scope","$http","$location","$rootScope","$window","$state","$translate","Notification","ReportService","$ionicLoading","$timeout","$stateParams","$ionicModal","$cookies",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(b){"undefined"!=typeof Storage&&localStorage.setItem("_u",JSON.stringify(b)),f.go("app.home"),a.blockly&&a.blockly.events&&a.blockly.events.onLogin&&a.blockly.events.onLogin instanceof Function&&a.blockly.events.onLogin()}function p(a){let b;if(null!==a&&a.message){let c=JSON.parse(a.message);b=c.exception}else b="string"==typeof a?a:g.instant("General.ErrorNotSpecified");h.error(b)}d.refreshToken=window.refreshToken,app.registerEventsCronapi(a,g,m,j),d.http=b,a.Notification=h,a.params=l,d.getReport=function(a,b,c){i.openReport(a,b,c)};let q=c.search();for(let o in q)q.hasOwnProperty(o)&&(a.params[o]=q[o]);for(let o in app.userEvents)app.userEvents.hasOwnProperty(o)&&(a[o]=app.userEvents[o].bind(a));if(a.redirectToLogin=function(){localStorage.setItem("redir_mob",!0),e.location.href="/login"},a.autoLogin=function(){localStorage.getItem("_u")&&JSON.parse(localStorage.getItem("_u")).token&&window.refreshToken(h,b,function(){f.go("app.home")},function(){localStorage.removeItem("_u")})},a.autoLogin(),n.get("_u")){if(!localStorage.getItem("_u")){var r=decodeURIComponent(n.get("_u"));localStorage.setItem("_u",r)}f.go("app.home")}a.user={username:"",password:""},a.message={},a.login=function(c,d,e){a.message.error=void 0;let f={username:c?c:a.user.username,password:d?d:a.user.password},g={"Content-Type":"application/x-www-form-urlencoded"};e&&(g["X-AUTH-TOKEN"]=e),window.hostApp?b({method:"POST",url:window.hostApp+"auth",data:$.param(f),headers:g}).success(o).error(p):h.error("HostApp is required!")},d.infiniteReached=function(){};try{let b=$controller("AfterLoginController",{$scope:a});app.copyContext(b,this,"AfterLoginController")}catch(a){}k(function(){a.blockly&&a.blockly.events&&a.blockly.events.afterLoginRender&&a.blockly.events.afterLoginRender instanceof Function&&a.blockly.events.afterLoginRender()})}]),app.controller("HomeController",["$scope","$http","$rootScope","$state","$timeout","$translate","Notification","$ionicHistory","$ionicModal","$ionicLoading","$stateParams","$location","$controller","UploadService","ReportService",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){app.registerEventsCronapi(a,f,i,j),c.http=b,c.Notification=g,c.UploadService=n,a.params=k,c.getReport=function(a,b,c){o.openReport(a,b,c)};let p=l.search();for(let q in p)p.hasOwnProperty(q)&&(a.params[q]=p[q]);for(let p in app.userEvents)app.userEvents.hasOwnProperty(p)&&(a[p]=app.userEvents[p].bind(a));c.session=localStorage._u?JSON.parse(localStorage._u):null,c.session?c.session.token&&window.refreshToken(g,b,function(){},c.logout):!a.ignoreAuth&&("undefined"!=typeof Storage&&sessionStorage.removeItem("_u"),d.go("login"));try{var q=m("AfterHomeController",{$scope:a});app.copyContext(q,this,"AfterHomeController")}catch(a){}e(function(){a.blockly&&a.blockly.events&&a.blockly.events.afterHomeRender&&a.blockly.events.afterHomeRender instanceof Function&&a.blockly.events.afterHomeRender()})}]),app.controller("PublicController",["$controller","$scope",function(a,b){b.ignoreAuth=!0,angular.extend(this,a("HomeController",{$scope:b}))}]),app.controller("MenuController",["$scope","$http","$rootScope","$state","$timeout","$translate","Notification","$ionicHistory","$ionicModal","$ionicLoading","$cookies",function(a,b,c,d,e,f,g,h,i,j,k){for(let l in app.registerEventsCronapi(a,f,i,j),c.http=b,a.Notification=g,a.isExtendedFromPublic||(a.folder="logged"),app.userEvents)a[l]=app.userEvents[l].bind(a);a.ignoreAuth||(a.openChangePassword=function(){a.modal.modelEl?a.modal.show():b({url:"views/logged/_changepassword.view.html"}).then(function(b){a.modal=i.fromTemplate($(b.data).last().text(),{scope:a,animation:"slide-in-up"}),a.modal.show()})},a.closeChangePassword=function(){a.modal.hide()},c.logout=function(){const a=a=>{if(c.session={},k.remove("_u",{path:"/"}),"undefined"!=typeof Storage&&localStorage.removeItem("_u"),a&&a.logoutUri){const b=cordova.InAppBrowser.open(a.logoutUri,"_blank","location=no,footer=yes,zoom=no,enableViewportScale=yes,hidenavigationbuttons=yes,clearcache=yes"),c=e=>{e.url===a.appBaseUrl&&(b.removeEventListener("loadstart",c),b.close(),d.go("login"))};b.addEventListener("loadstart",c)}else d.go("login")};b({method:"GET",url:window.hostApp+"logout",headers:{"Content-Type":"application/json"}}).success(a).error(a)}),a.http({method:"GET",url:"views/"+a.folder+"/menu.view.html"}).then(function(b){0<$(b.data).find("ion-nav-bar").length?(a.isOldMenu=!0,0<$(document).find("ion-header-bar").length&&$(document).find("ion-nav-bar").show()):a.isOldMenu=!1})}]),app.controller("PublicMenuController",["$controller","$scope",function(a,b){b.folder="public",b.isExtendedFromPublic=!0,angular.extend(this,a("MenuController",{$scope:b}))}]),app.controller("chatController",["$scope","$state","$ionicPopup","$ionicScrollDelegate","$timeout","$interval","$ionicModal","$translate","$rootScope","$http","Notification",function(a,b,c,d,f,g,h,i,j,k,l){for(let e in app.registerEventsCronapi(a,i,h,$ionicLoading),j.http=k,a.Notification=l,app.userEvents)a[e]=app.userEvents[e].bind(a);let m,n,o,p=JSON.parse(localStorage._u).user.username,q=d.$getByHandle("userMessageScroll");a.enter=function(){f(function(){m=document.body.querySelector(".homeView .bar-footer"),n=document.body.querySelector(".homeView .scroll-content"),o=angular.element(m.querySelector("textarea"))},0)},a.isEnter=function(a){13===a.keyCode?f(function(){a.stopPropagation(),$("#sendButton").trigger("click")},0):null},a.refreshScroll=function(b,c){f(function(){b=b||a.scrollDown,q.resize(),b&&q.scrollBottom(!0),a.checkScroll()},c||1e3)},a.scrollDown=!0,a.checkScroll=function(){return f(function(){let b=q.getScrollPosition().top,c=q.getScrollView().__maxScrollTop;a.scrollDown=b>=c,a.$apply()},0),!0}}]),app.controller("PageController",["$scope","$stateParams","Notification","$location","$http","$rootScope","$translate","$ionicModal","$ionicLoading","$timeout","UploadService","ReportService",function(a,b,c,d,e,f,g,h,i,j,k,l){app.registerEventsCronapi(a,g,h,i),f.http=e,f.Notification=c,a.params=b,f.$http=e,f.UploadService=k,a.listCanSwipe=!0,f.getReport=function(a,b,c){l.openReport(a,b,c)};let m=d.search();for(let n in m)m.hasOwnProperty(n)&&(a.params[n]=m[n]);if(f.session=void 0===localStorage.getItem("_u")?null:JSON.parse(localStorage.getItem("_u")),a.registerComponentScripts=function(){$(".carousel-indicators li").on("click",function(){let a="#"+$(this).parent().parent().parent().attr("id"),b=$(a+" .carousel-indicators li").index(this);$(a+" #carousel-example-generic").carousel(b)})},a.registerComponentScripts(),a.isOldMenu){let b=a.params.name||"home";a.http({method:"GET",url:"views/logged/"+b+".view.html"}).then(function(a){0<$(a.data).find("ion-header-bar").length?$(document).find("ion-nav-bar").hide():0<$(document).find("ion-header-bar").length&&$(document).find("ion-nav-bar").show()})}try{let b=$controller("AfterPageController",{$scope:a});app.copyContext(b,this,"AfterPageController")}catch(a){}j(function(){a.blockly&&a.blockly.events&&a.blockly.events.afterPageRender&&a.blockly.events.afterPageRender instanceof Function&&a.blockly.events.afterPageRender()})}]),app.controller("InitialController",["$scope","$stateParams","$http","Notification","$location","$rootScope","$translate","$ionicModal","$ionicLoading","$ionicPlatform","$controller","$timeout","UploadService","$ionicHistory",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){j.registerBackButtonAction(function(a){let b=n.viewHistory();b.histories&&b.histories&&Object.keys(b.histories).length&&("app.home"===b.currentView.stateName?(a.preventDefault(),a.stopPropagation(),navigator.app.exitApp()):window.history.back())},101),app.registerEventsCronapi(a,g,h,i),f.http=c,f.Notification=d,f.UploadService=m,a.params=b,a.$http=c;let o=e.search();for(let p in o)o.hasOwnProperty(p)&&(a.params[p]=o[p]);a.blockly.js.blockly.auth.Home.change();try{let b=k("AfterHomeController",{$scope:a});app.copyContext(b,this,"AfterHomeController")}catch(a){}l(function(){a.blockly&&a.blockly.events&&a.blockly.events.afterHomeRender&&a.blockly.events.afterHomeRender instanceof Function&&a.blockly.events.afterHomeRender()})}])})(app),window.safeApply=function(a){let b=this.$root.$$phase;"$apply"===b||"$digest"===b?a&&"function"==typeof a&&a():this.$apply(a)};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(){angular.module("custom.controllers",[]),app.controller("HomeController",["$scope","$http","$rootScope","$state","$translate","Notification","ReportService","$ionicModal",function(a,b,c,d,e,f,g,h){for(var i in c.http=b,app.registerEventsCronapi(a,e,h),a.Notification=f,c.getReport=function(a,b){g.openReport(a,b)},app.userEvents)app.userEvents.hasOwnProperty(i)&&(a[i]=app.userEvents[i].bind(a));a.message={};try{var j=$controller("AfterHomeController",{$scope:a});app.copyContext(j,this,"AfterHomeController")}catch(a){}try{a.blockly.events.afterHomeRender&&a.blockly.events.afterHomeRender()}catch(a){}}]),app.controller("chatController",["$scope","$state","$ionicPopup","$ionicScrollDelegate","$timeout","$interval","$ionicModal","$translate","$rootScope","$http","Notification",function(a,b,c,d,f,g,h,i,j,k,l){for(var m in app.registerEventsCronapi(a,i),j.http=k,a.Notification=l,app.userEvents)app.userEvents.hasOwnProperty(m)&&(a[m]=app.userEvents[m].bind(a));var e,n,o,p=d.$getByHandle("userMessageScroll");a.enter=function(){f(function(){e=document.body.querySelector(".homeView .bar-footer"),n=document.body.querySelector(".homeView .scroll-content"),o=angular.element(e.querySelector("textarea"))},0)},a.isEnter=function(a){13===a.keyCode?f(function(){a.stopPropagation(),$("#sendButton").trigger("click")},0):null},a.refreshScroll=function(b,c){f(function(){b=b||a.scrollDown,p.resize(),b&&p.scrollBottom(!0),a.checkScroll()},c||1e3)},a.scrollDown=!0,a.checkScroll=function(){return f(function(){var b=p.getScrollPosition().top,c=p.getScrollView().__maxScrollTop;a.scrollDown=b>=c,a.$apply()},0),!0}}])})(app);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
app.controller("AfterLoginController",["$scope",function(){}]),app.controller("AfterHomeController",["$scope",function(){}]),app.controller("AfterPageController",["$scope",function(){}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
window.customModules=[];
|
|
File without changes
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
maskDirectiveAsDate.$inject=["$compile","$translate","$parse"],maskDirectiveMask.$inject=["$compile","$translate","$parse"],window.addEventListener("message",function(e){"reload"==e.data?window.location.reload():"reload(true)"==e.data&&window.location.reload(!0)}),function($app){var _Mathfloor=Math.floor;app.common={generateId:function(){var e=_Mathfloor(65536*(1+Math.random())).toString(16).substring(1);return-1<"0123456789".indexOf(e.substr(0,1))?this.generateId():e}};var isoDate=/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,patternFormat=function(e){return e?$(e).attr("format")||"DD/MM/YYYY":"DD/MM/YYYY"},parsePermission=function(e){var t={visible:{public:!0},enabled:{public:!0}};if(e)for(var a,n=e.toLowerCase().trim().split(","),o=0;o<n.length;o++)if(a=n[o].trim(),a){var l=a.split(":");if(2==l.length){var r=l[0].trim(),s=l[1].trim();if(s){for(var d,c=s.split(";"),u={},m=0;m<c.length;m++)d=c[m].trim(),d&&(u[d]=!0);t[r]=u}}}return t};app.directive("updateLanguage",["$rootScope",function(e){return{link:function(t,a){e.$on("$translateChangeSuccess",function(e,t){let n=t.language?t.language.split("_")[0]:null;a.attr("lang",n||"en")})}}}]),app.directive("asDate",maskDirectiveAsDate),app.directive("input",transformText),app.directive("textarea",transformText).directive("ngDestroy",function(){return{restrict:"A",link:function(scope,element,attrs,ctrl){element.on("$destroy",function(){attrs.ngDestroy&&0<attrs.ngDestroy.length&&(-1<attrs.ngDestroy.indexOf("app.")||-1<attrs.ngDestroy.indexOf("blockly.")?scope.$eval(attrs.ngDestroy):eval(attrs.ngDestroy))})}}}).filter("mask",["$translate",function(e){return function(t,a,n){if(a=parseMaskType(a,e),!a)return t;var o;if(void 0===n?o=window.fixedTimeZone:(o="date"==n||"datetime"==n||"time"==n,!window.fixedTimeZone&&(o=!1)),0<a.indexOf(";local")&&(o=!1),a=a.replace(";1","").replace(";0","").replace(";local","").trim(),"string"==typeof t&&t.match(isoDate)||t instanceof Date)return o?moment(t).utcOffset(window.timeZoneOffset).format(a):moment(t).format(a);if("number"==typeof t)return format(a,t);if(null!=t&&null!=t&&""!=t&&""!=a){var l=$("<input type=\"text\">");return l.mask(a),l.masked(t)}return t}}]).directive("screenParams",[function(){"use strict";return{link:function(scope,elem,attrs,ctrl){var screenParams=eval(attrs.screenParams);screenParams&&screenParams.length&&screenParams.forEach(function(e){scope.params&&!scope.params[e.key]&&(scope.params[e.key]=e.value||"")})}}}]).directive("mask",maskDirectiveMask).directive("dynamicImage",["$compile","$translate",function(e,t){return{restrict:"A",scope:!0,require:"ngModel",link:function(a,n,o){let l="<div ngf-drop=\"\" ngf-drag-over-class=\"dragover\" class=\"dynamicImage\" > <img role=\"img\" alt=\"$altText$\" style=\"width: 100%;\" ng-if=\"$ngModel$\" data-ng-src=\"{{$ngModel$.startsWith('http') || ($ngModel$.startsWith('/') && $ngModel$.length < 1000)? $ngModel$ : 'data:image/png;base64,' + $ngModel$}}\"> <div class=\"btn action-button-border\" ng-if=\"!$ngModel$\" ngf-drop=\"\" ngf-select=\"\" ngf-change=\"cronapi.internal.setFile('$ngModel$', $file)\" ngf-pattern=\"'image/*'\" ngf-max-size=\"$maxFileSize$\"> $userHtml$ </div> <div aria-label=\"$closeAriaText$\" class=\"remove-image-button button button-assertive\" ng-if=\"$ngModel$\" ng-click=\"$ngModel$=null\"> <span class=\"icon ion-android-close\"></span> </div> <div aria-label=\"$videocamAriaText$\" class=\"button button-positive buttomImage\" ng-if=\"!$ngModel$\" ng-click=\"cronapi.internal.startCamera('$ngModel$','$quality$','$allowEdit$','$targetWidth$','$targetHeight$')\"> <span class=\"icon ion-ios-videocam\"></span> </div> </div>";const r={ngModel:o.ngModel,required:o.ngRequired&&"true"==o.ngRequired?"required":"",content:n.html(),altText:o.alt?o.alt:t.instant("Users.view.Picture"),closeAriaText:t.instant("Home.view.Close"),videocamAriaText:t.instant("OpenCamera"),maxFileSize:o.maxFileSize?o.maxFileSize:"",quality:o.quality?o.quality:"60",allowEdit:o.allowEdit?o.allowEdit:"false",targetWidth:o.targetWidth?o.targetWidth:"640",targetHeight:o.targetHeight?o.targetHeight:"480"};l=$(l.split("$ngModel$").join(r.ngModel).split("$required$").join(r.required).split("$userHtml$").join(r.content).split("$maxFileSize$").join(r.maxFileSize).split("$altText$").join(r.altText).split("$closeAriaText$").join(r.closeAriaText).split("$videocamAriaText$").join(r.videocamAriaText).split("$quality$").join(r.quality).split("$allowEdit$").join(r.allowEdit).split("$targetWidth$").join(r.targetWidth).split("$targetHeight$").join(r.targetHeight)),$(n).html(l),e(l)(n.scope())}}}]).directive("dynamicFile",["$compile","$translate",function(e,t){return{restrict:"A",scope:!0,require:"ngModel",link:function(a,n,o){var l=o.ngRequired&&"true"==o.ngRequired?"required":"",r=t.instant("Home.view.Close"),s=o.ngModel.split("."),d=s[0],c=s[s.length-1],p=_Mathfloor(1e3*Math.random()+20),u=n.html(),m="";o.maxFileSize&&(m=o.maxFileSize);var g=o.fileInfo?`'${o.fileInfo}'`:"undefined",f=" <div ng-show=\"!$ngModel$\" ngf-drop=\"\" ngf-drag-over-class=\"dragover\"> <div class=\"btn action-button-border\" ngf-drop=\"\" ngf-select=\"\" ngf-change=\"cronapi.internal.uploadFile('$ngModel$', $file, 'uploadprogress$number$', $fileInfo$)\" ngf-max-size=\"$maxFileSize$\"> $userHtml$ </div> <div class=\"progress\" data-type=\"bootstrapProgress\" id=\"uploadprogress$number$\" style=\"display:none\"> <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"70\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:0%\"> <span class=\"sr-only\"></span> </div> </div> </div> <div ng-show=\"$ngModel$\" class=\"upload-image-component-attribute\"> <div aria-label=\"$closeAriaText$\" class=\"button button-assertive\" style=\"float:right;\" ng-if=\"$ngModel$\" ng-click=\"$ngModel$=null\"> <span role=\"img\" alt=\"$closeAriaText$\" class=\"icon ion-android-close\"></span> </div> <div> <div ng-bind-html=\"cronapi.internal.generatePreviewDescriptionByte($ngModel$, $fileInfo$)\"></div> <div aria-label=\"Download\" class=\"button button-positive\" ng-click=\"cronapi.internal.downloadFileEntityMobile($datasource$,'$field$', undefined, $fileInfo$)\">$lblDownload$</div> </div> </div> ";f=$(f.split("$ngModel$").join(o.ngModel).split("$datasource$").join(d).split("$field$").join(c).split("$number$").join(p).split("$required$").join(l).split("$userHtml$").join(u).split("$maxFileSize$").join(m).split("$closeAriaText$").join(r).split("$lblDownload$").join(t.instant("download")).split("$fileInfo$").join(g)),$(n).html(f),e(f)(n.scope())}}}]).directive("pwCheck",[function(){"use strict";return{require:"ngModel",link:function(e,t,a,n){var o="#"+a.pwCheck;t.add(o).on("keyup",function(){e.$apply(function(){var e=t.val()===$(o).val();n.$setValidity("pwmatch",e)})})}}}]).directive("qr",["$window",function(e){return{restrict:"EA",require:"^ngModel",template:"<canvas ng-hide=\"image\"></canvas><img alt=\"qr-code\" ng-if=\"image\" ng-src=\"{{canvasImage}}\"/>",link:function(t,a,n,o){t.size===void 0&&n.size&&(t.text=n.size);var l=function(){return o.$modelValue||""},r=function(e){return /^[0-9]*$/.test(e)},s=function(e){return /^[0-9A-Z $%*+\-./:]*$/.test(e)},d=function(e){for(var t,a=0;a<e.length;a++)if(t=e.charCodeAt(a),255<t)return!1;return!0},c=function(e,t){if("NUMBER"===e&&!r(t))throw new Error("The `NUMBER` input mode is invalid for text.");else if("ALPHA_NUM"===e&&!s(t))throw new Error("The `ALPHA_NUM` input mode is invalid for text.");else if("8bit"===e&&!d(t))throw new Error("The `8bit` input mode is invalid for text.");else if(!d(t))throw new Error("Input mode is invalid for text.");return!0},p=function(e){var a=t.inputMode;return a=a||(r(e)?"NUMBER":void 0),a=a||(s(e)?"ALPHA_NUM":void 0),a=a||(d(e)?"8bit":""),c(a,e)?a:""},u=a.find("canvas")[0],m=!!e.CanvasRenderingContext2D;t.TYPE_NUMBER=function(){return t.typeNumber||0}(),t.TEXT=l(),t.CORRECTION=function(){var e=t.correctionLevel||0;return{L:1,M:0,Q:3,H:2}[e]||0}(),t.SIZE=function(){return t.size||$(a).outerWidth()}(),t.INPUT_MODE=p(t.TEXT),t.canvasImage="";var g=function(e,t,a,n){for(var o=Math.round,l=Math.ceil,r=0;r<a;r++)for(var s=0;s<a;s++){var d=l((s+1)*n)-_Mathfloor(s*n),c=l((r+1)*n)-_Mathfloor(r*n);e.fillStyle=t.isDark(r,s)?"#000":"#fff",e.fillRect(o(s*n),o(r*n),d,c)}},f=function(e,a,n,o,l,r){var s=a.replace(/^\s+|\s+$/g,""),d=new QRCode(n,o,r);d.addData(s),d.make();var c=e.getContext("2d"),p=d.getModuleCount();e.width=e.height=l,m&&(g(c,d,p,l/p),t.canvasImage=e.toDataURL()||"")};t.$watch(function(){return o.$modelValue},function(e,a){(e!==a||e!==t.TEXT)&&(t.text=o.$modelValue,t.TEXT=l(),t.INPUT_MODE=p(t.TEXT),f(u,t.TEXT,t.TYPE_NUMBER,t.CORRECTION,t.SIZE,t.INPUT_MODE))}),f(u,t.TEXT,t.TYPE_NUMBER,t.CORRECTION,t.SIZE,t.INPUT_MODE)}}}]).directive("valid",function(){return{require:"^ngModel",restrict:"A",link:function(e,t,a,n){var o={cpf:CPF,cnpj:CNPJ};n.$validators[a.valid]=function(e,n){var l=e||n,r=o[a.valid].isValid(l);return r?t[0].setCustomValidity(""):t.scope().$applyAsync(function(){t[0].setCustomValidity(t[0].dataset.errorMessage)}),r||!l}}}}).directive("cronappSecurity",function(){return{restrict:"A",link:function(e,t,a){var n=[],o=JSON.parse(localStorage.getItem("_u"));o&&o.roles&&(n=o.roles.toLowerCase().split(","));for(var l,r=parsePermission(a.cronappSecurity),s=!1,d=!1,c=0;c<n.length;c++)l=n[c].trim(),l&&(r.visible[l]&&(s=!0),r.enabled[l]&&(d=!0));s||$(t).hide(),d||$(t).find("*").addBack().attr("disabled",!0)}}}).directive("cronappStars",[function(){"use strict";return{restrict:"A",require:"ngModel",link:function(e,t,a,n){function o(e){for(var t=1;5>=t;t++)d[t-1].removeClass("ion-android-star-outline"),d[t-1].removeClass("ion-android-star"),t<=e?d[t-1].addClass("ion-android-star"):d[t-1].addClass("ion-android-star-outline");return e}var l=$(t),r=$("<i style=\"font-size: 200%\" class=\"component-holder ion ion-android-star-outline\" style=\"\" xattr-size=\"\" data-component=\"crn-icon\"></i>");l.html("");for(var s,d=[],c=1;5>=c;c++)s=r.clone(),l.append(s),s.attr("idx",c),s.click(function(){e.$apply(function(){n.$viewValue=parseInt($(this).attr("idx")),n.$commitViewValue()}.bind(this))}),d.push(s);n.$parsers.push(o),n.$formatters.push(o)}}}]).directive("cronappRating",[function(){"use strict";return{restrict:"E",require:"ngModel",link:function(e,t,a,n){function o(e){for(var t=1;5>=t;t++)c[t-1].removeClass(a.iconOff||"ion ion-android-star-outline"),c[t-1].removeClass(a.iconOn),c[t-1].removeClass(a.theme),t<=e?(c[t-1].addClass(a.iconOn),c[t-1].addClass(a.theme)):(c[t-1].addClass(a.iconOff||"ion ion-android-star-outline"),c[t-1].addClass(a.theme));return e}a.theme=$(t).find("i").attr("xattr-theme"),a.iconOn=$(t).find("i").attr("class");var l=$(t),r=[];a.xattrDefaultValue&&(n.$viewValue=0,n.$commitViewValue());for(var s=1;5>=s;s++)r.push($(t).find("i").get(s-1)),$(r[s-1]).addClass(a.iconOff||"fa fa-star-o");l.html("");for(var d,c=[],s=1;5>=s;s++)d=$(r[s-1]).clone(),l.append(d),d.attr("idx",s),d.click(function(){e.$apply(function(){let e=parseInt($(this).attr("idx"));n.$viewValue=n.$viewValue===e?0:e,n.$commitViewValue()}.bind(this))}),c.push(d);n.$parsers.push(o),n.$formatters.push(o)}}}]).directive("ngInitialValue",["$parse",function(e){return{restrict:"A",require:"ngModel",link:function(t,a,n){if(n.ngInitialValue){var o,l=e(n.ngModel),r=l.assign;try{o=t.$eval(n.ngInitialValue)}catch(t){o=n.ngInitialValue}"checkbox"==a[0].type&&o&&(o="true"==(""+o).toLowerCase()),r(t,o)}}}}]).directive("crnAllowNullValues",[function(){return{restrict:"A",require:"?ngModel",link:function(t,a,e,n){n.$formatters=[],n.$parsers=[];let o=!!e.ngFalseValue&&e.ngFalseValue.split("'").join(""),l=!e.ngTrueValue||e.ngTrueValue.split("'").join("");n.$render=(e=>"true"===e||void 0===e||null===e||0==e.length)(e.crnAllowNullValues)?function(){let e=n.$viewValue;a.data("checked",e),!0===e||e===l?(a.prop("indeterminate",!1),setTimeout(()=>a.prop("checked",!0)),e=l):!1===e||e===o?(a.prop("indeterminate",!1),setTimeout(()=>a.prop("checked",!1)),e=o):(e=null,a.prop("indeterminate",!0)),setTimeout(()=>n.$setViewValue(e))}:function(){let r=n.$viewValue;if((void 0===n.$viewValue||null===n.$viewValue)&&(n.$setViewValue(!1),r=!1),r===o){let n=e.ngFalseValue?`${a.attr("ng-model")}=${e.ngFalseValue}`:`${a.attr("ng-model")}=${o}`;t.$eval(n)}switch(a.data("checked",r),r){case!0:case l:a.prop("indeterminate",!1),setTimeout(()=>a.prop("checked",!0)),r=l;break;default:a.prop("indeterminate",!1),setTimeout(()=>a.prop("checked",!1)),r=o;}setTimeout(()=>n.$setViewValue(r))},a.bind("click",function(r){let s;switch(a.data("checked")){case!1:case o:s=!e.ngTrueValue||l;break;default:s=!!e.ngFalseValue&&o;}n.$setViewValue(s),t.$apply(n.$render),r.preventDefault()})}}}]).directive("cronappFilter",["$compile",function($compile){var setFilterInButton=function(e,t){var a=e.closest("div");if(a){var n=a.find("button[cronapp-filter]");if(n){var o=n.data("filters");o||(o=[]);var l=-1,r=e.attr("ng-model");if($(o).each(function(e){this.ngModel==r&&(l=e)}),-1<l&&o.splice(l,1),0<t.length){o.push({ngModel:r,bindedFilter:t})}n.data("filters",o)}}},makeAutoPostSearch=function(e,t,a,n){var o=e.closest("div");if(o&&0<o.length){var l=o.find("button[cronapp-filter]");if(l&&0<l.length){var r=l.data("filters");r&&0<r.length&&(t="",$(r).each(function(){t+=this.bindedFilter+";"}))}}a.search(t,"true"==n.cronappFilterCaseinsensitive)},inputBehavior=function(scope,element,attrs,ngModelCtrl,$element,typeElement,operator,autopost){var datasource,filterTemplate="",filtersSplited=attrs.cronappFilter.split(";");if(attrs.crnDatasource)datasource=eval(attrs.crnDatasource);else{var fieldset=$element.closest("div");if(!fieldset)return;var button=fieldset.find("button[cronapp-filter]");if(!button)return;if(!button.attr("crn-datasource"))return;datasource=eval(button.attr("crn-datasource"))}var isOData=datasource.isOData();$(filtersSplited).each(function(){0<this.length&&(""!=filterTemplate&&(isOData?filterTemplate+=" or ":filterTemplate+=";"),isOData?"="==operator&&"text"==typeElement&&""==filterTemplate?filterTemplate="substringof({value.lower}, tolower("+this+"))":"="==operator?filterTemplate+=" substringof({value.lower},tolower("+this+"))":"!="==operator?filterTemplate+=this+" ne {value}":">"==operator?filterTemplate+=this+" gt {value}":">="==operator?filterTemplate+=this+" ge {value}":"<"==operator?filterTemplate+=this+" lt {value}":"<="==operator&&(filterTemplate+=this+" le {value}"):"text"==typeElement?filterTemplate+=this+"@"+operator+"%{value}%":filterTemplate+=this+operator+"{value}")}),0==filterTemplate.length&&(isOData?filterTemplate="{value}":filterTemplate="%{value}%"),ngModelCtrl?scope.$watch(attrs.ngModel,function(e,t){if(!angular.equals(e,t)){var a=$element.data("type")||$element.attr("type"),n=ngModelCtrl.$modelValue;isOData?n instanceof Date?"datetime-local"==a?n="datetimeoffset'"+n.toISOString()+"'":n="datetime'"+n.toISOString().substring(0,23)+"'":"number"==typeof n?n=n:"boolean"==typeof n?n=n:n="'"+n+"'":n instanceof Date?(n=n.toISOString(),n+="date"==a?"@@date":"time"==a||"time-local"==a?"@@time":"@@datetime"):"number"==typeof n?n+="@@number":"boolean"==typeof n&&(n+="@@boolean");var o=filterTemplate.split("{value}").join(n);o="string"==typeof n?o.split("{value.lower}").join(n.toLowerCase()):o.split("{value.lower}").join(n),0==ngModelCtrl.$viewValue.length&&(o=""),setFilterInButton($element,o,operator),autopost&&makeAutoPostSearch($element,o,datasource,attrs)}}):"text"==typeElement?$element.on("keyup",function(){var datasource=eval(attrs.crnDatasource),value=void 0;value=ngModelCtrl&&null!=ngModelCtrl?ngModelCtrl.$viewValue:this.value;var bindedFilter=filterTemplate.split("{value}").join(value);0==this.value.length&&(bindedFilter=""),setFilterInButton($element,bindedFilter,operator),autopost&&makeAutoPostSearch($element,bindedFilter,datasource,attrs)}):$element.on("change",function(){var datasource=eval(attrs.crnDatasource),value=void 0,typeElement=$(this).attr("type");if(null!=attrs.asDate&&(typeElement="date"),ngModelCtrl&&null!=ngModelCtrl)value=ngModelCtrl.$viewValue;else if("checkbox"==typeElement)value=$(this).is(":checked");else if("date"!=typeElement)value=this.value;else if(value=this.value,0<this.value.length){var momentDate=moment(this.value,patternFormat(this));value=momentDate.toDate().toISOString()}var bindedFilter=filterTemplate.split("{value}").join(value);0==value.toString().length&&(bindedFilter=""),setFilterInButton($element,bindedFilter,operator),autopost&&makeAutoPostSearch($element,bindedFilter,datasource,attrs)})},forceDisableDatasource=function(datasourceName,scope){var disableDatasource=setInterval(function(){try{var datasourceInstance=eval(datasourceName);datasourceInstance&&($(document).ready(function(){var e=0,t=setInterval(function(){10>e?(scope.$apply(function(){datasourceInstance.enabled=!1,datasourceInstance.data=[]}),e++):clearInterval(t)},20)}),clearInterval(disableDatasource))}catch(t){}},10)},buttonBehavior=function(scope,element,attrs,ngModelCtrl,$element,typeElement,operator,autopost){var datasourceName="";datasourceName=attrs.crnDatasource?attrs.crnDatasource:$element.parent().attr("crn-datasource");var datasource=eval(datasourceName),isOData=datasource.isOData(),requiredFilter=attrs.requiredFilter&&"true"==attrs.requiredFilter.toString();requiredFilter&&this.forceDisableDatasource(datasourceName,scope),$element.on("click",function(){var $this=$(this),filters=$this.data("filters");if(datasourceName&&0<datasourceName.length&&filters){var bindedFilter="";$(filters).each(function(){""!=bindedFilter&&(bindedFilter+=isOData?" and ":";"),bindedFilter+=this.bindedFilter});var datasourceToFilter=eval(datasourceName);requiredFilter?(datasourceToFilter.enabled=0<bindedFilter.length,datasourceToFilter.enabled?datasourceToFilter.search(bindedFilter,"true"==attrs.cronappFilterCaseinsensitive):scope.$apply(function(){datasourceToFilter.data=[]})):datasourceToFilter.search(bindedFilter,"true"==attrs.cronappFilterCaseinsensitive)}})};return{restrict:"A",require:"?ngModel",link:function(e,t,a,n){var o=$(t),l=o.data("type")||o.attr("type");a.asDate!=null&&(l="date");var r="=";a.cronappFilterOperator&&0<a.cronappFilterOperator.length&&(r=a.cronappFilterOperator);var s=!0;a.cronappFilterAutopost&&"false"==a.cronappFilterAutopost&&(s=!1),setTimeout(function(){"INPUT"==o[0].tagName?inputBehavior(e,t,a,n,o,l,r,s):buttonBehavior(e,t,a,n,o,l,r,s)},100)}}}]).directive("cronList",["$compile","$parse",function($compile,$parse){"use strict";const defaultAdvancedTemplate=`<ion-list type="" can-swipe="listCanSwipe">
|
|
2
|
-
<ion-item ng-class="{'cron-list-selected' : isChecked(rowData)}" class="item {{options.editableButtonClass}} {{options.iconClassPosition}} {{options.imageClassPosition}}" ng-repeat="rowData in datasource">
|
|
3
|
-
<ul ng-if="options.allowMultiselect" class="checkbox-group component-holder {{'cron-list-multiselect-' + options.imageType}}" data-component="crn-checkbox"><label class="checkbox"><input ng-checked="isChecked(rowData);" type="checkbox"></label></ul>
|
|
4
|
-
<img alt='Thumbnail' ng-if="options.imageType !== 'do-not-show' && rowData[options.fields.image]"
|
|
5
|
-
ng-src="{{options.isImageFromDropbox ? '' : 'data:image/png;base64,'}}{{rowData[options.fields.image]}}" class="{{options.imageToClassPosition}}">
|
|
6
|
-
<div class="{{options.xattrTextPosition}} {{options.textToClassPosition}}">
|
|
7
|
-
<h2 ng-if="rowData[options.fields.field0]">{{rowData[options.fields.field0]|mask:options.fields.mask0:options.fields.type0}}</h2>
|
|
8
|
-
<p class="dark" ng-if="hasValue(rowData[options.fields.field1])">{{rowData[options.fields.field1]|mask:options.fields.mask1:options.fields.type1}}</p>
|
|
9
|
-
<p class="dark" ng-if="hasValue(rowData[options.fields.field2])">{{rowData[options.fields.field2]|mask:options.fields.mask2:options.fields.type2}}</p>
|
|
10
|
-
<p class="dark" ng-if="hasValue(rowData[options.fields.field3])">{{rowData[options.fields.field3]|mask:options.fields.mask3:options.fields.type3}}</p>
|
|
11
|
-
<p class="dark" ng-if="hasValue(rowData[options.fields.field4])">{{rowData[options.fields.field4]|mask:options.fields.mask4:options.fields.type4}}</p>
|
|
12
|
-
<p class="dark" ng-if="hasValue(rowData[options.fields.field5])">{{rowData[options.fields.field5]|mask:options.fields.mask5:options.fields.type5}}</p>
|
|
13
|
-
<i ng-if="options.icon" class="{{options.icon}}" xattr-theme="dark"></i>
|
|
14
|
-
</div>
|
|
15
|
-
</ion-item>
|
|
16
|
-
</ion-list>
|
|
17
|
-
<ion-infinite-scroll></ion-infinite-scroll>`,defaultSearchTemplate="<div class=\"item item-input-inset\">\n <div class=\"item-input-wrapper\">\n <i class=\"icon ion-search placeholder-icon\"></i>\n <input aria-label=\"{{'template.crud.search' | translate}}\" type=\"text\" ng-model=\"vars.searchableList[options.randomModel]\" cronapp-filter=\"{{options.filterFields}}\" cronapp-filter-operator=\"\" cronapp-filter-caseinsensitive=\"false\"\n cronapp-filter-autopost=\"true\" crn-datasource=\"{{options.dataSourceScreen.name}}\" placeholder=\"{{'template.crud.search' | translate}}\">\n </div>\n <button ng-if=\"showButton()\" ng-click=\"limparSelecao()\"\n class=\"button-small cron-list-button-clean button button-inline button-positive component-holder\">\n <span cron-list-button-text>Limpar Sele\xE7\xE3o</span></button>\n</div>";var getExpression=function(e){return"rowData in ".concat(e).concat(".data")},buildFormat=function(e){var t="";return t=" | mask: \""+e.type+"\"",e.format&&(t=" | mask: \""+e.format+"\":\""+e.type+"\""),t},getEditCommand=function(e){return e+".startEditing(rowData)"},getCronappSecurity=function(e){return e.security?`cronapp-security="${e.security}"`:""},addDefaultButton=function(e,t){const a="<ion-option-button "+getCronappSecurity(t)+" class=\"button-positive ion-edit button-edit\" ng-click=\""+getEditCommand(e)+"\"><span> {{\"Permission.view.Edit\" | translate}}</span></ion-option-button>",n="<ion-option-button "+getCronappSecurity(t)+" class=\"button-assertive ion-trash-a button-delete\" ng-click=\""+e+".remove(rowData)\"><span> {{\"Permission.view.Remove\" | translate}}</span></ion-option-button>";if("edit|destroy"==t.command)return a.concat(n);return"edit"==t.command?a:"destroy"==t.command?n:void 0},encodeHTML=function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},generateBlocklyCall=function(e){var t;if("client"==e.type){var a=e.blocklyClass.split("/"),n=a[a.length-1];t="blockly.js.blockly."+n,t+="."+e.blocklyMethod;var o="()";0<e.blocklyParams.length&&(o="(",e.blocklyParams.forEach(function(e){o+=(e.value?encodeHTML(e.value):"''")+","}.bind(this)),o=o.substr(0,o.length-1),o+=")"),t+=o}else if("server"==e.type){var n=e.blocklyClass+":"+e.blocklyMethod;t="cronapi.util.makeCallServerBlocklyAsync('"+n+"',null,null,",0<e.blocklyParams.length&&e.blocklyParams.forEach(function(e){t+=(e.value?encodeHTML(e.value):"''")+","}.bind(this)),t=t.substr(0,t.length-1),t+=")"}return t},addBlockly=function(e){return"<ion-option-button class=\"button-dark "+getCronappSecurity(e)+" ion-navigate\" ng-click=\""+generateBlocklyCall(e.blocklyInfo)+"\"></ion-option-button>"},isImage=function(e,t){for(var a,n=0;n<t.length;n++)if(a=t[n],e==a.name)return"Binary"==a.type;return!1},addCustomButton=function(e){return`<ion-option-button ${getCronappSecurity(e)} class="button-dark ${e.iconClass}" ng-click="listButtonClick($index, rowData, '${window.stringToJs(e.execute)}', $event)">${e.label}</ion-option-button> `};return{restrict:"E",require:"?ngModel",scope:!0,priority:9999998,terminal:!0,link:function(scope,element,attrs,ngModelCtrl){scope.hasValue=e=>null!==e&&e!==void 0;var optionsList={},dataSourceName="",buttons="";try{optionsList=JSON.parse(attrs.options),dataSourceName=optionsList.dataSourceScreen.name;var dataSource=eval(optionsList.dataSourceScreen.name),imageDirection=optionsList.imagePosition?optionsList.imagePosition:"left",iconDirection=optionsList.iconPosition?optionsList.iconPosition:"right",bothDirection="left"===imageDirection&&"left"===iconDirection?"left":"right"===imageDirection&&"right"===iconDirection?"right":"",checkboxTemplate="",modelArrayToInsert=[],isKey=!1;if(scope.options=optionsList,attrs.ngModel){var modelGetter=$parse(attrs.ngModel),modelSetter=modelGetter.assign;optionsList.allowMultiselect?(scope.verifyIsKey=function(e){return isKey=!1,optionsList.fieldType&&"key"===optionsList.fieldType&&(e=this.changeRowDataField(e),isKey=!0),e},scope.limparSelecao=function(){modelSetter(scope,[])},scope.isChecked=function(e){let t=!1;return modelArrayToInsert=modelGetter(scope),e=scope.verifyIsKey(e),t=scope.hasObjectChecked(isKey,e,null,event),scope.isSelected=t,t},scope.hasObjectChecked=function(e,t){let a=!1;return Array.isArray(modelArrayToInsert)&&(e&&"object"!=typeof t?modelArrayToInsert.forEach(e=>{t===e&&(a=!0)}):modelArrayToInsert.forEach(e=>{dataSource.objectIsEquals(t,e)&&(a=!0)})),a},scope.checkboxButtonClick=function(e,t,a,n){let o=!1,l=$(n.currentTarget),r=l.find("input[type=checkbox]:checked").length;modelArrayToInsert=modelGetter(scope),Array.isArray(modelArrayToInsert)||(modelArrayToInsert=[]),$(n.target).is("input[type=checkbox]")||a||(0<r?l.find("input[type=checkbox]").prop("checked",!1):l.find("input[type=checkbox]").prop("checked",!0));let s=$(n.currentTarget).find("input[type=checkbox]");t=scope.verifyIsKey(t),$(s).is(":checked")?(o=scope.hasObjectChecked(isKey,t,a,n),!o&&modelArrayToInsert.push(t)):isKey&&"object"!=typeof t?modelArrayToInsert.forEach((e,a)=>{t===e&&modelArrayToInsert.splice(a,1)}):modelArrayToInsert.forEach((e,a)=>{dataSource.objectIsEquals(t,e)&&modelArrayToInsert.splice(a,1)}),modelSetter(scope,modelArrayToInsert),n.stopPropagation()}):scope.setRowDataModel=function(e,t){optionsList.fieldType&&"key"===optionsList.fieldType&&(t=this.changeRowDataField(t)),modelSetter(scope,t)},scope.changeRowDataField=function(e){e=dataSource.getKeyValues(e);var t=Object.keys(e);return 1===t.length&&(e=e[t]),e}}scope.listButtonClick=function(e,t,a,n){if("INPUT"!=n.target.tagName){dataSource.goTo(t);var o={currentData:dataSource.data,datasource:dataSource,selectedIndex:e,index:e,selectedRow:t,consolidated:{item:t,index:e},item:t,selectedKeys:dataSource.getKeyValues(dataSource.active,!0)};scope.$eval(a,o),n.preventDefault(),n.stopPropagation()}};var searchableField=null,isNativeEdit=!1,addedImage=!1;scope.options=optionsList,scope.options.fields={},scope.options.isImageFromDropbox=!1,scope.options.editableButtonClass="",scope.options.itemContentClass="",scope.options.itemSimple="",scope.options.filterFields="",scope.options.randomModel=_Mathfloor(9e3*Math.random())+1e3,optionsList.imagePosition||(scope.options.imagePosition="left"),optionsList.iconPosition||(scope.options.iconPosition="right"),optionsList.imageType||(scope.options.imageType="avatar");for(var column,imageDirection=optionsList.imagePosition?optionsList.imagePosition:"left",iconDirection=optionsList.iconPosition?optionsList.iconPosition:"right",bothDirection="left"===imageDirection&&"left"===iconDirection?"left":"right"===imageDirection&&"right"===iconDirection?"right":"",visibleColumns=[],i=0;i<optionsList.columns.length;i++)column=optionsList.columns[i],column.visible&&visibleColumns.push(optionsList.columns[i]);for(var column,i=0;i<visibleColumns.length;i++)column=visibleColumns[i],column.field&&"Database"==column.dataType?(scope.options.fields["security"+i]=column.security,scope.options.fields["field"+i]=column.field,scope.options.fields["type"+i]=column.type,scope.options.fields["mask"+i]=column.format,!addedImage&&isImage(column.field,optionsList.dataSourceScreen.entityDataSource.schemaFields)&&"do-not-show"!==optionsList.imageType?(scope.options.fields.image=column.field,delete scope.options.fields["field"+i],addedImage=!0,scope.options.isImageFromDropbox=!1):addedImage||"image"!=column.type?column.filterable&&(searchableField=null==searchableField?column.field:searchableField+";"+column.field):(scope.options.fields.image=column.field,delete scope.options.fields["field"+i],addedImage=!0,scope.options.isImageFromDropbox=!0)):("Command"==column.dataType||"Blockly"==column.dataType||"Customized"==column.dataType)&&(scope.options.editableButtonClass="item-complex item-right-editable","Command"==column.dataType?(scope.options.fields["field"+i]=column.field,buttons=buttons.concat(addDefaultButton(dataSourceName,column)),("edit"==column.command||"edit|destroy"==column.command)&&(isNativeEdit=!0)):"Blockly"==column.dataType?buttons=buttons.concat(addBlockly(column)):"Customized"==column.dataType&&(buttons=buttons.concat(addCustomButton(column))))}catch(e){console.log("CronList invalid configuration! "+e)}scope.options.editableButtonClass||addedImage?!scope.options.editableButtonClass&&addedImage&&(scope.options.itemContentClass="item-content",scope.options.editableButtonClass="item-complex",scope.options.itemSimple=""):(scope.options.itemContentClass="item-content",scope.options.itemSimple="item-simple"),scope.options.fields.image&&"do-not-show"!=scope.options.imageType&&(scope.options.imageClassPosition="item-"+scope.options.imageType+"-"+scope.options.imagePosition),addedImage||(scope.options.imageType="do-not-show"),scope.options.icon&&scope.options.iconPosition&&scope.options.imageType&&(scope.options.iconClassPosition="item-icon-"+scope.options.iconPosition),bothDirection&&scope.options.icon&&scope.options.imagePosition&&scope.options.imageType&&(scope.options.imageToClassPosition="image-to-"+scope.options.imagePosition+"-"+scope.options.imageType,scope.options.textToClassPosition="text-to-"+scope.options.iconPosition+"-"+scope.options.imageType),scope.options.advancedTemplate||(scope.options.advancedTemplate=defaultAdvancedTemplate),scope.options.searchTemplate||(scope.options.searchTemplate=defaultSearchTemplate);var templateDyn=null;searchableField?(scope.options.filterFields=searchableField,templateDyn=scope.options.searchTemplate+scope.options.advancedTemplate):templateDyn=scope.options.advancedTemplate;for(let e,t=0;t<visibleColumns.length;t++)if(e=visibleColumns[t],e.field&&"Database"===e.dataType&&scope.options.fields[`security${t}`]){let e=`ng-if="rowData[options.fields.field${t}]"`,a=`${e} cronapp-security="${scope.options.fields["security"+t]}"`;templateDyn=templateDyn.replace(e,a)}templateDyn=$(templateDyn),scope.options.xattrTextPosition=attrs.xattrTextPosition,templateDyn.attr("type",optionsList.listType),$(element).replaceWith(templateDyn);var $element=templateDyn,ionItem=$element.find("ion-item");"rowData in datasource"===$(ionItem).attr("ng-repeat")&&ionItem.attr("ng-repeat",getExpression(dataSourceName)),isNativeEdit&&ionItem.attr("ng-click",getEditCommand(dataSourceName));var ngClickAttrTemplate="",ngClickAttrTemplateCheckbox="";optionsList.allowMultiselect?(attrs.ngModel&&(ngClickAttrTemplateCheckbox="checkboxButtonClick($index, rowData, '"+window.stringToJs(attrs.ngClick)+"', $event);"),checkboxTemplate=$element.find("ul"),attrs.ngClick&&(checkboxTemplate=$(checkboxTemplate).attr("ng-click",ngClickAttrTemplateCheckbox).get(0).outerHTML,ngClickAttrTemplate=ngClickAttrTemplate+"listButtonClick($index, rowData, '"+window.stringToJs(attrs.ngClick)+"', $event);"),ionItem.attr("ng-click",ngClickAttrTemplateCheckbox+ngClickAttrTemplate)):(attrs.ngModel&&(ngClickAttrTemplate="setRowDataModel($index, rowData, '"+window.stringToJs(attrs.ngClick)+"', $event);"),attrs.ngClick&&(ngClickAttrTemplate=ngClickAttrTemplate+"listButtonClick($index, rowData, '"+window.stringToJs(attrs.ngClick)+"', $event);"),ionItem.attr("ng-click",ngClickAttrTemplate)),attrs.onDoubleTap&&ionItem.attr("on-double-tap",attrs.onDoubleTap),attrs.onHold&&ionItem.attr("on-hold",attrs.onHold),attrs.onTap&&ionItem.attr("on-tap",attrs.onTap),attrs.onSwipe&&ionItem.attr("on-swipe",attrs.onSwipe);const attrsExcludeds=["options","ng-repeat","ng-click"],filteredItems=Object.values(attrs.$attr).filter(function(e){return!attrsExcludeds.includes(e)});for(let e in filteredItems)ionItem.attr(filteredItems[e],attrs[e]);ionItem.append(buttons);var firstScroll=!0;scope.nextPageInfinite=function(){return $element.find("ion-item").length<dataSource.data.length||0==dataSource.data.length?void scope.$broadcast("scroll.infiniteScrollComplete"):void($element.find("ion-item").length==dataSource.data.length&&(firstScroll?(scope.$broadcast("scroll.infiniteScrollComplete"),firstScroll=!1):dataSource.nextPage(function(){scope.$broadcast("scroll.infiniteScrollComplete")})))};var infiniteScroll=$element.filter(function(){return $(this).is("ion-infinite-scroll")});infiniteScroll.attr("on-infinite","nextPageInfinite()"),infiniteScroll.attr("distance","1%"),scope.showButton=function(){if(optionsList.allowMultiselect){var e=modelGetter(scope);if(null!==e&&e!==void 0)return 0<e.length}return!1},$compile(templateDyn,null,9999998)(scope)}}}]).directive("cronInfiniteScroll",["$compile",function($compile){"use strict";return{restrict:"EA",link:function(scope,element,attrs){var dataSource=attrs.cronInfiniteScroll?eval(attrs.cronInfiniteScroll):attrs.crnDatasource?eval(attrs.crnDatasource):void 0;if(dataSource){scope.nextPageInfinite=function(){dataSource.nextPage(),scope.$broadcast("scroll.infiniteScrollComplete")};var templateDyn=$("<ion-infinite-scroll></ion-infinite-scroll>");$(element).html(templateDyn);var infiniteScroll=$(element).find("ion-infinite-scroll");infiniteScroll.attr("on-infinite","nextPageInfinite()"),infiniteScroll.attr("distance","1%"),$compile(templateDyn)(element.scope())}}}}]).filter("raw",["$translate",function(){return function(e){if(null!=e&&e!==void 0){if("number"==typeof e)return e+"";if("boolean"==typeof e)return e+"";if(e instanceof Date)"datetimeoffset'"+e.toISOString()+"'";else return 10<=e.length&&e.match(ISO_PATTERN)?"datetimeoffset'"+e+"'":"'"+e.replaceAll("'","''")+"'"}else return""}}]).directive("xkeyField",["$compile",function(e){"use strict";return{restrict:"A",link:function(t,a,n){if(n.xkeyField&&n.xdisplayField){var o="";n.crnDatasource&&(o=n.crnDatasource),a.removeAttr("xkey-field"),a.removeAttr("xdisplay-field"),a.append("<option ng-repeat=\"opt in "+o+".data\" value=\"{{opt."+n.xkeyField+"}}\">{{opt."+n.xdisplayField+"}}</option>"),e($(a))(t)}}}}]).directive("cronMobileMenu",["$compile","$translate",function(e,t){"use strict";var a=function(e){var a="";return e&&null!=e&&e.subMenuOptions&&null!=e.subMenuOptions&&Array.isArray(e.subMenuOptions)&&e.subMenuOptions.forEach(function(e){var n=e.security&&null!=e.security?" cronapp-security=\""+e.security+"\" ":"",o=e.action&&null!=e.action?" ng-click=\""+e.action+"\" ":"",l=e.hide&&null!=e.hide?" ng-hide=\""+e.hide+"\" ":"",r=e.iconClass&&null!=e.iconClass?e.iconClass:"",s=e.imagePosition&&null!=e.imagePosition?"item-icon-"+e.imagePosition:"",d=e.textPosition&&null!=e.textPosition?"text-"+e.textPosition:"",c=e.contentTheme&&null!=e.contentTheme?e.contentTheme:"",p=e.iconTheme&&null!=e.iconTheme?e.iconTheme:"",u=t.instant(e.title);a=a+" <a menu-close=\"\" class=\"item "+s+"\" "+o+n+l+"> <i class=\""+r+" "+p+"\" style=\"font-size: 150%\"></i> <div class=\"item-content "+d+"\"> <h2 class=\""+c+"\">"+u+"</h2> </div> </a> "}),a};return{restrict:"EA",link:function(t,n,o){var l={};try{l=JSON.parse(o.options)}catch(t){console.log("CronMobileMenu: Invalid configuration!")}var r=$("<ul class=\"nav navbar-nav\" style=\"float:none\"></ul>"),s=a(l);r.append(s);var d=angular.element(r);n.html(""),n.append(r),n.attr("id",null),e(d)(t)}}}]).directive("srcLazy",["$compile",function(){"use strict";return{restrict:"A",link:function(e,t,a){var n=$(t);setTimeout(function(){return n.is(":appeared")?void t.attr("src",a.srcLazy):void(a.srcLazyPreview?n.attr("src",a.srcLazyPreview):n.css("visibility","hidden"),n.appear(),n.on("appear",function(){n.attr("src-lazy")&&(!a.srcLazyPreview&&n.css("visibility","visible"),console.log(a.srcLazy),n.attr("src",a.srcLazy),n.attr("src-lazy",""))}))},100),e.$on("$destroy",function(){n.appearStop()})}}}]).directive("cronMap",["$compile",function(e){return{restrict:"AE",replace:!0,link:function(t,a,n){var o=a.find(".cronMap")[0];e(o)(a.scope());var l=a.find(".cronMapIframe")[0];e(l)(a.scope());var r="",s=n.src,d=n.width,c=n.height;r=`<iframe class="cronMapIframe" src="${s}" width="${d}" height="${c}" style="border:0;" allowfullscreen="" loading="lazy"></iframe>`,a.html(r),e(r)(a.scope())}}}]).directive("cronVideo",["$compile",function(e){return{restrict:"AE",replace:!0,link:function(t,a,n){var o=a.find(".cronVideo")[0];e(o)(a.scope());var l=a.find(".cronVideoIframe")[0];e(l)(a.scope());var r="",s=n.src,d=n.width,c=n.height,p=n.title;r=`<iframe class="cronVideoIframe" src="${s}" width="${d}" height="${c}" title="${p}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> </iframe>`,a.html(r),e(r)(a.scope())}}}]),app.directive("kendoChat",["$compile","$timeout",function(e,t){return{restrict:"E",link:function(e,a,n){function o(){let e=$(".k-chat");e.height($(window).height()-e.offset().top)}let l=n.ngOnPostMessage,r=n.ngOnSendMessage,s=n.ngOnTypingEnd,d=n.ngOnTypingStart,c=n.ngOnActionClick,p=n.chatUserId,u=n.chatUsername,m=n.chatUserImage,g=n.chatPlaceholder,f=localStorage.getItem("_u")===void 0?null:JSON.parse(localStorage.getItem("_u")),h=window.navigator.userAgent,v="";f&&f.user&&(v=f.user.name);let y=$("<div></div>");y.kendoChat({messages:{placeholder:g},user:{id:p||h,name:u||v,iconUrl:m}}),chat=y.data("kendoChat"),chat.bind("post",t=>{if(l)try{e.$eval(l,{chatMessage:t})}catch(t){console.error(t)}}),chat.bind("sendMessage",t=>{if(r)try{e.$eval(r,{chatMessage:t})}catch(t){console.error(t)}}),chat.bind("typingStart",t=>{if(d)try{e.$eval(d,{chatMessage:t})}catch(t){console.error(t)}}),chat.bind("typingEnd",t=>{if(s)try{e.$eval(s,{chatMessage:t})}catch(t){console.error(t)}}),chat.bind("actionClick",t=>{if(c)try{e.$eval(c,{chatMessage:t})}catch(t){console.error(t)}}),a.empty().append(y),$(window).resize(()=>{o()}),t(()=>{o()})}}}])}(app),function(e){function t(){return e(this).is(":appeared")}function a(){return!e(this).data("_appear_triggered")}function n(){r=!1;for(var n,o=0,s=l.length;o<s;o++){if(n=e(l[o]).filter(t),n.filter(a).data("_appear_triggered",!0).trigger("appear",[n]),c[o]){var d=c[o].not(n);d.data("_appear_triggered",!1).trigger("disappear",[d])}c[o]=n}}function o(e){l.push(e),c.push()}var l=[],r=!1,s={interval:250,force_process:!1},d=e(window),c=[];e.expr.pseudos.appeared=e.expr.createPseudo(function(){return function(t){var a=e(t),n=d.scrollLeft(),o=d.scrollTop(),l=a.offset(),r=l.left,s=l.top;return!!(s+a.height()>=o&&s-(a.data("appear-top-offset")||0)<=o+d.height()&&r+a.width()>=n&&r-(a.data("appear-left-offset")||0)<=n+d.width())}}),e.fn.extend({appear:function(t,a){return e.appear(this,a),this}}),e.fn.extend({appearStop:function(t,a){return e.appearStop(this,a),this}}),e.extend({appearStop:function(e){var t=-1;for(i=0;i<l.length;i++)if(l[i].get(0)==e.get(0)){t=i;break}-1!=t&&l.splice(t)},appear:function(t,a){var l=e.extend({},s,a||{}),d=e("ion-content");if(d.length){if(!d.get(0).checkBinded){var c=function(){r||(r=!0,setTimeout(n,l.interval))};d.scroll(c).resize(c),d.get(0).checkBinded=!0}l.force_process&&setTimeout(n,l.interval),o(t)}}})}(function(){return"undefined"==typeof module?jQuery:require("jquery")}());function maskDirectiveAsDate(e,t,a){return maskDirective(e,t,"as-date",a)}function maskDirectiveMask(e,t,a){return maskDirective(e,t,"mask",a)}function maskDirective(e,t,a,n){return{restrict:"A",require:"?ngModel",link:function(e,o,l,r){var s=n(l.ngModel),d=s.assign;if("as-date"!=a||void 0===l.mask){var c=$(o),p=c.attr("type");if("checkbox"!=p&&"password"!=p){c.data("type",p),c.attr("type","text"),r&&(r.$formatters=[],r.$parsers=[]),void 0!==l.asDate&&"text"==p&&(p="date");var u=!0,m=!1,g=l.mask||l.format;g=g?parseMaskType(g,t):parseMaskType(p,t),g.endsWith(";0")&&(m=!0);var f=g.replace(";1","").replace(";0","").replace(";local","").trim(),h=l.keyboard,v=t.instant("keyboardDecimalChar")&&1==t.instant("keyboardDecimalChar").length?t.instant("keyboardDecimalChar"):",";if(h&&parseKeyboardType(h,v,c),null!=f&&0!=f.length){if("date"==p||"datetime"==p||"datetime-local"==p||"month"==p||"time"==p||"time-local"==p||"week"==p){var y="date"==p||"datetime"==p||"time"==p;window.fixedTimeZone||(y=!1),"date"==p?(f=moment.HTML5_FMT.DATE,c.attr("type","date")):"month"==p?(f=moment.HTML5_FMT.MONTH,c.attr("type","month")):"week"==p?(f=moment.HTML5_FMT.WEEK,c.attr("type","week")):"datetime"==p||"datetime-local"==p?(f=moment.HTML5_FMT.DATETIME_LOCAL,c.attr("type","datetime-local")):("time"==p||"time-local"==p)&&(f=moment.HTML5_FMT.TIME,c.attr("type","time")),r&&(r.$formatters.push(function(e){return e?y?moment(e).utcOffset(window.timeZoneOffset).format(f):moment(e).format(f):null}),r.$parsers.push(function(e){return e?y?moment(e,f).utcOffset(window.timeZoneOffset,!0).toDate():moment(e,f).toDate():new Date(e)}))}else if("number"==p||"money"==p||"integer"==p||"money-decimal"==p){m=!0,u=!1;var b=f.trim().replace(/\./g,"").replace(/\,/g,"").replace(/#/g,"").replace(/0/g,"").replace(/9/g,"");h||("integer"==p||"money-decimal"==p?h="integer":h="number");var k="",x="",T="",M=",",w=0;f.startsWith(b)?k=b:f.endsWith(b)&&(x=b);var C=f.trim().replace(k,"").replace(x,"").trim();C.startsWith("#.")?T=".":C.startsWith("#,")&&(T=",");var D=null;if(-1==C.indexOf(",0")?-1!=C.indexOf(".0")&&(M=".",D=".0"):(M=",",D=",0"),null!=D){var P=C.substring(C.indexOf(D)+1);w=P.length}var F="numeric";0==w&&(F="integer");var S={rightAlign:"money"==p||"money-decimal"==p,unmaskAsNumber:!0,allowMinus:"money"!=p&&"money-decimal"!=p,prefix:k,suffix:x,radixPoint:M,digits:w,numericInput:"money-decimal"==p};T&&(S.autoGroup=!0,S.groupSeparator=T),"money-decimal"==p&&(F="currency"),$(o).inputmask(F,S),useInputMaskPlugin(o,r,e,d,f)}else"text"==p||"tel"==p?(h||"tel"!=p||(h="tel"),l.maskPlaceholder?(options={},options.placeholder=l.maskPlaceholder,$(o).inputmask(f,options),$(o).off("keypress"),m&&useInputMaskPlugin(o,r,e,d,f)):(c.mask(f),useMaskPlugin(o,r,e,d,m))):("email"==p||"password"==p||"search"==p)&&(h||(h=p));h&&parseKeyboardType(h,v,c)}}}}}}function useInputMaskPlugin(e,t,a,n,o){var l=$(e),r=function(){var t=$(this).inputmask("unmaskedvalue");$(this).data("rawvalue",t),e._ignoreFormatter=!0,a.safeApply(function(){n(a,t)})};$(e).off("keypress"),$(e).on("keyup",r),t&&(t.$formatters.push(function(t){return e._ignoreFormatter?(e._ignoreFormatter=!1,$(e).val()):(e._ignoreFormatter=!1,null!=t&&null!=t&&""!==t?format(o,t):null)}),t.$parsers.push(function(e){if(e!=null&&null!=e&&""!==e){var t=l.inputmask("unmaskedvalue");if(""!==t)return t}return null}))}function useMaskPlugin(e,t,a,n,o){var l=$(e),r=function(){o&&$(this).data("rawvalue",$(this).cleanVal())};$(e).on("keydown",r).on("keyup",r),o&&t&&(t.$formatters.push(function(e){return e?l.masked(e):null}),t.$parsers.push(function(e){return e?l.cleanVal():null}))}function parseKeyboardType(e,t,a){("integer"==e||"number"==e||"tel"==e)&&(a.attr("pattern","\\d*"),a.attr("inputmode","decimal")),("tel"==e||"email"==e||"search"==e||"password"==e)&&a.attr("type",e),"ios"===cordova.platformId&&"number"==e&&(a.attr("decimal","true"),a.attr("allow-multiple-decimals","true"),a.attr("decimal-char",t))}function parseMaskType(e,t){return"datetime"==e||"datetime-local"==e?(e=t.instant("Format.DateTime"),"Format.DateTime"==e&&(e="DD/MM/YYYY HH:mm:ss")):"date"==e?(e=t.instant("Format.Date"),"Format.Date"==e&&(e="DD/MM/YYYY")):"time"==e||"time-local"==e?(e=t.instant("Format.Hour"),"Format.Hour"==e&&(e="HH:mm:ss")):"month"==e?e="MMMM":"number"==e?(e=t.instant("Format.Decimal"),"Format.Decimal"==e&&(e="0,00")):"money"==e||"money-decimal"==e?(e=t.instant("Format.Money"),"Format.Money"==e&&(e="#.#00,00")):"integer"==e?e="0":"week"==e?e="dddd":"tel"==e?e="(99) 99999-9999;0":"text"==e?e="":"string"==e&&(e=""),e}function transformText(){return{restrict:"E",require:"?ngModel",link:function(e,t,a,n){let o=function(e,t){if(e&&t&&("string"==typeof t||t instanceof String)){if("uppercase"===e.css("text-transform"))return t.toUpperCase();if("lowercase"===e.css("text-transform"))return t.toLowerCase()}return t};n&&(n.$formatters.push(function(e){return o(t,e)}),n.$parsers.push(function(e){return o(t,e)}))}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(a){a.filter("tel",function(){return function(a){var b=a+"";return b=b.replace(/\D/g,""),b=11===b.length?b.replace(/^(\d{2})(\d{5})(\d{4})/,"($1) $2-$3"):b.replace(/^(\d{2})(\d{4})(\d{4})/,"($1) $2-$3"),b}}),a.filter("cep",function(){return function(a){var b=a+"";return b=b.replace(/\D/g,""),b=b.replace(/^(\d{2})(\d{3})(\d)/,"$1.$2-$3"),b}}),a.filter("cnpj",function(){return function(a){var b=a+"";return b=b.replace(/\D/g,""),b=b.replace(/^(\d{2})(\d)/,"$1.$2"),b=b.replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3"),b=b.replace(/\.(\d{3})(\d)/,".$1/$2"),b=b.replace(/(\d{4})(\d)/,"$1-$2"),b}}),a.filter("encodeURIComponent",function(){return function(a){return encodeURIComponent(a)}})})(app);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
angular.module("MyApp").directive("dateFormat",function(){return{require:"ngModel",link:function(a,b,c,d){d.$formatters.push(function(a){return a?new Date(a):null})}}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(){"use strict";function a(a,b,c,d,e){function f(a){c.openURLContent(a.data)}b.getDescription=function(a){var b=a.name;return a.description&&(b=a.description,-1<b.indexOf("{{")&&-1<b.indexOf("}}")&&(b=b.replace("{{","").replace("}}",""),b=window.cronapi.i18n.translate(b,[]))),b},b.cloneElement=function(a){return angular.copy(a)},b.isVisibleParam=function(a){if("DATA_LIMIT"===a.name)return!1;return!(""!==a.value)||!(""!==a.value)};var g=d.reportName.match(/\/(.*?)(.*?)(\.jrxml|\.report)/);b.report=d,b.report.name=g[2],b.htmlParameters=e,b.onPrint=function(){b.report.reportName.endsWith(".report")?c.openStimulsoftReport(b.report.contentData,b.report.parameters,b.report.datasourcesInBand):c.getPDFAsFile(b.report).then(f)},b.onCancel=function(){a.dismiss("cancel")}}angular.module("custom.controllers").controller("ParameterController",a).filter("trusted",["$sce",function(a){return function(b){return a.trustAsHtml(b)}}]).directive("compile",["$compile","$timeout",function(a,b){return{restrict:"A",link:function(c,d){b(function(){a(d.contents())(c)})}}}]).directive("formatDate",function(){return{require:"ngModel",link:function(a,b,c,d){d.$formatters.push(function(a){return a?new Date(a):null})}}}),a.$inject=["$modalInstance","$scope","ReportService","report","htmlParameters"]})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(){angular.module("report.services",[]).service("ReportService",["$http","$compile","$modal","$translate","$window","$rootScope","$ionicModal","$ionicLoading",function(a,b,c,d,e,f,g,h){var i=$("body"),j=angular.element(i.get(0)).scope(),k=["node_modules/cronapp-lib-js/dist/js/stimulsoft/stimulsoft-all.js","node_modules/cronapp-lib-js/dist/js/stimulsoft/stimulsoft-helper.js"],l=[];this.getReport=function(b){var c={url:window.hostApp+"api/rest/report",method:"POST",data:angular.toJson({reportName:b})};return a(c)},this.getPDFAsFile=function(b){var c={url:window.hostApp+"api/rest/report/pdfasfile",method:"POST",data:angular.toJson(b)};return a(c)},this.getContentAsString=function(b){var c={url:window.hostApp+"api/rest/report/contentasstring",method:"POST",data:angular.toJson(b)};return a(c)},this.getDataSourcesParams=function(b){var c={url:window.hostApp+"api/rest/report/getdatasourcesparams",method:"POST",data:angular.toJson(b)};return a(c)},this.openURLContent=function(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,b,c,e,f){function g(a,b){try{window.resolveLocalFileSystemURL(cordova.file.externalApplicationStorageDirectory,function(c){f&&f(),c.getFile(a,{create:!0},function(c){c.createWriter(function(c){c.onwriteend=function(){cordova.plugins.fileOpener2.open(cordova.file.externalApplicationStorageDirectory+a,"application/pdf",{error:function(a){j.Notification.error(d.instant("General.ErrorNotSpecified"),a.message),console.log("Error status: "+a.status+" - Error message: "+a.message)}})},c.onerror=function(a){alert(a)};var e=new Blob([b],{type:"application/pdf"});c.write(e)},function(a){alert(a)})},function(a){alert(a)})},function(a){f&&f(),alert(a)})}catch(a){f&&f(),alert(a)}}var h=new Stimulsoft.Report.StiReport;h.load(a),c||(c=stimulsoftHelper.getDatasourcesInBand(h)),b&&b.forEach(function(a){c.datasources.forEach(function(b){for(var c=0;c<b.fieldParams.length;c++)if(b.fieldParams[c].param==a.originalName){b.fieldParams[c].value=a.value;break}})}),stimulsoftHelper.setParamsInFilter(h.dictionary.dataSources,c.datasources);var i=new Stimulsoft.Report.Export.StiPdfExportSettings,k=new Stimulsoft.Report.Export.StiPdfExportService,l=new Stimulsoft.System.IO.MemoryStream;h.renderAsync(function(){k.exportToAsync(function(){var b=l.toArray(),c=new Blob([new Uint8Array(b)],{type:"application/pdf"});window.resolveLocalFileSystemURL?g(a.ReportAlias+".pdf",c):(f&&f(),window.open(URL.createObjectURL(c)))},h,l,i)},!1)},this.showParameters=function(a){var b=a.parameters,c=[],d=0,e=function(a){return a.replace(/([.*+?^=!:()|\[\]\/\\])/g,"\\$1")},f=function(a,b,c){return a.replace(new RegExp(e(b),"g"),c)},i=function(){if(d<b.length){var e=b[d++];$.get("node_modules/cronapp-framework-mobile-js/components/reports/"+e.type+".parameter.html").done(function(a){c.push(f(a,"_field_",e.name)),i()})}else if(0<c.length){j.report=a,j.htmlParameters=c,j.getDescription=function(a){var b=a.name;return a.description&&(b=a.description,-1<b.indexOf("{{")&&-1<b.indexOf("}}")&&(b=b.replace("{{","").replace("}}",""),b=window.cronapi.i18n.translate(b,[]))),b},j.cloneElement=function(a){return angular.copy(a)},j.isVisibleParam=function(a){if("DATA_LIMIT"===a.name)return!1;return!(""!==a.value)||!(""!==a.value)};var k=a.reportName.match(/\/(.*?)(.*?)(\.jrxml|\.report)/);j.report.name=k[2];var l=this;j.onPrint=function(){j.report.reportName.endsWith(".report")&&(h.show({content:"Loading",animation:"fade-in",showBackdrop:!0,maxWidth:200,showDelay:0}),l.openStimulsoftReport(j.report.contentData,j.report.parameters,j.report.datasourcesInBand,void 0,j.onCancel))},j.onCancel=function(){j.ionicModal.remove(),h.hide()},g.fromTemplateUrl("node_modules/cronapp-framework-mobile-js/components/reports/reports.parameters.html",{scope:j,animation:"slide-in-up"}).then(function(a){a.scope.$parent.ionicModal=a,a.show(),$(".modal-backdrop-bg").css("opacity","0")})}}.bind(this);i()},this.mergeParam=function(a,b){var c=function(a,b){for(var c in Object.keys(b)){var d=Object.keys(b[c])[0];if(a==d)return Object.values(b[c])[0]}};for(var d in Object.keys(a)){var e=a[d].name,f=a[d].value,g=c(e,b);g&&(a[d].value=g)}return a},this.setVariablesBasedOnParams=function(a,b){for(var c in b){var d=Object.keys(b[c])[0],e=b[c][d];for(var f in a)if(a[f]&&a[f].Name&&a[f].Name===d){a[f].Value=e;break}}},this.hasParameterWithOutValue=function(a){for(var b in Object.keys(a))if(!a[b].value)return!0;return!1},this.getDatasourcesInBand=function(a){var b=new Stimulsoft.Report.StiReport;b.load(a);var c=stimulsoftHelper.getDatasourcesInBand(b);return c},this.loadSriptsStimulsoft=function(a){var b=!0,c=k.length,d=0;Pace.options.initialRate=.7,Pace.options.minTime=1750,Pace.options.maxProgressPerFrame=1,Pace.options.ghostTime=12e4,Pace.restart(),k.forEach(function(e){this.loadScript(e,function(e){d++,e||(b=!1),d==c&&(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,l))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(){l.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,l.push(a),b&&b(!0))}:d.onload=function(){l.push(a),b&&b(!0)},d.src=a,document.getElementsByTagName("head")[0].appendChild(d)}},this.openReport=function(a,b,c){this.getReport(a).then(function(a){a&&a.data&&(a.data.reportName.endsWith(".report")?this.loadSriptsStimulsoft(function(e){e?(this.initializeStimulsoft(d.use()),this.getContentAsString(a.data).then(function(e){var f=this.getDatasourcesInBand(e.data);this.getDataSourcesParams(f).then(function(g){f=g.data,a.data.parameters=stimulsoftHelper.parseToGroupedParam(f.datasources),a.data.contentData=e.data,a.data.datasourcesInBand=f,b&&(a.data.parameters=this.mergeParam(a.data.parameters,b),a.data.contentData.Dictionary=a.data.contentData.Dictionary||{},this.setVariablesBasedOnParams(a.data.contentData.Dictionary.Variables,b)),this.hasParameterWithOutValue(a.data.parameters)&&!c?(a.data.parameters.forEach(function(a){a.name=d.instant(a.name)}),this.showParameters(JSON.parse(JSON.stringify(a.data)))):this.openStimulsoftReport(e.data,a.data.parameters,a.data.datasourcesInBand,c)}.bind(this))}.bind(this),function(a){var b=cronapi.internal.getErrorMessage(a,a.statusText);j.Notification.error(b)}.bind(this))):j.Notification.error("Error loading report script")}.bind(this)):0==a.data.parameters.length||1==a.data.parameters.length&&"DATA_LIMIT"==a.data.parameters[0].name?this.getPDFAsFile(a.data.reportName).then(function(a){this.openURLContent(a.data)}.bind(this),function(a){var b=cronapi.internal.getErrorMessage(a,a.statusText);j.Notification.error(b)}.bind(this)):(b&&(a.data.parameters=this.mergeParam(a.data.parameters,b)),this.hasParameterWithOutValue(a.data.parameters)?this.showParameters(JSON.parse(JSON.stringify(a.data))):this.getPDFAsFile(a.data).then(function(a){this.openURLContent(a.data)}.bind(this))))}.bind(this))}}])})(app);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(){angular.module("custom.services",[])})(app);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(){function a(a){let b=[].slice.call(arguments,1),c=0;return a.replace(/%s/g,()=>b[c++])}angular.module("upload.services",[]).service("UploadService",["$http","$compile","$ionicModal",function(a,b,c){let d=$("body"),e=angular.element(d.get(0)).scope();this.upload=function(a){e.data=a,c.fromTemplateUrl("node_modules/cronapp-framework-mobile-js/components/upload/upload.html",{scope:e,animation:"slide-in-up",resolve:{data:function(){return a}}}).then(function(a){e.modal=a,e.modal.show()})}.bind(this)}]),angular.module("custom.controllers").controller("UploadController",["$scope","$translate","$stateParams","$location","$http","Upload","$timeout",function(b,c,d,e,f,g,h){app.registerEventsCronapi(b,c),b.params=d,b.$http=f;let i=e.search();for(let a in i)i.hasOwnProperty(a)&&(b.params[a]=i[a]);b.uploading=!1,b.uploaded=!0,b.progress=0,b.message=c.instant("Upload.oneFile");var j=$("ion-header-bar:visible").attr("class");b.headerClass=j,b.buttonClass="button-positive",-1==j.indexOf("-assertive")?-1==j.indexOf("-balanced")?-1==j.indexOf("-energized")?-1==j.indexOf("-light")?-1==j.indexOf("-stable")?-1==j.indexOf("-calm")?-1==j.indexOf("-royal")?-1!=j.indexOf("-dark")&&(b.buttonClass="button-dark"):b.buttonClass="button-royal":b.buttonClass="button-calm":b.buttonClass="button-stable":b.buttonClass="button-light":b.buttonClass="button-energized":b.buttonClass="button-balanced":b.buttonClass="button-assertive","true"===b.data.multiple&&(b.message=c.instant("Upload.multipleFile")),b.data.description&&(b.message=b.data.description),b.safeApply=safeApply,b.imagesSelected=function(a){b.files=a,a&&a.length&&g.upload({url:"/upload_image",method:"POST",data:{files:a}}).then(function(a){h(function(){b.result=a.data})},function(a){0<a.status&&(b.errorMsg=a.status+": "+a.data)},function(a){b.progress=Math.min(100,parseInt(100*a.loaded/a.total))})},b.uploadFile=function(d){let e=b.data.scope,g="api/cronapi/upload/"+b.data.id,h=new FormData;if(0===d.length)this.Notification.error(a(c.instant("Upload.errorValidation"),b.data.maxSize,b.data.filter));else{for(let a=0;a<d.length;a++)h.append("file",d[a]);let a=JSON.parse(localStorage.getItem("_u"));this.$promise=f({method:"POST",url:(window.hostApp||"")+g,data:h,headers:{"Content-Type":void 0,"X-AUTH-TOKEN":a?a.token:""},onProgress:function(a){this.safeApply(function(){if(a.lengthComputable){let c=0|100*(a.loaded/a.total);b.progress=c}b.uploading=!0})}.bind(this)}).success(function(a){e.cronapi.evalInContext(JSON.stringify(a)).then(()=>{b.uploaded=!0,b.uploading=!1,b.close()})}.bind(this)).error(function(a){this.Notification.error(a.error),b.uploading=!1,b.close()}.bind(this))}}.bind(b),b.close=function(){b.modal.hide()}}])})(app);
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 25.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
-
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
|
5
|
-
<style type="text/css">
|
|
6
|
-
.st0{fill:#C9C9C9;}
|
|
7
|
-
</style>
|
|
8
|
-
<g id="Camada_1">
|
|
9
|
-
</g>
|
|
10
|
-
<g id="Camada_3">
|
|
11
|
-
</g>
|
|
12
|
-
<g id="Camada_4">
|
|
13
|
-
</g>
|
|
14
|
-
<g id="Camada_2">
|
|
15
|
-
<g>
|
|
16
|
-
<path class="st0" d="M11,8h2c0.55,0,1-0.45,1-1c0-0.55-0.45-1-1-1h-1V5c0-0.55-0.45-1-1-1c-0.55,0-1,0.45-1,1v2
|
|
17
|
-
C10,7.55,10.45,8,11,8z"/>
|
|
18
|
-
<circle class="st0" cx="1" cy="11" r="1"/>
|
|
19
|
-
<path class="st0" d="M21,20h-5v-3c0-0.55-0.45-1-1-1c-0.55,0-1,0.45-1,1v5h-3c-0.55,0-1,0.45-1,1c0,0.55,0.45,1,1,1h6
|
|
20
|
-
c0.55,0,1-0.45,1-1c0-0.55-0.45-1-1-1h4c0.55,0,1-0.45,1-1C22,20.45,21.55,20,21,20z"/>
|
|
21
|
-
<circle class="st0" cx="11" cy="19" r="1"/>
|
|
22
|
-
<path class="st0" d="M23,10c-0.55,0-1,0.45-1,1v1h-1c-0.55,0-1,0.45-1,1c0,0.55,0.45,1,1,1h1v1c0,0.55,0.45,1,1,1
|
|
23
|
-
c0.55,0,1-0.45,1-1v-4C24,10.45,23.55,10,23,10z"/>
|
|
24
|
-
<path class="st0" d="M10,12h1c0.55,0,1-0.45,1-1c0-0.55-0.45-1-1-1H9c-0.55,0-1,0.45-1,1v4c0,0.55,0.45,1,1,1c0.55,0,1-0.45,1-1
|
|
25
|
-
V12z"/>
|
|
26
|
-
<path class="st0" d="M12,13c0,0.55,0.45,1,1,1h4c0.55,0,1-0.45,1-1c0-0.55-0.45-1-1-1h-4C12.45,12,12,12.45,12,13z"/>
|
|
27
|
-
<circle class="st0" cx="15" cy="9" r="1"/>
|
|
28
|
-
<path class="st0" d="M4,11v1H3c-0.55,0-1,0.45-1,1c0,0.55,0.45,1,1,1h2c0.55,0,1-0.45,1-1v-2c0-0.55-0.45-1-1-1
|
|
29
|
-
C4.45,10,4,10.45,4,11z"/>
|
|
30
|
-
<path class="st0" d="M1,8h6c0.55,0,1-0.45,1-1V1c0-0.55-0.45-1-1-1H1C0.45,0,0,0.45,0,1v6C0,7.55,0.45,8,1,8z M2,3
|
|
31
|
-
c0-0.55,0.45-1,1-1h2c0.55,0,1,0.45,1,1v2c0,0.55-0.45,1-1,1H3C2.45,6,2,5.55,2,5V3z"/>
|
|
32
|
-
<path class="st0" d="M23,0h-6c-0.55,0-1,0.45-1,1v6c0,0.55,0.45,1,1,1h6c0.55,0,1-0.45,1-1V1C24,0.45,23.55,0,23,0z M22,5
|
|
33
|
-
c0,0.55-0.45,1-1,1h-2c-0.55,0-1-0.45-1-1V3c0-0.55,0.45-1,1-1h2c0.55,0,1,0.45,1,1V5z"/>
|
|
34
|
-
<path class="st0" d="M7,16H1c-0.55,0-1,0.45-1,1v6c0,0.55,0.45,1,1,1h6c0.55,0,1-0.45,1-1v-6C8,16.45,7.55,16,7,16z M6,21
|
|
35
|
-
c0,0.55-0.45,1-1,1H3c-0.55,0-1-0.45-1-1v-2c0-0.55,0.45-1,1-1h2c0.55,0,1,0.45,1,1V21z"/>
|
|
36
|
-
</g>
|
|
37
|
-
</g>
|
|
38
|
-
</svg>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 25.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
-
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
|
|
5
|
-
<style type="text/css">
|
|
6
|
-
.st0{fill:#C9C9C9;}
|
|
7
|
-
</style>
|
|
8
|
-
<g id="Camada_1">
|
|
9
|
-
</g>
|
|
10
|
-
<g id="Camada_3">
|
|
11
|
-
</g>
|
|
12
|
-
<g id="Camada_4">
|
|
13
|
-
</g>
|
|
14
|
-
<g id="Camada_2">
|
|
15
|
-
<g>
|
|
16
|
-
<path class="st0" d="M10.26,12.1l-1.49,1.49v0l-2.48,2.48c-0.39,0.39-0.39,1.03,0,1.41l0.22,0.22c0.39,0.39,1.03,0.39,1.41,0
|
|
17
|
-
l9.76-9.76c0.39-0.39,0.39-1.03,0-1.41l-0.22-0.22c-0.39-0.39-1.03-0.39-1.41,0l-2.46,2.46l0,0l-1.49,1.49l0,0L10.26,12.1
|
|
18
|
-
L10.26,12.1z"/>
|
|
19
|
-
<path class="st0" d="M10.52,16.52c-0.09,0.5-0.32,0.98-0.7,1.36l-3.37,3.37C5.97,21.73,5.33,22,4.65,22
|
|
20
|
-
c-0.68,0-1.32-0.26-1.8-0.74l-0.11-0.11c-0.99-0.99-0.99-2.61,0-3.6l3.37-3.37c0.37-0.37,0.84-0.61,1.36-0.7l1.81-1.81
|
|
21
|
-
c-0.45-0.14-0.9-0.23-1.37-0.23c-1.17,0-2.33,0.44-3.21,1.33l-3.37,3.37c-1.77,1.77-1.77,4.66,0,6.43l0.11,0.11
|
|
22
|
-
C2.32,23.56,3.48,24,4.65,24c1.17,0,2.33-0.44,3.21-1.33l3.37-3.37c1.24-1.24,1.59-3.02,1.1-4.58L10.52,16.52z"/>
|
|
23
|
-
<path class="st0" d="M22.67,1.43l-0.11-0.11C21.68,0.44,20.52,0,19.35,0c-1.17,0-2.33,0.44-3.21,1.33L12.76,4.7
|
|
24
|
-
c-1.24,1.24-1.59,3.02-1.1,4.58l1.81-1.81c0.09-0.5,0.32-0.98,0.7-1.36l3.37-3.37C18.03,2.27,18.67,2,19.35,2
|
|
25
|
-
c0.68,0,1.32,0.26,1.8,0.74l0.11,0.11c0.99,0.99,0.99,2.61,0,3.6l-3.37,3.37c-0.37,0.37-0.84,0.61-1.36,0.7l-1.81,1.81
|
|
26
|
-
c0.45,0.14,0.9,0.23,1.37,0.23c1.17,0,2.33-0.44,3.21-1.33l3.37-3.37C24.44,6.1,24.44,3.2,22.67,1.43z"/>
|
|
27
|
-
</g>
|
|
28
|
-
</g>
|
|
29
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg id="Camada_1" data-name="Camada 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#c9c9c9;}</style></defs><rect class="cls-1" y="8" width="12" height="8" rx="2"/><path class="cls-1" d="M21.51,15a.72.72,0,0,0-.29-.06h0a.72.72,0,0,0-.29.06.78.78,0,0,0-.24.16.72.72,0,0,0-.22.53v-.5a.75.75,0,0,0-.46-.69.72.72,0,0,0-.29-.06.76.76,0,0,0-.75.75v-.5a.75.75,0,0,0-.75-.75h0a.75.75,0,0,0-.75.75v-3a.76.76,0,0,0-.75-.75h0a.75.75,0,0,0-.69.46.68.68,0,0,0-.06.29v5.24l-.72-.71a.74.74,0,0,0-1.06,0,.75.75,0,0,0,0,1.06l1.63,1.63h0l.53.53h0a1.48,1.48,0,0,0,1.11.51h3a1.51,1.51,0,0,0,1.5-1.5V16h0v-.3a.76.76,0,0,0-.22-.53A.78.78,0,0,0,21.51,15Z"/><path class="cls-1" d="M22,8H16a2,2,0,0,0-2,2v4a2,2,0,0,0,.31,1.06,1.84,1.84,0,0,1,.41-.05H15V11.7a1.75,1.75,0,0,1,3.5,0V13a1.68,1.68,0,0,1,1,.5,1.14,1.14,0,0,1,.26,0A1.75,1.75,0,0,1,21,14a1.14,1.14,0,0,1,.26,0A1.75,1.75,0,0,1,23,15.7v0A2,2,0,0,0,24,14V10A2,2,0,0,0,22,8Z"/></svg>
|