@sankhyalabs/sankhyablocks 10.1.0-dev.3 → 10.1.0-dev.30
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/dist/cjs/{ConfigStorage-b29e31be.js → ConfigStorage-d9d24844.js} +2 -2
- package/dist/cjs/{DataFetcher-ed9d97ea.js → DataFetcher-3a8ea521.js} +2 -2733
- package/dist/cjs/{FormConfigHelper-ebb77625.js → FormConfigHelper-28fe4668.js} +44 -0
- package/dist/cjs/{ISave-81eb2fbc.js → ISave-a66bb65e.js} +1 -1
- package/dist/cjs/ImageUtils-5e3f406b.js +142 -0
- package/dist/cjs/{PersonalizedFilterUtils-7259cf65.js → PersonalizedFilterUtils-eccb267a.js} +13 -0
- package/dist/cjs/{SnkFormConfigManager-6838389c.js → SnkFormConfigManager-c88cf1e9.js} +7 -7
- package/dist/cjs/SnkMessageBuilder-d9558dba.js +2809 -0
- package/dist/cjs/{SnkMultiSelectionListDataSource-1e804147.js → SnkMultiSelectionListDataSource-a891430e.js} +5 -5
- package/dist/cjs/{auth-fetcher-cc28d847.js → auth-fetcher-faa61f64.js} +1 -1
- package/dist/cjs/config-header.cjs.entry.js +1 -1
- package/dist/cjs/configs-button.cjs.entry.js +1 -1
- package/dist/cjs/css-shim-a27d231b.js +6 -0
- package/dist/cjs/{dataunit-fetcher-ab1cc071.js → dataunit-fetcher-4320f7ec.js} +3 -2
- package/dist/cjs/dom-ff96a4bc.js +75 -0
- package/dist/cjs/field-config_2.cjs.entry.js +3 -3
- package/dist/cjs/fields-layout.cjs.entry.js +7 -4
- package/dist/cjs/fields-selector.cjs.entry.js +2 -2
- package/dist/cjs/{form-config-fetcher-f0897eb5.js → form-config-fetcher-72cf0e3d.js} +1 -1
- package/dist/cjs/guides-configurator.cjs.entry.js +6 -4
- package/dist/cjs/{index-1cf293c1.js → index-1894343a.js} +1525 -173
- package/dist/cjs/{index-13d05f03.js → index-f0fe7e6e.js} +90 -21
- package/dist/cjs/loader.cjs.js +16 -2
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +6 -5
- package/dist/cjs/sankhyablocks.cjs.js +132 -4
- package/dist/cjs/shadow-css-7e3e0ab1.js +389 -0
- package/dist/cjs/{snk-actions-button_9.cjs.entry.js → snk-actions-button_8.cjs.entry.js} +20 -61
- package/dist/cjs/snk-actions-form.cjs.entry.js +1 -1
- package/dist/cjs/snk-application.cjs.entry.js +29 -9
- package/dist/cjs/snk-attach.cjs.entry.js +10 -9
- package/dist/cjs/snk-client-confirm.cjs.entry.js +1 -1
- package/dist/cjs/snk-configurator.cjs.entry.js +1 -1
- package/dist/cjs/snk-crud.cjs.entry.js +18 -10
- package/dist/cjs/snk-custom-slot-elements.cjs.entry.js +1 -1
- package/dist/cjs/snk-custom-slot-guide.cjs.entry.js +40 -0
- package/dist/cjs/snk-data-exporter.cjs.entry.js +7 -6
- package/dist/cjs/{snk-data-unit-68992932.js → snk-data-unit-b54fdf9a.js} +21 -12
- package/dist/cjs/snk-data-unit.cjs.entry.js +5 -4
- package/dist/cjs/snk-default-filter.cjs.entry.js +1 -1
- package/dist/cjs/snk-detail-view.cjs.entry.js +18 -14
- package/dist/cjs/snk-entity-list.cjs.entry.js +1 -1
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
- package/dist/cjs/snk-expression-group_2.cjs.entry.js +2 -2
- package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +2 -2
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +59 -25
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-checkbox-list.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-detail.cjs.entry.js +3 -3
- package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +2 -2
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +5 -4
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-number.cjs.entry.js +11 -7
- package/dist/cjs/snk-filter-period.cjs.entry.js +14 -7
- package/dist/cjs/snk-filter-search.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-text.cjs.entry.js +2 -2
- package/dist/cjs/snk-form-summary.cjs.entry.js +1 -1
- package/dist/cjs/snk-form-view.cjs.entry.js +73 -8
- package/dist/cjs/snk-form_2.cjs.entry.js +34 -10
- package/dist/cjs/snk-grid.cjs.entry.js +30 -19
- package/dist/cjs/{snk-guides-viewer-8b841753.js → snk-guides-viewer-58185ae3.js} +91 -42
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +11 -10
- package/dist/cjs/snk-image-input.cjs.entry.js +148 -0
- package/dist/cjs/snk-layout-form-config.cjs.entry.js +72 -0
- package/dist/cjs/snk-personalized-filter-editor.cjs.entry.js +1 -1
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +7 -6
- package/dist/cjs/snk-pesquisa.cjs.entry.js +6 -6
- package/dist/cjs/snk-print-selector.cjs.entry.js +1 -1
- package/dist/cjs/snk-simple-bar.cjs.entry.js +1 -1
- package/dist/cjs/snk-simple-crud.cjs.entry.js +15 -21
- package/dist/cjs/snk-taskbar.cjs.entry.js +59 -47
- package/dist/cjs/{taskbar-elements-fb5d1e08.js → taskbar-elements-a94d4318.js} +6 -5
- package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +8 -1
- package/dist/collection/components/snk-application/errorhandler/snk-error-handler.js +1 -0
- package/dist/collection/components/snk-application/snk-application.js +20 -2
- package/dist/collection/components/snk-attach/snk-attach.js +1 -1
- package/dist/collection/components/snk-crud/snk-crud.js +48 -3
- package/dist/collection/components/snk-crud/subcomponents/GuideBuilder.js +1 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +4 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js +93 -8
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +138 -36
- package/dist/collection/components/snk-custom-slot-guide/snk-custom-slot-guide.css +3 -0
- package/dist/collection/components/snk-custom-slot-guide/snk-custom-slot-guide.js +95 -0
- package/dist/collection/components/snk-data-unit/snk-data-unit.js +9 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-number.js +13 -9
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +14 -7
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-text.js +1 -1
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +1 -1
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.css +4 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +7 -1
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +1 -0
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +15 -4
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +30 -13
- package/dist/collection/components/snk-form-config/FormConfigHelper.js +42 -0
- package/dist/collection/components/snk-form-config/SnkFormConfigManager.js +6 -6
- package/dist/collection/components/snk-form-config/field-item/field-config/field-config.css +1 -0
- package/dist/collection/components/snk-form-config/fields-layout/fields-layout.css +16 -0
- package/dist/collection/components/snk-form-config/fields-layout/fields-layout.js +6 -3
- package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css +3 -3
- package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.js +5 -3
- package/dist/collection/components/snk-form-config/snk-form-config.js +53 -6
- package/dist/collection/components/snk-grid/snk-grid.css +12 -0
- package/dist/collection/components/snk-grid/snk-grid.js +22 -12
- package/dist/collection/components/snk-grid-config/snk-grid-config.js +12 -4
- package/dist/collection/components/snk-image-input/snk-image-input.css +3 -0
- package/dist/collection/components/snk-image-input/snk-image-input.js +326 -0
- package/dist/collection/components/snk-image-input/utils/ImageUtils.js +133 -0
- package/dist/collection/components/snk-layout-form-config/snk-layout-form-config.js +1 -1
- package/dist/collection/components/snk-layout-form-config/snk-view-representation/snk-view-representation.js +1 -1
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js +13 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +0 -4
- package/dist/collection/components/snk-simple-crud/snk-simple-crud.js +23 -12
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +4 -3
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +58 -44
- package/dist/collection/lib/message/SnkMessageBuilder.js +11 -2
- package/dist/collection/lib/message/messageResourceEnUSUtils.js +2 -0
- package/dist/collection/lib/message/messageResourceEsESUtils.js +2 -0
- package/dist/collection/lib/message/messageResourcePtBRUtils.js +2 -0
- package/dist/collection/lib/message/resources/en-us/snk-crud.msg.js +1 -1
- package/dist/collection/lib/message/resources/en-us/snk-form.msg.js +7 -0
- package/dist/collection/lib/message/resources/en-us/snk-image-input.msg.js +11 -0
- package/dist/collection/lib/message/resources/en-us/snk-layout-form-config.msg.js +10 -2
- package/dist/collection/lib/message/resources/es-es/snk-crud.msg.js +1 -1
- package/dist/collection/lib/message/resources/es-es/snk-form.msg.js +7 -0
- package/dist/collection/lib/message/resources/es-es/snk-image-input.msg.js +11 -0
- package/dist/collection/lib/message/resources/es-es/snk-layout-form-config.msg.js +8 -0
- package/dist/collection/lib/message/resources/pt-br/snk-configurator.msg.js +1 -1
- package/dist/collection/lib/message/resources/pt-br/snk-crud.msg.js +1 -1
- package/dist/collection/lib/message/resources/pt-br/snk-form.msg.js +8 -1
- package/dist/collection/lib/message/resources/pt-br/snk-image-input.msg.js +11 -0
- package/dist/collection/lib/message/resources/pt-br/snk-layout-form-config.msg.js +10 -2
- package/dist/components/DataFetcher.js +3 -2713
- package/dist/components/PersonalizedFilterUtils.js +13 -0
- package/dist/components/SnkFormConfigManager.js +6 -6
- package/dist/components/SnkMessageBuilder.js +2807 -0
- package/dist/components/dataunit-fetcher.js +2 -1
- package/dist/components/field-config2.js +44 -2
- package/dist/components/fields-layout2.js +6 -3
- package/dist/components/guides-configurator2.js +5 -3
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index2.js +90 -21
- package/dist/components/snk-application2.js +22 -2
- package/dist/components/snk-attach2.js +3 -2
- package/dist/components/snk-crud.js +79 -65
- package/dist/components/snk-custom-slot-guide.d.ts +11 -0
- package/dist/components/snk-custom-slot-guide.js +55 -0
- package/dist/components/snk-data-unit2.js +10 -1
- package/dist/components/snk-detail-view2.js +186 -121
- package/dist/components/snk-filter-bar2.js +30 -13
- package/dist/components/snk-filter-detail2.js +1 -1
- package/dist/components/snk-filter-item2.js +8 -2
- package/dist/components/snk-filter-modal2.js +16 -6
- package/dist/components/snk-filter-number.js +12 -8
- package/dist/components/snk-filter-period.js +13 -6
- package/dist/components/snk-filter-text.js +1 -1
- package/dist/components/snk-form-config2.js +29 -5
- package/dist/components/snk-form-view2.js +82 -10
- package/dist/components/snk-grid-config2.js +12 -4
- package/dist/components/snk-grid2.js +22 -11
- package/dist/components/snk-image-input.d.ts +11 -0
- package/dist/components/snk-image-input.js +6 -0
- package/dist/components/snk-image-input2.js +302 -0
- package/dist/components/snk-layout-form-config2.js +1 -1
- package/dist/components/snk-pesquisa2.js +0 -1
- package/dist/components/snk-simple-crud2.js +6 -12
- package/dist/components/snk-taskbar2.js +61 -48
- package/dist/components/snk-view-representation2.js +1 -1
- package/dist/esm/{ConfigStorage-13d80e36.js → ConfigStorage-d15d2014.js} +2 -2
- package/dist/esm/{DataFetcher-f4ccd9f3.js → DataFetcher-1dd7e8c0.js} +3 -2713
- package/dist/esm/{FormConfigHelper-4e42f0b6.js → FormConfigHelper-d09669f3.js} +43 -1
- package/dist/esm/{ISave-288fa9df.js → ISave-498c4831.js} +1 -1
- package/dist/esm/ImageUtils-8fc8d905.js +136 -0
- package/dist/esm/{PersonalizedFilterUtils-2db38ff2.js → PersonalizedFilterUtils-d2439a9a.js} +13 -0
- package/dist/esm/{SnkFormConfigManager-3ee2937b.js → SnkFormConfigManager-86befa68.js} +7 -7
- package/dist/esm/SnkMessageBuilder-c0bc4424.js +2807 -0
- package/dist/esm/{SnkMultiSelectionListDataSource-5d3a93f2.js → SnkMultiSelectionListDataSource-14633bf6.js} +5 -5
- package/dist/esm/{auth-fetcher-59ab0c67.js → auth-fetcher-69cbda8d.js} +1 -1
- package/dist/esm/config-header.entry.js +1 -1
- package/dist/esm/configs-button.entry.js +1 -1
- package/dist/esm/css-shim-9f2d321e.js +4 -0
- package/dist/esm/{dataunit-fetcher-c4f9f222.js → dataunit-fetcher-3d5c4ae4.js} +2 -1
- package/dist/esm/dom-64053c71.js +73 -0
- package/dist/esm/field-config_2.entry.js +3 -3
- package/dist/esm/fields-layout.entry.js +7 -4
- package/dist/esm/fields-selector.entry.js +2 -2
- package/dist/esm/{form-config-fetcher-6a00fe9e.js → form-config-fetcher-fcc7b62f.js} +1 -1
- package/dist/esm/guides-configurator.entry.js +6 -4
- package/dist/esm/{index-479e1293.js → index-04f73a26.js} +1517 -173
- package/dist/esm/{index-446f9341.js → index-ea250be6.js} +90 -21
- package/dist/esm/loader.js +17 -3
- package/dist/esm/pesquisa-grid_2.entry.js +6 -5
- package/dist/esm/sankhyablocks.js +133 -5
- package/dist/esm/shadow-css-98135883.js +387 -0
- package/dist/esm/{snk-actions-button_9.entry.js → snk-actions-button_8.entry.js} +21 -61
- package/dist/esm/snk-actions-form.entry.js +1 -1
- package/dist/esm/snk-application.entry.js +28 -8
- package/dist/esm/snk-attach.entry.js +9 -8
- package/dist/esm/snk-client-confirm.entry.js +1 -1
- package/dist/esm/snk-configurator.entry.js +1 -1
- package/dist/esm/snk-crud.entry.js +18 -10
- package/dist/esm/snk-custom-slot-elements.entry.js +1 -1
- package/dist/esm/snk-custom-slot-guide.entry.js +36 -0
- package/dist/esm/snk-data-exporter.entry.js +7 -6
- package/dist/esm/{snk-data-unit-0edeb967.js → snk-data-unit-363c3551.js} +12 -3
- package/dist/esm/snk-data-unit.entry.js +5 -4
- package/dist/esm/snk-default-filter.entry.js +1 -1
- package/dist/esm/snk-detail-view.entry.js +16 -12
- package/dist/esm/snk-entity-list.entry.js +1 -1
- package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
- package/dist/esm/snk-expression-group_2.entry.js +2 -2
- package/dist/esm/snk-filter-advanced-mode_2.entry.js +2 -2
- package/dist/esm/snk-filter-bar_4.entry.js +59 -25
- package/dist/esm/snk-filter-binary-select.entry.js +1 -1
- package/dist/esm/snk-filter-checkbox-list.entry.js +1 -1
- package/dist/esm/snk-filter-detail.entry.js +3 -3
- package/dist/esm/snk-filter-field-search_2.entry.js +2 -2
- package/dist/esm/snk-filter-modal-item.entry.js +5 -4
- package/dist/esm/snk-filter-multi-select.entry.js +1 -1
- package/dist/esm/snk-filter-number.entry.js +11 -7
- package/dist/esm/snk-filter-period.entry.js +14 -7
- package/dist/esm/snk-filter-search.entry.js +1 -1
- package/dist/esm/snk-filter-text.entry.js +2 -2
- package/dist/esm/snk-form-summary.entry.js +1 -1
- package/dist/esm/snk-form-view.entry.js +74 -9
- package/dist/esm/snk-form_2.entry.js +34 -10
- package/dist/esm/snk-grid.entry.js +30 -19
- package/dist/esm/{snk-guides-viewer-9cd4d20f.js → snk-guides-viewer-6a72a3f4.js} +91 -42
- package/dist/esm/snk-guides-viewer.entry.js +11 -10
- package/dist/esm/snk-image-input.entry.js +144 -0
- package/dist/esm/snk-layout-form-config.entry.js +68 -0
- package/dist/esm/snk-personalized-filter-editor.entry.js +1 -1
- package/dist/esm/snk-personalized-filter.entry.js +7 -6
- package/dist/esm/snk-pesquisa.entry.js +6 -6
- package/dist/esm/snk-print-selector.entry.js +1 -1
- package/dist/esm/snk-simple-bar.entry.js +1 -1
- package/dist/esm/snk-simple-crud.entry.js +15 -21
- package/dist/esm/snk-taskbar.entry.js +60 -48
- package/dist/esm/{taskbar-elements-faaf5d8f.js → taskbar-elements-97541bdd.js} +6 -5
- package/dist/esm/teste-pesquisa.entry.js +1 -1
- package/dist/sankhyablocks/{p-7f7fe6c4.entry.js → p-0a160fb5.entry.js} +1 -1
- package/dist/sankhyablocks/p-10cad767.entry.js +1 -0
- package/dist/sankhyablocks/{p-162bddae.entry.js → p-175c9576.entry.js} +1 -1
- package/dist/sankhyablocks/p-18cc9111.entry.js +1 -0
- package/dist/sankhyablocks/p-1df34264.entry.js +11 -0
- package/dist/sankhyablocks/p-27d6590e.js +1 -0
- package/dist/sankhyablocks/{p-c4fcf1fb.entry.js → p-27e0cd68.entry.js} +1 -1
- package/dist/sankhyablocks/p-2a356340.entry.js +1 -0
- package/dist/sankhyablocks/{p-9a63f3f7.entry.js → p-2b882835.entry.js} +1 -1
- package/dist/sankhyablocks/p-2c9d0870.js +2 -0
- package/dist/sankhyablocks/{p-cb4343c4.entry.js → p-2cc2526e.entry.js} +1 -1
- package/dist/sankhyablocks/{p-f15478a1.js → p-2ccbbeec.js} +1 -1
- package/dist/sankhyablocks/{p-75af335e.entry.js → p-2ebda226.entry.js} +1 -1
- package/dist/sankhyablocks/p-2ee83af1.entry.js +1 -0
- package/dist/sankhyablocks/p-30641d55.entry.js +1 -0
- package/dist/sankhyablocks/{p-53599b26.js → p-32ad76cc.js} +1 -1
- package/dist/sankhyablocks/p-3a35917e.entry.js +1 -0
- package/dist/sankhyablocks/{p-49ddc27a.entry.js → p-438a225f.entry.js} +1 -1
- package/dist/sankhyablocks/p-45f53520.entry.js +1 -0
- package/dist/sankhyablocks/p-48762fe9.js +1 -0
- package/dist/sankhyablocks/p-48c580b9.entry.js +1 -0
- package/dist/sankhyablocks/p-4ff3b494.js +1 -0
- package/dist/sankhyablocks/{p-27482793.entry.js → p-5aae5c74.entry.js} +1 -1
- package/dist/sankhyablocks/p-6564180d.entry.js +1 -0
- package/dist/sankhyablocks/p-685bc841.js +60 -0
- package/dist/sankhyablocks/p-68c1a093.js +1 -0
- package/dist/sankhyablocks/{p-7b3ca294.entry.js → p-7150eacf.entry.js} +1 -1
- package/dist/sankhyablocks/p-72d62f22.js +1 -0
- package/dist/sankhyablocks/{p-825098c1.entry.js → p-752c57f4.entry.js} +1 -1
- package/dist/sankhyablocks/{p-e258de96.entry.js → p-76729994.entry.js} +1 -1
- package/dist/sankhyablocks/p-7c4f4851.js +1 -0
- package/dist/sankhyablocks/p-7cede5db.entry.js +1 -0
- package/dist/sankhyablocks/p-7e9f8fa4.js +1 -0
- package/dist/sankhyablocks/p-8b4d6719.js +1 -0
- package/dist/sankhyablocks/{p-3d41f5a8.entry.js → p-8d946600.entry.js} +1 -1
- package/dist/sankhyablocks/{p-96d45943.entry.js → p-90ae6c2e.entry.js} +1 -1
- package/dist/sankhyablocks/{p-78ff8734.js → p-9114e869.js} +1 -1
- package/dist/sankhyablocks/{p-21107f0d.entry.js → p-9c1ff75e.entry.js} +1 -1
- package/dist/sankhyablocks/p-9ce1539b.entry.js +1 -0
- package/dist/sankhyablocks/{p-2fdac5e6.entry.js → p-9e109f5e.entry.js} +1 -1
- package/dist/sankhyablocks/p-a210e55b.entry.js +1 -0
- package/dist/sankhyablocks/p-a2a9f520.entry.js +1 -0
- package/dist/sankhyablocks/p-a46ac091.js +1 -0
- package/dist/sankhyablocks/p-a73b6b00.js +1 -0
- package/dist/sankhyablocks/{p-9317942f.js → p-a9839628.js} +1 -1
- package/dist/sankhyablocks/{p-180716b2.entry.js → p-ae326d06.entry.js} +1 -1
- package/dist/sankhyablocks/p-b25777fa.entry.js +1 -0
- package/dist/sankhyablocks/p-b555ce38.entry.js +1 -0
- package/dist/sankhyablocks/p-bdf0077f.js +1 -0
- package/dist/sankhyablocks/p-c3ec6642.js +19 -0
- package/dist/sankhyablocks/p-c6a97fda.entry.js +1 -0
- package/dist/sankhyablocks/{p-91a9abb6.entry.js → p-c8043a53.entry.js} +1 -1
- package/dist/sankhyablocks/p-c860552e.entry.js +1 -0
- package/dist/sankhyablocks/{p-c3dbf441.entry.js → p-cc64239c.entry.js} +1 -1
- package/dist/sankhyablocks/{p-471b34f4.entry.js → p-cd00a3d1.entry.js} +1 -1
- package/dist/sankhyablocks/{p-4c763b10.entry.js → p-d657f71f.entry.js} +1 -1
- package/dist/sankhyablocks/p-d70de708.entry.js +1 -0
- package/dist/sankhyablocks/p-da455c82.js +12 -0
- package/dist/sankhyablocks/{p-1c2971e4.js → p-e0a6818c.js} +1 -1
- package/dist/sankhyablocks/p-e0e3914e.entry.js +1 -0
- package/dist/sankhyablocks/p-e30acdca.entry.js +1 -0
- package/dist/sankhyablocks/p-ebce5394.entry.js +1 -0
- package/dist/sankhyablocks/p-ee56dda6.entry.js +1 -0
- package/dist/sankhyablocks/p-ef9343c3.entry.js +1 -0
- package/dist/sankhyablocks/{p-667cab42.entry.js → p-f152ef98.entry.js} +1 -1
- package/dist/sankhyablocks/p-f4ac3b50.entry.js +1 -0
- package/dist/sankhyablocks/{p-7e250432.entry.js → p-f7170e10.entry.js} +1 -1
- package/dist/sankhyablocks/{p-7345782c.entry.js → p-f921270b.entry.js} +1 -1
- package/dist/sankhyablocks/p-fc5e95f4.entry.js +1 -0
- package/dist/sankhyablocks/p-fce86770.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-application/snk-application.d.ts +1 -1
- package/dist/types/components/snk-crud/snk-crud.d.ts +10 -0
- package/dist/types/components/snk-crud/subcomponents/snk-form-view.d.ts +12 -0
- package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +24 -0
- package/dist/types/components/snk-custom-slot-guide/snk-custom-slot-guide.d.ts +16 -0
- package/dist/types/components/snk-data-unit/snk-data-unit.d.ts +1 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-number.d.ts +1 -1
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-period.d.ts +1 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +1 -1
- package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +2 -1
- package/dist/types/components/snk-form-config/FormConfigHelper.d.ts +6 -1
- package/dist/types/components/snk-form-config/SnkFormConfigManager.d.ts +1 -1
- package/dist/types/components/snk-form-config/fields-layout/fields-layout.d.ts +2 -2
- package/dist/types/components/snk-form-config/guides-configurator/guides-configurator.d.ts +1 -1
- package/dist/types/components/snk-form-config/snk-form-config.d.ts +9 -2
- package/dist/types/components/snk-grid/snk-grid.d.ts +2 -0
- package/dist/types/components/snk-image-input/snk-image-input.d.ts +56 -0
- package/dist/types/components/snk-image-input/utils/ImageUtils.d.ts +15 -0
- package/dist/types/components/snk-personalized-filter/interfaces/IParameter.d.ts +1 -0
- package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +0 -1
- package/dist/types/components/snk-simple-crud/snk-simple-crud.d.ts +4 -1
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +6 -3
- package/dist/types/components.d.ts +164 -1
- package/dist/types/lib/message/resources/en-us/snk-image-input.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/es-es/snk-image-input.msg.d.ts +1 -0
- package/dist/types/lib/message/resources/pt-br/snk-image-input.msg.d.ts +1 -0
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/sankhyablocks/p-093f58fa.entry.js +0 -1
- package/dist/sankhyablocks/p-0e279e7a.js +0 -1
- package/dist/sankhyablocks/p-11346b8d.entry.js +0 -1
- package/dist/sankhyablocks/p-1858c023.entry.js +0 -1
- package/dist/sankhyablocks/p-26e0f63c.entry.js +0 -1
- package/dist/sankhyablocks/p-34df7eca.entry.js +0 -1
- package/dist/sankhyablocks/p-34f447ba.entry.js +0 -1
- package/dist/sankhyablocks/p-38e56b68.entry.js +0 -1
- package/dist/sankhyablocks/p-3abeeefa.entry.js +0 -1
- package/dist/sankhyablocks/p-3d021bef.entry.js +0 -1
- package/dist/sankhyablocks/p-3ed04f0d.entry.js +0 -1
- package/dist/sankhyablocks/p-44939a0e.entry.js +0 -1
- package/dist/sankhyablocks/p-5304753a.js +0 -60
- package/dist/sankhyablocks/p-557368df.entry.js +0 -1
- package/dist/sankhyablocks/p-55798617.js +0 -1
- package/dist/sankhyablocks/p-583151c5.entry.js +0 -1
- package/dist/sankhyablocks/p-60dd1d27.entry.js +0 -1
- package/dist/sankhyablocks/p-6180de07.entry.js +0 -1
- package/dist/sankhyablocks/p-80014119.entry.js +0 -1
- package/dist/sankhyablocks/p-8a88690f.entry.js +0 -1
- package/dist/sankhyablocks/p-8f73da95.js +0 -1
- package/dist/sankhyablocks/p-988afe78.js +0 -1
- package/dist/sankhyablocks/p-a2ed1ebd.entry.js +0 -1
- package/dist/sankhyablocks/p-a5108625.entry.js +0 -1
- package/dist/sankhyablocks/p-a644a956.js +0 -1
- package/dist/sankhyablocks/p-ae108ffd.entry.js +0 -11
- package/dist/sankhyablocks/p-b4322b87.entry.js +0 -1
- package/dist/sankhyablocks/p-b7e891cc.entry.js +0 -1
- package/dist/sankhyablocks/p-b987e15d.js +0 -1
- package/dist/sankhyablocks/p-bb2f5f38.js +0 -1
- package/dist/sankhyablocks/p-d8d8169b.js +0 -2
- package/dist/sankhyablocks/p-d9c54991.js +0 -1
- package/dist/sankhyablocks/p-e9021f79.entry.js +0 -1
- package/dist/sankhyablocks/p-f8f29e1a.entry.js +0 -1
|
@@ -24,6 +24,7 @@ export declare class SnkGuidesViewer {
|
|
|
24
24
|
private _guideBuilders;
|
|
25
25
|
private _container;
|
|
26
26
|
private _keyboardManager;
|
|
27
|
+
private _viewStack;
|
|
27
28
|
/**
|
|
28
29
|
* Instância do DataUnit master.
|
|
29
30
|
*/
|
|
@@ -97,6 +98,10 @@ export declare class SnkGuidesViewer {
|
|
|
97
98
|
* Fornece uma função para obter um título customizado do formulário.
|
|
98
99
|
*/
|
|
99
100
|
getCustomTitle: () => string;
|
|
101
|
+
/**
|
|
102
|
+
* Fornece as informações das guias personalizadas.
|
|
103
|
+
*/
|
|
104
|
+
customGuidesConfig?: Array<CustomGuideItem>;
|
|
100
105
|
_hasToCreateFieldSearch: boolean;
|
|
101
106
|
_breadcrumbItems: Array<IBreadcrumbItem>;
|
|
102
107
|
_guides: Array<IGuideItem>;
|
|
@@ -108,6 +113,7 @@ export declare class SnkGuidesViewer {
|
|
|
108
113
|
private _fieldsProps;
|
|
109
114
|
private _mainForm;
|
|
110
115
|
observeDataUnit(): void;
|
|
116
|
+
observeFormConfigManager(value: any): Promise<void>;
|
|
111
117
|
observeDataState(newValue: DataState, oldValue: DataState): void;
|
|
112
118
|
observeMasterFormConfig(): void;
|
|
113
119
|
/**
|
|
@@ -136,10 +142,18 @@ export declare class SnkGuidesViewer {
|
|
|
136
142
|
* Recarrega os guias baseada nos metadados atuais.
|
|
137
143
|
*/
|
|
138
144
|
reloadGuides(): Promise<void>;
|
|
145
|
+
/**
|
|
146
|
+
* Emitido quando a uma gua é exibida no formulário.
|
|
147
|
+
*/
|
|
148
|
+
snkShowGuide: EventEmitter<string>;
|
|
139
149
|
/**
|
|
140
150
|
* Emitido quando a configuração do formulário master é definida.
|
|
141
151
|
*/
|
|
142
152
|
snkMasterFormConfigChange: EventEmitter<IFormConfig>;
|
|
153
|
+
/**
|
|
154
|
+
* Emitido quando a visibilidade do configurador do formulário é alterada.
|
|
155
|
+
*/
|
|
156
|
+
formConfigVisibilityChanged: EventEmitter<boolean>;
|
|
143
157
|
/**
|
|
144
158
|
* Emitido quando o botão de voltar é acionado.
|
|
145
159
|
*/
|
|
@@ -181,6 +195,10 @@ export declare class SnkGuidesViewer {
|
|
|
181
195
|
private wrapDetail;
|
|
182
196
|
private getDataUnitName;
|
|
183
197
|
private getContent;
|
|
198
|
+
private buildFormViewGuideContent;
|
|
199
|
+
private isDetailGuide;
|
|
200
|
+
private buildDetailGuideContent;
|
|
201
|
+
private isCustomGuide;
|
|
184
202
|
private onBreadcrumbClickHandler;
|
|
185
203
|
private updateSelectedGuideHandler;
|
|
186
204
|
private changeGuideHandler;
|
|
@@ -212,11 +230,16 @@ export declare class SnkGuidesViewer {
|
|
|
212
230
|
private getTitle;
|
|
213
231
|
private getTitleTooltip;
|
|
214
232
|
private buildRecordIdsArray;
|
|
233
|
+
private getCustomGuidesConfig;
|
|
215
234
|
componentDidLoad(): void;
|
|
216
235
|
disconnectedCallback(): void;
|
|
217
236
|
private initKeyboardManager;
|
|
237
|
+
private renderFormConfig;
|
|
238
|
+
private renderGuidesNavigator;
|
|
218
239
|
render(): any;
|
|
219
240
|
}
|
|
241
|
+
export interface CustomGuideItem extends IGuideItem {
|
|
242
|
+
}
|
|
220
243
|
interface BuildFixedFormParams {
|
|
221
244
|
formConfig: IFormConfig;
|
|
222
245
|
formMetadata: FormMetadata;
|
|
@@ -228,5 +251,6 @@ interface BuildFixedFormParams {
|
|
|
228
251
|
onRequestClearFieldToFocus?: Function;
|
|
229
252
|
propsCustomEditor: PropsCustomEditor;
|
|
230
253
|
fieldsProps: object;
|
|
254
|
+
entityPath?: string;
|
|
231
255
|
}
|
|
232
256
|
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class SnkCustomSlotGuide {
|
|
3
|
+
_element: HTMLElement;
|
|
4
|
+
/**
|
|
5
|
+
* Nome do slot onde os elementos customizados deverão aparecer.
|
|
6
|
+
*/
|
|
7
|
+
slotName: string;
|
|
8
|
+
onGuideChange(evt: CustomEvent): void;
|
|
9
|
+
onFormConfigVisibilityChange(evt: CustomEvent): void;
|
|
10
|
+
/**
|
|
11
|
+
* Emitido quando elemento é carregado na tela.
|
|
12
|
+
*/
|
|
13
|
+
snkCustomSlotGuideLoaded: EventEmitter<string>;
|
|
14
|
+
componentDidLoad(): void;
|
|
15
|
+
render(): any;
|
|
16
|
+
}
|
|
@@ -16,6 +16,7 @@ export declare class SnkDataUnit implements DUActionInterceptor {
|
|
|
16
16
|
_metadataByRow: Map<string, any>;
|
|
17
17
|
_rowMetadataCache: Map<string, any>;
|
|
18
18
|
_formFieldsConfig: IFieldConfig[];
|
|
19
|
+
_internalDataStateChange: boolean;
|
|
19
20
|
REGEX_DATAUNIT_NAME: RegExp;
|
|
20
21
|
element: HTMLSnkDataUnitElement;
|
|
21
22
|
fieldsToLink: Array<string>;
|
|
@@ -32,7 +32,7 @@ export declare class SnkFilterPeriod {
|
|
|
32
32
|
/**
|
|
33
33
|
* Emitido quando acontece a alteração de valor do componente snk-filter-number
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
ezInputListener(evt: CustomEvent<number>): void;
|
|
36
36
|
/**
|
|
37
37
|
* Emitido quando o valor do filtro é alterado.
|
|
38
38
|
*/
|
|
@@ -36,7 +36,7 @@ export declare class SnkFilterItem {
|
|
|
36
36
|
/**
|
|
37
37
|
* Emitido quando o estado do filtro é alterado.
|
|
38
38
|
*/
|
|
39
|
-
filterChangeListener(): void;
|
|
39
|
+
filterChangeListener(event: CustomEvent<SnkFilterItemConfig>): void;
|
|
40
40
|
/**
|
|
41
41
|
* Exibe os detalhes de um item da lista.
|
|
42
42
|
*/
|
|
@@ -4,6 +4,7 @@ export declare class SnkFilterModal {
|
|
|
4
4
|
private _modalTitle;
|
|
5
5
|
private _cancelButtonLabel;
|
|
6
6
|
private _okButtonLabel;
|
|
7
|
+
private _isUserSup;
|
|
7
8
|
private _defaultFilter;
|
|
8
9
|
private _application;
|
|
9
10
|
private filters;
|
|
@@ -94,7 +95,7 @@ export declare class SnkFilterModal {
|
|
|
94
95
|
private handleActionSelectedDefaultFilter;
|
|
95
96
|
getCustomFilter(filters: SnkFilterItemConfig[]): SnkFilterItemConfig[];
|
|
96
97
|
getDefaultFilter(filters: SnkFilterItemConfig[]): SnkFilterItemConfig;
|
|
97
|
-
componentWillLoad(): void
|
|
98
|
+
componentWillLoad(): Promise<void>;
|
|
98
99
|
componentWillRender(): void;
|
|
99
100
|
componentDidLoad(): void;
|
|
100
101
|
render(): any;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { IFieldConfig } from '@sankhyalabs/ezui/src/utils/interfaces/IFieldConfig';
|
|
2
1
|
import { DataUnit, FieldDescriptor, UserInterface } from '@sankhyalabs/core';
|
|
3
2
|
import { IFormConfig } from '@sankhyalabs/ezui/src/utils/form/interfaces';
|
|
3
|
+
import { IFieldConfig } from '@sankhyalabs/ezui/src/utils/interfaces/IFieldConfig';
|
|
4
|
+
import { CustomGuideItem } from "../snk-crud/subcomponents/snk-guides-viewer";
|
|
4
5
|
export declare const ID_AVAILABLE_FIELDS = "container-available-fields";
|
|
5
6
|
export interface IGuideConfig {
|
|
6
7
|
label: string;
|
|
7
8
|
name?: string;
|
|
8
9
|
visible: boolean;
|
|
9
10
|
order: number;
|
|
11
|
+
isCustom?: boolean;
|
|
12
|
+
isDetail?: boolean;
|
|
10
13
|
}
|
|
11
14
|
export interface IGroupConfig {
|
|
12
15
|
name?: string;
|
|
@@ -29,3 +32,5 @@ export declare function buildNewGuideName(guidesList: IGuideConfig[], getMessage
|
|
|
29
32
|
export declare function getFieldsToSave(guidesMap: Map<string, IGroupConfig[]>): IFieldConfig[];
|
|
30
33
|
export declare function buildGuidesMap(rawFields: IFieldConfig[], tabs: IGuideConfig[], dataUnit: DataUnit, generalTab: string): Map<string, IGroupConfig[]>;
|
|
31
34
|
export declare function buildGuides(config: IFormConfig, mainArea: string): IGuideConfig[];
|
|
35
|
+
export declare function buildChildrenGuides(dataUnit: DataUnit, initialOrderIndex: number, guidesList: IGuideConfig[]): IGuideConfig[];
|
|
36
|
+
export declare function buildCustomGuides(customGuidesList: CustomGuideItem[], guidesList: IGuideConfig[]): IGuideConfig[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IFormCardConfig, IFormConfig } from '@sankhyalabs/ezui/dist/types/utils/form/interfaces';
|
|
2
1
|
import { DataUnit } from '@sankhyalabs/core';
|
|
2
|
+
import { IFormCardConfig, IFormConfig } from '@sankhyalabs/ezui/dist/types/utils/form/interfaces';
|
|
3
3
|
import { IUserConfig } from '../../lib/http/data-fetcher/fetchers/form-config-fetcher';
|
|
4
4
|
export declare class SnkFormConfigManager {
|
|
5
5
|
private _config;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
1
|
import { DataUnit } from '@sankhyalabs/core';
|
|
3
|
-
import { IGroupConfig, IGuideConfig } from '../FormConfigHelper';
|
|
4
2
|
import { IFieldConfig } from '@sankhyalabs/ezui/src/utils/interfaces/IFieldConfig';
|
|
3
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
5
4
|
import { SnkMessageBuilder } from '../../../lib/message/SnkMessageBuilder';
|
|
5
|
+
import { IGroupConfig, IGuideConfig } from '../FormConfigHelper';
|
|
6
6
|
export declare class FieldLayoutComponent {
|
|
7
7
|
private readonly ID_GROUPS;
|
|
8
8
|
private readonly ID_FIELDS;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
2
|
import Sortable from 'sortablejs';
|
|
3
|
-
import { IGuideConfig } from '../FormConfigHelper';
|
|
4
3
|
import { SnkMessageBuilder } from '../../../lib/message/SnkMessageBuilder';
|
|
4
|
+
import { IGuideConfig } from '../FormConfigHelper';
|
|
5
5
|
export declare class GuidesConfigurator {
|
|
6
6
|
private readonly ID_VISIBLE_GUIDES;
|
|
7
7
|
private readonly ID_HIDDEN_GUIDES;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { SnkMessageBuilder } from '../../lib/message/SnkMessageBuilder';
|
|
3
1
|
import { DataUnit } from '@sankhyalabs/core';
|
|
4
2
|
import { IFormConfig } from '@sankhyalabs/ezui/dist/types/utils/form/interfaces';
|
|
3
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
4
|
+
import { SnkMessageBuilder } from '../../lib/message/SnkMessageBuilder';
|
|
5
|
+
import { CustomGuideItem } from "../snk-crud/subcomponents/snk-guides-viewer";
|
|
5
6
|
import { IGuideConfig } from './FormConfigHelper';
|
|
6
7
|
import { SnkFormConfigManager } from './SnkFormConfigManager';
|
|
7
8
|
export declare class SnkFormConfig {
|
|
@@ -33,6 +34,10 @@ export declare class SnkFormConfig {
|
|
|
33
34
|
* Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção.
|
|
34
35
|
*/
|
|
35
36
|
messagesBuilder: SnkMessageBuilder;
|
|
37
|
+
/**
|
|
38
|
+
* Informações das guias personalizadas.
|
|
39
|
+
*/
|
|
40
|
+
customGuidesConfig?: Array<CustomGuideItem>;
|
|
36
41
|
/**
|
|
37
42
|
* Emitido ao fechar as configurações.
|
|
38
43
|
*/
|
|
@@ -49,6 +54,7 @@ export declare class SnkFormConfig {
|
|
|
49
54
|
observeSelectedGuide(guide: IGuideConfig): void;
|
|
50
55
|
observeConfigManager(): void;
|
|
51
56
|
private showNoGuideSelectedDialog;
|
|
57
|
+
private showCanNotAddFieldToGuideDialog;
|
|
52
58
|
/**
|
|
53
59
|
* Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
|
|
54
60
|
* através de um pequeno modulo na estrutura da aplicação:
|
|
@@ -62,6 +68,7 @@ export declare class SnkFormConfig {
|
|
|
62
68
|
private isConfigDefaultSelected;
|
|
63
69
|
private loadFormConfig;
|
|
64
70
|
private initializeAvailableFields;
|
|
71
|
+
private getInitialOrder;
|
|
65
72
|
private loadGuides;
|
|
66
73
|
private getConfig;
|
|
67
74
|
private handleSelectGuide;
|
|
@@ -44,6 +44,7 @@ export declare class SnkGrid {
|
|
|
44
44
|
_popUpGridConfig: boolean;
|
|
45
45
|
_showSnkFilterBar: boolean;
|
|
46
46
|
_enableContinuousInsert: boolean;
|
|
47
|
+
_filterMode: 'regular' | 'button';
|
|
47
48
|
_application: SnkApplication;
|
|
48
49
|
/**
|
|
49
50
|
* Define o data source para o filtro de colunas.
|
|
@@ -331,6 +332,7 @@ export declare class SnkGrid {
|
|
|
331
332
|
private interceptMetadataLoaded;
|
|
332
333
|
private interceptLoadData;
|
|
333
334
|
private dataUnitInterceptor;
|
|
335
|
+
private initializeColumnFilterDataSource;
|
|
334
336
|
private finishLoading;
|
|
335
337
|
private setCustomRenders;
|
|
336
338
|
private setCustomEditors;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { DataUnit } from '@sankhyalabs/core';
|
|
2
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
3
|
+
export declare class SnkImageInput {
|
|
4
|
+
private application;
|
|
5
|
+
private messagesBuilder?;
|
|
6
|
+
/**
|
|
7
|
+
* DataUnit associado ao componente
|
|
8
|
+
*/
|
|
9
|
+
dataUnit?: DataUnit;
|
|
10
|
+
/**
|
|
11
|
+
* Nome do campo no DataUnit
|
|
12
|
+
*/
|
|
13
|
+
fieldName: string;
|
|
14
|
+
/**
|
|
15
|
+
* Nome da entidade (usado quando não há DataUnit)
|
|
16
|
+
*/
|
|
17
|
+
entityName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Define se está habilitado
|
|
20
|
+
*/
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Tipos MIME aceitos (separados por vírgula)
|
|
24
|
+
*/
|
|
25
|
+
acceptType?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Tamanho máximo do arquivo em KB
|
|
28
|
+
*/
|
|
29
|
+
maxSize?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Label do componente
|
|
32
|
+
*/
|
|
33
|
+
label?: string;
|
|
34
|
+
private imageValue;
|
|
35
|
+
private loading;
|
|
36
|
+
/**
|
|
37
|
+
* Evento disparado quando há erro
|
|
38
|
+
*/
|
|
39
|
+
imageError: EventEmitter<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Força o reload da imagem
|
|
42
|
+
*/
|
|
43
|
+
reloadImage(pks?: Record<string, any>): Promise<void>;
|
|
44
|
+
private getMessage;
|
|
45
|
+
private clearImage;
|
|
46
|
+
private handleImageChange;
|
|
47
|
+
private updatedataUnitField;
|
|
48
|
+
private handleImageError;
|
|
49
|
+
private getPksFromDataUnit;
|
|
50
|
+
private loadImage;
|
|
51
|
+
private dataUnitObserver;
|
|
52
|
+
componentWillLoad(): Promise<void>;
|
|
53
|
+
disconnectedCallback(): void;
|
|
54
|
+
componentDidLoad(): Promise<void>;
|
|
55
|
+
render(): any;
|
|
56
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DataUnit } from "@sankhyalabs/core";
|
|
2
|
+
export declare function base64ToBlob(base64: string): Promise<Blob>;
|
|
3
|
+
export declare function buildFileKey(entityName: string, fieldName: string): string;
|
|
4
|
+
/**
|
|
5
|
+
* Faz upload de arquivo para a sessão usando XMLHttpRequest
|
|
6
|
+
* Baseado no método uploadSessionFile do sessionfileupload.service.js
|
|
7
|
+
*/
|
|
8
|
+
export declare function sessionFileUpload(blob: Blob, entityName: string, fieldName: string, onProgress?: (event: ProgressEvent) => void): Promise<string>;
|
|
9
|
+
export declare function getUrlBase(): string;
|
|
10
|
+
export declare function getBaseUrl(pk: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}, entityName: string, fieldName: string): string | undefined;
|
|
13
|
+
export declare function getPKs(dataUnit: DataUnit): Record<string, any> | undefined;
|
|
14
|
+
export declare function imageBlobToBase64(blob: Blob): Promise<string>;
|
|
15
|
+
export declare function downloadImage(pks: Record<string, any>, fieldName: string, entityName: string): Promise<string>;
|
|
@@ -97,7 +97,6 @@ export declare class SnkPesquisa {
|
|
|
97
97
|
* Útil para cenários onde a pesquisa precisa ser disparada sem interação do usuário.
|
|
98
98
|
*
|
|
99
99
|
* @param text Texto utilizado como argumento de pesquisa.
|
|
100
|
-
* @returns Promise<void>
|
|
101
100
|
* @example
|
|
102
101
|
* await pesquisaRef.executeSearch("Texto para pesquisa");
|
|
103
102
|
*/
|
|
@@ -183,6 +183,10 @@ export declare class SnkSimpleCrud {
|
|
|
183
183
|
* @description Define se o LayoutFormConfig será exibido no configurador.
|
|
184
184
|
*/
|
|
185
185
|
layoutFormConfig: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Desabilita a edição na grade.
|
|
188
|
+
*/
|
|
189
|
+
disableGridEdition: boolean;
|
|
186
190
|
/**
|
|
187
191
|
* @description Registra um editor customizado para campos da grade e do formulário.
|
|
188
192
|
* @param {string} fieldName - O nome do campo.
|
|
@@ -235,7 +239,6 @@ export declare class SnkSimpleCrud {
|
|
|
235
239
|
private getButtons;
|
|
236
240
|
private addConfigButton;
|
|
237
241
|
private get application();
|
|
238
|
-
resolveInMemoryBtns(taskbarButtons: Array<string>): Array<string>;
|
|
239
242
|
/**
|
|
240
243
|
* @description Usado para alternar a visão entre GRID e FORM externamente.
|
|
241
244
|
* @param {VIEW_MODE} view - A visão para a qual navegar.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DataUnit, OverflowWatcher } from '@sankhyalabs/core';
|
|
2
|
+
import { IAction } from '@sankhyalabs/ezui/dist/types/utils';
|
|
2
3
|
import { EventEmitter, VNode } from '../../stencil-public-runtime';
|
|
4
|
+
import { PresentationMode } from '../../lib/@types';
|
|
5
|
+
import { SnkMessageBuilder } from '../../lib/message/SnkMessageBuilder';
|
|
3
6
|
import { SnkApplication } from '../snk-application/snk-application';
|
|
4
7
|
import { DataState } from '../snk-data-unit/snk-data-unit';
|
|
5
8
|
import { TaskbarElement } from './elements/taskbar-elements';
|
|
6
|
-
import { PresentationMode } from '../../lib/@types';
|
|
7
|
-
import { SnkMessageBuilder } from '../../lib/message/SnkMessageBuilder';
|
|
8
|
-
import { IAction } from '@sankhyalabs/ezui/dist/types/utils';
|
|
9
9
|
export declare class SnkTaskbar {
|
|
10
10
|
readonly TASKBAR_ITEM_ID_PREFIX = "TASKBAR_ITEM_";
|
|
11
11
|
readonly TASKBAR_CUSTOM_ELEMENTS_CONTAINER_CLASS_NAME = "taskbar-custom-elements-container";
|
|
@@ -16,6 +16,7 @@ export declare class SnkTaskbar {
|
|
|
16
16
|
_application: SnkApplication;
|
|
17
17
|
_definitions: Array<string>;
|
|
18
18
|
_overFlowWatcher: OverflowWatcher;
|
|
19
|
+
_dataUnitInitialized: boolean;
|
|
19
20
|
private _element;
|
|
20
21
|
_permissions: any;
|
|
21
22
|
_overFlowedElements: HTMLElement[];
|
|
@@ -133,6 +134,8 @@ export declare class SnkTaskbar {
|
|
|
133
134
|
observeDisabledButtons(): void;
|
|
134
135
|
observeLastWidth(newValue: any, oldValue: any): void;
|
|
135
136
|
observeIsWaitingForSave(newValue: any, oldValue: any): void;
|
|
137
|
+
observeDataUnit(newValue: DataUnit): void;
|
|
138
|
+
initializeDataUnit(dataUnit: DataUnit): void;
|
|
136
139
|
elementsFromString(strButtons: string): Array<TaskbarElement>;
|
|
137
140
|
private isAllowed;
|
|
138
141
|
/**
|