@sankhyalabs/sankhyablocks 0.0.0-bugfix-dev-KB-131882.2 → 0.0.0-bugfix-dev-KB-174860.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +4 -1
- package/dist/cjs/{ConfigStorage-d9d24844.js → ConfigStorage-156bfcac.js} +19 -2
- package/dist/cjs/ContinuousInsertUtils-1ae0c6ac.js +41 -0
- package/dist/cjs/{DataFetcher-3a8ea521.js → DataFetcher-d13b4637.js} +2803 -2
- package/dist/cjs/FormConfigHelper-c5f5473a.js +342 -0
- package/dist/cjs/{ISave-a66bb65e.js → ISave-55d9dcc3.js} +1 -1
- package/dist/cjs/{ImageUtils-5e3f406b.js → ImageUtils-d6139911.js} +5 -3
- package/dist/cjs/{PersonalizedFilterUtils-eccb267a.js → PersonalizedFilterUtils-263e4d24.js} +52 -5
- package/dist/cjs/{SnkFormConfigManager-c88cf1e9.js → SnkFormConfigManager-5cb9a39c.js} +2 -2
- package/dist/cjs/{SnkMultiSelectionListDataSource-f53b60c4.js → SnkMultiSelectionListDataSource-5c5badfc.js} +146 -74
- package/dist/cjs/{auth-fetcher-faa61f64.js → auth-fetcher-d1715459.js} +1 -1
- package/dist/cjs/{dataunit-fetcher-6febd6c4.js → dataunit-fetcher-fae710c5.js} +68 -110
- package/dist/cjs/fields-layout.cjs.entry.js +1 -1
- package/dist/cjs/fields-selector.cjs.entry.js +1 -1
- package/dist/cjs/{filter-type.enum-2bb46d2a.js → filter-type.enum-b3b388af.js} +7 -0
- package/dist/cjs/{form-config-fetcher-72cf0e3d.js → form-config-fetcher-bbebdcb8.js} +41 -5
- package/dist/cjs/guides-configurator.cjs.entry.js +2 -2
- package/dist/cjs/index-1894343a.js +28 -40
- package/dist/cjs/{index-e3e39724.js → index-bc950921.js} +6 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +5 -6
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/{snk-actions-button_8.cjs.entry.js → snk-actions-button_9.cjs.entry.js} +151 -63
- package/dist/cjs/snk-application.cjs.entry.js +8 -9
- package/dist/cjs/snk-attach_11.cjs.entry.js +2958 -0
- package/dist/cjs/snk-configurator.cjs.entry.js +2 -0
- package/dist/cjs/snk-crud.cjs.entry.js +140 -99
- package/dist/cjs/snk-data-exporter.cjs.entry.js +61 -16
- package/dist/cjs/{snk-data-unit-94757628.js → snk-data-unit-32237a2d.js} +11 -11
- package/dist/cjs/snk-data-unit.cjs.entry.js +3 -4
- package/dist/cjs/snk-detail-view.cjs.entry.js +28 -20
- package/dist/cjs/snk-dynaform-config-header_5.cjs.entry.js +739 -0
- package/dist/cjs/snk-dynaform-detail-view_2.cjs.entry.js +961 -0
- package/dist/cjs/snk-dynaform-field-config_2.cjs.entry.js +327 -0
- package/dist/cjs/snk-dynaform-guides-view-2c7c6ce4.js +1094 -0
- package/dist/cjs/snk-dynaform-guides-view.cjs.entry.js +23 -0
- package/dist/cjs/snk-dynaform.cjs.entry.js +679 -0
- package/dist/cjs/snk-entity-search.cjs.entry.js +211 -0
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
- package/dist/cjs/{snk-expression-group_2.cjs.entry.js → snk-expression-group_4.cjs.entry.js} +421 -18
- package/dist/cjs/snk-filter-bar_4.cjs.entry.js +137 -121
- package/dist/cjs/snk-filter-search.cjs.entry.js +10 -0
- package/dist/cjs/snk-form-view.cjs.entry.js +1 -4
- package/dist/cjs/snk-form_2.cjs.entry.js +4 -5
- package/dist/cjs/snk-grid.cjs.entry.js +53 -21
- package/dist/cjs/{snk-guides-viewer-315f8580.js → snk-guides-viewer-67b9cca9.js} +38 -161
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +8 -17
- package/dist/cjs/snk-layout-form-config.cjs.entry.js +5 -6
- package/dist/cjs/snk-pesquisa.cjs.entry.js +5 -6
- package/dist/cjs/snk-taskbar.cjs.entry.js +182 -125
- package/dist/cjs/{sortable.esm-9a110bb7.js → sortable.esm-b87669ab.js} +76 -90
- package/dist/cjs/taskbar-elements-25f800b3.js +152 -0
- package/dist/cjs/taskbarUtils-99aaa01f.js +236 -0
- package/dist/collection/collection-manifest.json +19 -0
- package/dist/collection/components/snk-actions-button/actions/executor/launch-screen.executor.js +6 -3
- package/dist/collection/components/snk-actions-button/snk-actions-button.js +30 -6
- package/dist/collection/components/snk-attach/snk-attach.css +29 -7
- package/dist/collection/components/snk-attach/snk-attach.js +93 -18
- package/dist/collection/components/snk-configurator/snk-configurator.js +2 -0
- package/dist/collection/components/snk-crud/snk-crud.css +55 -0
- package/dist/collection/components/snk-crud/snk-crud.js +147 -94
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.css +4 -1
- package/dist/collection/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.js +18 -7
- package/dist/collection/components/snk-crud/subcomponents/snk-entity-search.css +17 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-entity-search.js +330 -0
- package/dist/collection/components/snk-crud/subcomponents/snk-form-view.js +0 -3
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.css +22 -8
- package/dist/collection/components/snk-crud/subcomponents/snk-guides-viewer.js +36 -152
- package/dist/collection/components/snk-crud/utils/taskbarUtils.js +163 -0
- package/dist/collection/components/snk-data-exporter/exporter-email-sender/snk-exporter-email-sender.js +1 -1
- package/dist/collection/components/snk-data-exporter/exporter-strategy/ClientSideExporterStrategy.js +2 -2
- package/dist/collection/components/snk-data-exporter/interfaces/IExporterProvider.js +78 -23
- package/dist/collection/components/snk-data-exporter/snk-data-exporter.js +28 -5
- package/dist/collection/components/snk-data-exporter/structure/ItemBuilder.js +43 -2
- package/dist/collection/components/snk-dynaform/interfaces/PropsCustomEditor.js +1 -0
- package/dist/collection/components/snk-dynaform/interfaces/PropsCustomRender.js +1 -0
- package/dist/collection/components/snk-dynaform/snk-dynaform.css +69 -0
- package/dist/collection/components/snk-dynaform/snk-dynaform.js +1661 -0
- package/dist/collection/components/snk-dynaform/subcomponents/CardFormResizeObserver.js +26 -0
- package/dist/collection/components/snk-dynaform/subcomponents/GuideBuilder.js +51 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-detail-view/snk-dynaform-detail-view.css +182 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-detail-view/snk-dynaform-detail-view.js +1015 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-form-view/snk-dynaform-form-view.css +98 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-form-view/snk-dynaform-form-view.js +590 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-guides-view/snk-dynaform-guides-view.css +321 -0
- package/dist/collection/components/snk-dynaform/subcomponents/snk-dynaform-guides-view/snk-dynaform-guides-view.js +1587 -0
- package/dist/collection/components/snk-dynaform-form-config/FormConfigHelper.js +325 -0
- package/dist/collection/components/snk-dynaform-form-config/SnkFormConfigManager.js +219 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-config-header.css +17 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-config-header.js +236 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-configs-button/snk-dynaform-configs-button.css +41 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-configs-button/snk-dynaform-configs-button.js +170 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-config/snk-dynaform-field-config.css +22 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-config/snk-dynaform-field-config.js +408 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-item.css +88 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-item.js +209 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-layout/snk-dynaform-fields-layout.css +167 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-layout/snk-dynaform-fields-layout.js +655 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-selector/snk-dynaform-fields-selector.css +42 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-fields-selector/snk-dynaform-fields-selector.js +171 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-form-config.css +66 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-form-config.js +557 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-guides-configurator/snk-dynaform-guides-configurator.css +80 -0
- package/dist/collection/components/snk-dynaform-form-config/snk-dynaform-guides-configurator/snk-dynaform-guides-configurator.js +326 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-search.js +30 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +9 -3
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.css +2 -2
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +24 -4
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.css +6 -1
- package/dist/collection/components/snk-filter-bar/filter-modal/snk-filter-modal.js +8 -5
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +1 -6
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +148 -77
- package/dist/collection/components/snk-form-config/guides-configurator/guides-configurator.css +0 -1
- package/dist/collection/components/snk-grid/snk-grid.css +21 -5
- package/dist/collection/components/snk-grid/snk-grid.js +161 -7
- package/dist/collection/components/snk-grid-config/snk-grid-config.js +111 -44
- package/dist/collection/components/snk-image-input/snk-image-input.js +15 -3
- package/dist/collection/components/snk-image-input/utils/ImageUtils.js +5 -3
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +1 -1
- package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.css +8 -0
- package/dist/collection/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.js +38 -2
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +51 -35
- package/dist/collection/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.js +27 -1
- package/dist/collection/components/snk-taskbar/processor/simple-taskbar-processor.js +55 -0
- package/dist/collection/components/snk-taskbar/snk-taskbar.css +44 -1
- package/dist/collection/components/snk-taskbar/snk-taskbar.js +248 -132
- package/dist/collection/components/snk-taskbar/subcomponents/snk-taskbar-skeleton.css +12 -0
- package/dist/collection/components/snk-taskbar/subcomponents/snk-taskbar-skeleton.js +19 -0
- package/dist/collection/lib/@types/index.js +6 -0
- package/dist/collection/lib/configs/ConfigStorage.js +5 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/DataUnitDataLoader.js +1 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.js +51 -4
- package/dist/collection/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.js +15 -104
- package/dist/collection/lib/http/data-fetcher/fetchers/form-config-fetcher.js +22 -4
- package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js +12 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/resource-fetcher.js +18 -0
- package/dist/collection/lib/message/resources/en-us/dataUnitDataLoaderHelper.msg.js +0 -13
- package/dist/collection/lib/message/resources/en-us/snk-crud.msg.js +12 -0
- package/dist/collection/lib/message/resources/es-es/dataUnitDataLoaderHelper.msg.js +0 -13
- package/dist/collection/lib/message/resources/es-es/snk-crud.msg.js +12 -0
- package/dist/collection/lib/message/resources/pt-br/dataUnitDataLoaderHelper.msg.js +0 -13
- package/dist/collection/lib/message/resources/pt-br/snk-crud.msg.js +12 -0
- package/dist/collection/lib/utils/CrudUtils.js +7 -4
- package/dist/components/ConfigStorage.js +17 -0
- package/dist/components/ContinuousInsertUtils.js +86 -28
- package/dist/components/ISave.js +6 -0
- package/dist/components/SnkMessageBuilder.js +36 -39
- package/dist/components/dataunit-fetcher.js +67 -109
- package/dist/components/form-config-fetcher.js +40 -4
- package/dist/components/guides-configurator2.js +1 -1
- package/dist/components/index.d.ts +14 -0
- package/dist/components/index.js +14 -0
- package/dist/components/snk-actions-button2.js +15 -9
- package/dist/components/snk-attach2.js +67 -26
- package/dist/components/snk-configurator2.js +2 -0
- package/dist/components/snk-crud.js +229 -175
- package/dist/components/snk-data-exporter2.js +56 -9
- package/dist/components/snk-detail-view2.js +174 -267
- package/dist/components/snk-dynaform-config-header.d.ts +11 -0
- package/dist/components/snk-dynaform-config-header.js +6 -0
- package/dist/components/snk-dynaform-config-header2.js +103 -0
- package/dist/components/snk-dynaform-configs-button.d.ts +11 -0
- package/dist/components/snk-dynaform-configs-button.js +6 -0
- package/dist/components/snk-dynaform-configs-button2.js +76 -0
- package/dist/components/snk-dynaform-detail-view.d.ts +11 -0
- package/dist/components/snk-dynaform-detail-view.js +6 -0
- package/dist/components/snk-dynaform-detail-view2.js +2213 -0
- package/dist/components/snk-dynaform-field-config.d.ts +11 -0
- package/dist/components/snk-dynaform-field-config.js +6 -0
- package/dist/components/snk-dynaform-field-config2.js +605 -0
- package/dist/components/snk-dynaform-field-item.d.ts +11 -0
- package/dist/components/snk-dynaform-field-item.js +6 -0
- package/dist/components/snk-dynaform-field-item2.js +96 -0
- package/dist/components/snk-dynaform-fields-layout.d.ts +11 -0
- package/dist/components/snk-dynaform-fields-layout.js +6 -0
- package/dist/components/snk-dynaform-fields-layout2.js +428 -0
- package/dist/components/snk-dynaform-fields-selector.d.ts +11 -0
- package/dist/components/snk-dynaform-fields-selector.js +6 -0
- package/dist/components/snk-dynaform-fields-selector2.js +104 -0
- package/dist/components/snk-dynaform-form-config.d.ts +11 -0
- package/dist/components/snk-dynaform-form-config.js +6 -0
- package/dist/components/snk-dynaform-form-config2.js +430 -0
- package/dist/components/snk-dynaform-form-view.d.ts +11 -0
- package/dist/components/snk-dynaform-form-view.js +6 -0
- package/dist/components/snk-dynaform-form-view2.js +272 -0
- package/dist/components/snk-dynaform-guides-configurator.d.ts +11 -0
- package/dist/components/snk-dynaform-guides-configurator.js +6 -0
- package/dist/components/snk-dynaform-guides-configurator2.js +173 -0
- package/dist/components/snk-dynaform-guides-view.d.ts +11 -0
- package/dist/components/snk-dynaform-guides-view.js +6 -0
- package/dist/components/snk-dynaform.d.ts +11 -0
- package/dist/components/snk-dynaform.js +1007 -0
- package/dist/components/snk-entity-search.d.ts +11 -0
- package/dist/components/snk-entity-search.js +6 -0
- package/dist/components/snk-entity-search2.js +231 -0
- package/dist/components/snk-exporter-email-sender2.js +1 -1
- package/dist/components/snk-filter-bar2.js +98 -79
- package/dist/components/snk-filter-detail2.js +9 -3
- package/dist/components/snk-filter-item2.js +5 -5
- package/dist/components/snk-filter-modal2.js +8 -5
- package/dist/components/snk-filter-search.js +12 -1
- package/dist/components/snk-form-view2.js +0 -3
- package/dist/components/snk-grid-config2.js +92 -44
- package/dist/components/snk-grid2.js +95 -50
- package/dist/components/snk-image-input2.js +20 -6
- package/dist/components/snk-personalized-filter2.js +1 -1
- package/dist/components/snk-simple-crud2.js +29 -23
- package/dist/components/snk-taskbar-skeleton.d.ts +11 -0
- package/dist/components/snk-taskbar-skeleton.js +6 -0
- package/dist/components/snk-taskbar-skeleton2.js +29 -0
- package/dist/components/snk-taskbar2.js +253 -174
- package/dist/components/sortable.esm.js +76 -90
- package/dist/components/taskbar-actions-button2.js +21 -2
- package/dist/components/taskbar-split-button2.js +10 -1
- package/dist/components/taskbarUtils.js +229 -0
- package/dist/esm/{ConfigStorage-d15d2014.js → ConfigStorage-0d1c0695.js} +19 -2
- package/dist/esm/ContinuousInsertUtils-bce77dc1.js +39 -0
- package/dist/esm/{DataFetcher-1dd7e8c0.js → DataFetcher-70de9419.js} +2803 -3
- package/dist/esm/FormConfigHelper-efc29480.js +328 -0
- package/dist/esm/{ISave-498c4831.js → ISave-f5704813.js} +1 -1
- package/dist/esm/{ImageUtils-8fc8d905.js → ImageUtils-efbea0e4.js} +5 -3
- package/dist/esm/{PersonalizedFilterUtils-d2439a9a.js → PersonalizedFilterUtils-45b5803c.js} +49 -2
- package/dist/esm/{SnkFormConfigManager-86befa68.js → SnkFormConfigManager-e7f05f79.js} +2 -2
- package/dist/esm/{SnkMultiSelectionListDataSource-6e9496f0.js → SnkMultiSelectionListDataSource-6ac291a9.js} +141 -69
- package/dist/esm/{auth-fetcher-69cbda8d.js → auth-fetcher-e34880e5.js} +1 -1
- package/dist/esm/{dataunit-fetcher-21c43ec7.js → dataunit-fetcher-d26e4a08.js} +68 -110
- package/dist/esm/fields-layout.entry.js +1 -1
- package/dist/esm/fields-selector.entry.js +1 -1
- package/dist/esm/{filter-type.enum-f6a8fe23.js → filter-type.enum-62b7fe88.js} +8 -1
- package/dist/esm/{form-config-fetcher-fcc7b62f.js → form-config-fetcher-98c42169.js} +41 -5
- package/dist/esm/guides-configurator.entry.js +2 -2
- package/dist/esm/index-04f73a26.js +28 -40
- package/dist/esm/{index-b40568ff.js → index-c6721886.js} +6 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pesquisa-grid_2.entry.js +5 -6
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/{snk-actions-button_8.entry.js → snk-actions-button_9.entry.js} +152 -65
- package/dist/esm/snk-application.entry.js +7 -8
- package/dist/esm/snk-attach_11.entry.js +2944 -0
- package/dist/esm/snk-configurator.entry.js +2 -0
- package/dist/esm/snk-crud.entry.js +140 -99
- package/dist/esm/snk-data-exporter.entry.js +61 -16
- package/dist/esm/{snk-data-unit-3b06a0f3.js → snk-data-unit-ff57ac90.js} +2 -2
- package/dist/esm/snk-data-unit.entry.js +3 -4
- package/dist/esm/snk-detail-view.entry.js +26 -18
- package/dist/esm/snk-dynaform-config-header_5.entry.js +731 -0
- package/dist/esm/snk-dynaform-detail-view_2.entry.js +956 -0
- package/dist/esm/snk-dynaform-field-config_2.entry.js +322 -0
- package/dist/esm/snk-dynaform-guides-view-0dfbefc1.js +1091 -0
- package/dist/esm/snk-dynaform-guides-view.entry.js +15 -0
- package/dist/esm/snk-dynaform.entry.js +675 -0
- package/dist/esm/snk-entity-search.entry.js +207 -0
- package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
- package/dist/esm/{snk-expression-group_2.entry.js → snk-expression-group_4.entry.js} +405 -4
- package/dist/esm/snk-filter-bar_4.entry.js +112 -96
- package/dist/esm/snk-filter-search.entry.js +10 -0
- package/dist/esm/snk-form-view.entry.js +1 -4
- package/dist/esm/snk-form_2.entry.js +4 -5
- package/dist/esm/snk-grid.entry.js +50 -18
- package/dist/esm/{snk-guides-viewer-a4e31f63.js → snk-guides-viewer-31a0a23d.js} +39 -162
- package/dist/esm/snk-guides-viewer.entry.js +8 -17
- package/dist/esm/snk-layout-form-config.entry.js +5 -6
- package/dist/esm/snk-pesquisa.entry.js +5 -6
- package/dist/esm/snk-taskbar.entry.js +183 -126
- package/dist/esm/{sortable.esm-842f85a3.js → sortable.esm-bc277c12.js} +76 -90
- package/dist/esm/taskbar-elements-ba9d6889.js +149 -0
- package/dist/esm/taskbarUtils-cb9db0d9.js +230 -0
- package/dist/sankhyablocks/{p-32ad76cc.js → p-097d75b3.js} +2 -2
- package/dist/sankhyablocks/p-0dbd53d9.js +1 -0
- package/dist/sankhyablocks/p-12579574.entry.js +1 -0
- package/dist/sankhyablocks/p-1d31aec3.entry.js +1 -0
- package/dist/sankhyablocks/{p-2cc2526e.entry.js → p-1d7d5814.entry.js} +1 -1
- package/dist/sankhyablocks/p-24b059ee.entry.js +1 -0
- package/dist/sankhyablocks/p-250b273e.entry.js +1 -0
- package/dist/sankhyablocks/p-26f1919e.entry.js +1 -0
- package/dist/sankhyablocks/p-2a83f20e.entry.js +1 -0
- package/dist/sankhyablocks/p-2c4f7fdd.entry.js +1 -0
- package/dist/sankhyablocks/p-2ec98523.js +1 -0
- package/dist/sankhyablocks/p-449dfe55.entry.js +1 -0
- package/dist/sankhyablocks/p-46d7e2de.js +1 -0
- package/dist/sankhyablocks/p-4dd574d6.js +1 -0
- package/dist/sankhyablocks/p-541c72ec.entry.js +1 -0
- package/dist/sankhyablocks/p-58709cf9.js +1 -0
- package/dist/sankhyablocks/p-5aeae67f.js +1 -0
- package/dist/sankhyablocks/p-5d50f59a.entry.js +1 -0
- package/dist/sankhyablocks/p-5ef0e9a8.entry.js +1 -0
- package/dist/sankhyablocks/p-6d3bcabf.entry.js +1 -0
- package/dist/sankhyablocks/p-6f60df43.js +1 -0
- package/dist/sankhyablocks/p-846d8f79.entry.js +1 -0
- package/dist/sankhyablocks/{p-e30acdca.entry.js → p-855ccf64.entry.js} +1 -1
- package/dist/sankhyablocks/p-885262ce.entry.js +1 -0
- package/dist/sankhyablocks/p-8d1ef77a.js +60 -0
- package/dist/sankhyablocks/{p-9114e869.js → p-8d81c8d3.js} +2 -2
- package/dist/sankhyablocks/p-8f5dd87d.entry.js +1 -0
- package/dist/sankhyablocks/p-90037547.js +1 -0
- package/dist/sankhyablocks/{p-7150eacf.entry.js → p-9742ea0e.entry.js} +1 -1
- package/dist/sankhyablocks/p-9e02a785.js +1 -0
- package/dist/sankhyablocks/{p-6564180d.entry.js → p-9e7dc97d.entry.js} +1 -1
- package/dist/sankhyablocks/p-a25ab2ff.entry.js +1 -0
- package/dist/sankhyablocks/p-a696bbcd.entry.js +1 -0
- package/dist/sankhyablocks/{p-88b0797e.entry.js → p-a9012341.entry.js} +2 -2
- package/dist/sankhyablocks/p-abcb646d.js +1 -0
- package/dist/sankhyablocks/{p-4ff3b494.js → p-af673291.js} +1 -1
- package/dist/sankhyablocks/p-bd2a845c.js +1 -0
- package/dist/sankhyablocks/p-c4b34e2b.entry.js +1 -0
- package/dist/sankhyablocks/{p-7e9f8fa4.js → p-c9440c8a.js} +1 -1
- package/dist/sankhyablocks/p-ca3728c0.entry.js +1 -0
- package/dist/sankhyablocks/p-cbb8e351.js +7 -0
- package/dist/sankhyablocks/p-cd153f71.entry.js +1 -0
- package/dist/sankhyablocks/p-ce8ccd72.entry.js +1 -0
- package/dist/sankhyablocks/p-ddb160eb.entry.js +1 -0
- package/dist/sankhyablocks/p-e5a3711f.js +1 -0
- package/dist/sankhyablocks/{p-2b882835.entry.js → p-e737fd5a.entry.js} +1 -1
- package/dist/sankhyablocks/{p-362e6e8c.js → p-eac48627.js} +1 -1
- package/dist/sankhyablocks/p-ec7c87bb.js +28 -0
- package/dist/sankhyablocks/p-fb6e3c65.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-actions-button/snk-actions-button.d.ts +4 -0
- package/dist/types/components/snk-attach/snk-attach.d.ts +22 -4
- package/dist/types/components/snk-crud/snk-crud.d.ts +28 -10
- package/dist/types/components/snk-crud/subcomponents/snk-detail-view/snk-detail-view.d.ts +3 -2
- package/dist/types/components/snk-crud/subcomponents/snk-entity-search.d.ts +62 -0
- package/dist/types/components/snk-crud/subcomponents/snk-guides-viewer.d.ts +4 -18
- package/dist/types/components/snk-crud/utils/taskbarUtils.d.ts +13 -0
- package/dist/types/components/snk-data-exporter/interfaces/IExporterProvider.d.ts +8 -0
- package/dist/types/components/snk-data-exporter/snk-data-exporter.d.ts +4 -0
- package/dist/types/components/snk-data-exporter/structure/ItemBuilder.d.ts +16 -0
- package/dist/types/components/snk-dynaform/interfaces/PropsCustomEditor.d.ts +4 -0
- package/dist/types/components/snk-dynaform/interfaces/PropsCustomRender.d.ts +4 -0
- package/dist/types/components/snk-dynaform/subcomponents/CardFormResizeObserver.d.ts +1 -0
- package/dist/types/components/snk-dynaform/subcomponents/GuideBuilder.d.ts +14 -0
- package/dist/types/components/snk-dynaform/subcomponents/snk-dynaform-detail-view/snk-dynaform-detail-view.d.ts +169 -0
- package/dist/types/components/snk-dynaform/subcomponents/snk-dynaform-form-view/snk-dynaform-form-view.d.ts +108 -0
- package/dist/types/components/snk-dynaform-form-config/FormConfigHelper.d.ts +36 -0
- package/dist/types/components/snk-dynaform-form-config/SnkFormConfigManager.d.ts +35 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-config-header.d.ts +23 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-config-header/snk-dynaform-configs-button/snk-dynaform-configs-button.d.ts +19 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-field-item/snk-dynaform-field-config/snk-dynaform-field-config.d.ts +56 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-fields-layout/snk-dynaform-fields-layout.d.ts +74 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-fields-selector/snk-dynaform-fields-selector.d.ts +21 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-form-config.d.ts +95 -0
- package/dist/types/components/snk-dynaform-form-config/snk-dynaform-guides-configurator/snk-dynaform-guides-configurator.d.ts +35 -0
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-search.d.ts +1 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +1 -1
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +5 -1
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +33 -16
- package/dist/types/components/snk-grid/snk-grid.d.ts +29 -1
- package/dist/types/components/snk-grid-config/snk-grid-config.d.ts +7 -0
- package/dist/types/components/snk-image-input/snk-image-input.d.ts +1 -0
- package/dist/types/components/snk-image-input/utils/ImageUtils.d.ts +1 -1
- package/dist/types/components/snk-taskbar/elements/taskbar-actions-button/taskbar-actions-button.d.ts +6 -0
- package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +29 -2
- package/dist/types/components/snk-taskbar/elements/taskbar-split-button/taskbar-split-button.d.ts +5 -0
- package/dist/types/components/snk-taskbar/processor/simple-taskbar-processor.d.ts +31 -0
- package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +32 -21
- package/dist/types/components/snk-taskbar/subcomponents/snk-taskbar-skeleton.d.ts +3 -0
- package/dist/types/components.d.ts +2503 -1188
- package/dist/types/lib/@types/index.d.ts +6 -0
- package/dist/types/lib/configs/ConfigStorage.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/data-unit/cache/PreloadManager.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/data-unit/helpers/DataUnitDataLoaderHelper.d.ts +3 -1
- package/dist/types/lib/http/data-fetcher/fetchers/fetchDataExporter/interfaces/IFetchDataExporterParams.d.ts +2 -0
- package/dist/types/lib/http/data-fetcher/fetchers/form-config-fetcher.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/grid-config-fetcher.d.ts +1 -0
- package/dist/types/lib/http/data-fetcher/fetchers/resource-fetcher.d.ts +1 -0
- package/package.json +11 -8
- package/react/components.d.ts +14 -0
- package/react/components.js +14 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/SnkMessageBuilder-d9558dba.js +0 -2809
- package/dist/cjs/default-filters-a09bf82b.js +0 -8
- package/dist/cjs/index-62760a9c.js +0 -49
- package/dist/cjs/index-8d94b7e0.js +0 -7
- package/dist/cjs/snk-attach.cjs.entry.js +0 -911
- package/dist/cjs/snk-default-filter.cjs.entry.js +0 -77
- package/dist/cjs/snk-filter-advanced-mode_2.cjs.entry.js +0 -61
- package/dist/cjs/snk-filter-detail.cjs.entry.js +0 -198
- package/dist/cjs/snk-filter-field-search_2.cjs.entry.js +0 -408
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +0 -109
- package/dist/cjs/snk-image-input.cjs.entry.js +0 -148
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +0 -358
- package/dist/cjs/snk-simple-bar.cjs.entry.js +0 -45
- package/dist/cjs/snk-simple-crud.cjs.entry.js +0 -865
- package/dist/cjs/taskbar-elements-a94d4318.js +0 -133
- package/dist/cjs/taskbar-processor-2fba34a8.js +0 -53
- package/dist/esm/SnkMessageBuilder-c0bc4424.js +0 -2807
- package/dist/esm/default-filters-50105e43.js +0 -8
- package/dist/esm/index-620ac460.js +0 -7
- package/dist/esm/index-8acbae97.js +0 -49
- package/dist/esm/snk-attach.entry.js +0 -907
- package/dist/esm/snk-default-filter.entry.js +0 -73
- package/dist/esm/snk-filter-advanced-mode_2.entry.js +0 -56
- package/dist/esm/snk-filter-detail.entry.js +0 -194
- package/dist/esm/snk-filter-field-search_2.entry.js +0 -403
- package/dist/esm/snk-filter-modal-item.entry.js +0 -105
- package/dist/esm/snk-image-input.entry.js +0 -144
- package/dist/esm/snk-personalized-filter.entry.js +0 -354
- package/dist/esm/snk-simple-bar.entry.js +0 -41
- package/dist/esm/snk-simple-crud.entry.js +0 -861
- package/dist/esm/taskbar-elements-97541bdd.js +0 -130
- package/dist/esm/taskbar-processor-3436124c.js +0 -51
- package/dist/sankhyablocks/p-07619e85.entry.js +0 -1
- package/dist/sankhyablocks/p-0d15b109.entry.js +0 -1
- package/dist/sankhyablocks/p-0f3698af.js +0 -1
- package/dist/sankhyablocks/p-10cad767.entry.js +0 -1
- package/dist/sankhyablocks/p-17653b22.entry.js +0 -1
- package/dist/sankhyablocks/p-1a0caadb.js +0 -1
- package/dist/sankhyablocks/p-25540da8.js +0 -1
- package/dist/sankhyablocks/p-27d6590e.js +0 -1
- package/dist/sankhyablocks/p-27e0cd68.entry.js +0 -1
- package/dist/sankhyablocks/p-2a356340.entry.js +0 -1
- package/dist/sankhyablocks/p-438a225f.entry.js +0 -1
- package/dist/sankhyablocks/p-45a830d9.js +0 -1
- package/dist/sankhyablocks/p-48c580b9.entry.js +0 -1
- package/dist/sankhyablocks/p-4a8d0917.entry.js +0 -1
- package/dist/sankhyablocks/p-4cdfa0e4.entry.js +0 -1
- package/dist/sankhyablocks/p-4fe8380b.entry.js +0 -1
- package/dist/sankhyablocks/p-51833248.js +0 -7
- package/dist/sankhyablocks/p-68c1a093.js +0 -1
- package/dist/sankhyablocks/p-6a4b21dd.js +0 -1
- package/dist/sankhyablocks/p-72d62f22.js +0 -1
- package/dist/sankhyablocks/p-73b455e1.entry.js +0 -1
- package/dist/sankhyablocks/p-84345e7a.js +0 -1
- package/dist/sankhyablocks/p-8bb4e86b.entry.js +0 -1
- package/dist/sankhyablocks/p-9c1ff75e.entry.js +0 -1
- package/dist/sankhyablocks/p-a9839628.js +0 -26
- package/dist/sankhyablocks/p-b25777fa.entry.js +0 -1
- package/dist/sankhyablocks/p-b568c1d4.js +0 -1
- package/dist/sankhyablocks/p-b9970342.js +0 -60
- package/dist/sankhyablocks/p-bdf0077f.js +0 -1
- package/dist/sankhyablocks/p-c8043a53.entry.js +0 -1
- package/dist/sankhyablocks/p-c860552e.entry.js +0 -1
- package/dist/sankhyablocks/p-cc64239c.entry.js +0 -1
- package/dist/sankhyablocks/p-cd00a3d1.entry.js +0 -1
- package/dist/sankhyablocks/p-e0a6818c.js +0 -1
- package/dist/sankhyablocks/p-e0e3914e.entry.js +0 -1
- package/dist/sankhyablocks/p-ebce5394.entry.js +0 -1
- package/dist/sankhyablocks/p-ef9343c3.entry.js +0 -1
- package/dist/sankhyablocks/p-f1110b78.entry.js +0 -1
- package/dist/sankhyablocks/p-f1bf7248.entry.js +0 -1
- package/dist/sankhyablocks/p-f1d541e9.entry.js +0 -1
- package/dist/sankhyablocks/p-f2472d12.entry.js +0 -1
- package/dist/sankhyablocks/p-f4184ce7.js +0 -1
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { r as registerInstance, h, f as Host, g as getElement, e as createEvent } from './index-04f73a26.js';
|
|
2
|
-
import { ApplicationContext, StringUtils, ErrorException, WarningException, ObjectUtils, DateUtils, ServiceUtils, StorageType, ArrayUtils, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
|
-
import { D as DataFetcher } from './DataFetcher-
|
|
2
|
+
import { ApplicationContext, StringUtils, ErrorException, WarningException, ObjectUtils, DateUtils, ServiceUtils, StorageType, ArrayUtils, ElementIDUtils, UserInterface } from '@sankhyalabs/core';
|
|
3
|
+
import { D as DataFetcher } from './DataFetcher-70de9419.js';
|
|
4
4
|
import { P as ParamType } from './ParamType-d5152b06.js';
|
|
5
|
-
import './ISave-
|
|
6
|
-
import './index-
|
|
5
|
+
import './ISave-f5704813.js';
|
|
6
|
+
import './index-c6721886.js';
|
|
7
7
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|
|
8
8
|
import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
|
9
|
-
import './dataunit-fetcher-
|
|
9
|
+
import './dataunit-fetcher-d26e4a08.js';
|
|
10
10
|
import './filter-item-type.enum-d45e026f.js';
|
|
11
|
-
import { F as FormConfigFetcher } from './form-config-fetcher-
|
|
11
|
+
import { F as FormConfigFetcher } from './form-config-fetcher-98c42169.js';
|
|
12
12
|
import { O as ORDER_VALUES } from './constants-7b422de0.js';
|
|
13
13
|
import { g as getSelectedRecordsIDsInfo } from './GetSelectedRecordsIDsInfo-9fa41508.js';
|
|
14
14
|
import { R as ResourceIDUtils } from './ResourceIDUtils-a114189a.js';
|
|
15
15
|
import { ApplicationUtils, DialogType, FormLayout } from '@sankhyalabs/ezui/dist/collection/utils';
|
|
16
|
-
import { C as ConfigStorage } from './ConfigStorage-
|
|
16
|
+
import { C as ConfigStorage } from './ConfigStorage-0d1c0695.js';
|
|
17
|
+
import { GRID_COLUMN_DEFAULT_WIDTHS } from '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
|
|
17
18
|
import { S as ServicesNumberingConfig } from './ServicesNumberingConfig-2f7b050e.js';
|
|
18
19
|
import './PrintUtils-3e4ff0f5.js';
|
|
19
|
-
import './SnkMessageBuilder-c0bc4424.js';
|
|
20
|
-
import '@sankhyalabs/ezui/dist/collection/components/ez-grid/utils';
|
|
21
20
|
import '@sankhyalabs/core/dist/utils/SortingUtils';
|
|
22
21
|
|
|
23
22
|
const SERVICE_ACTION_EXECUTE_JAVA = 'ActionButtonsSP.executeJava';
|
|
@@ -88,11 +87,14 @@ class LaunchScreenExecutor {
|
|
|
88
87
|
localFieldLabel = StringUtils.isEmpty(dataUnit.getField(localField).label) ? localField : localFieldLabel;
|
|
89
88
|
throw new ErrorException(this._application.messagesBuilder.getMessage("snkActionsButton.title.error", undefined), this._application.messagesBuilder.getMessage("snkActionsButton.launchScreen.emptyField", { description: action.description, localFieldLabel: localFieldLabel }));
|
|
90
89
|
}
|
|
91
|
-
value
|
|
92
|
-
|
|
90
|
+
if (value !== null && typeof value === 'object' && 'value' in value) {
|
|
91
|
+
value = value.value;
|
|
92
|
+
}
|
|
93
|
+
const finalValue = StringUtils.isEmpty(value === null || value === void 0 ? void 0 : value.toString()) ? undefined : value.toString();
|
|
94
|
+
launchObject[param.targetField] = finalValue;
|
|
93
95
|
processedParams.push({
|
|
94
96
|
fieldName: param.targetField,
|
|
95
|
-
value:
|
|
97
|
+
value: finalValue
|
|
96
98
|
});
|
|
97
99
|
});
|
|
98
100
|
launchObject.ACTION_PARAMETERS = processedParams;
|
|
@@ -614,6 +616,7 @@ const SnkActionsButton = class {
|
|
|
614
616
|
action.execute(Object.assign({}, selectedAction));
|
|
615
617
|
this._showDropdown = false;
|
|
616
618
|
};
|
|
619
|
+
this.size = 'medium';
|
|
617
620
|
this._items = [];
|
|
618
621
|
this._showDropdown = false;
|
|
619
622
|
}
|
|
@@ -663,12 +666,13 @@ const SnkActionsButton = class {
|
|
|
663
666
|
document.addEventListener("scroll", this.positionDropdown.bind(this));
|
|
664
667
|
}
|
|
665
668
|
async componentWillLoad() {
|
|
669
|
+
var _a, _b;
|
|
666
670
|
this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
|
667
671
|
await this.loadParameters();
|
|
668
|
-
const
|
|
669
|
-
this._dataUnit =
|
|
670
|
-
this._resourceID =
|
|
671
|
-
this._entityName = this._dataUnit.name.split('/')[2];
|
|
672
|
+
const snkTaskbar = this._element.closest('snk-taskbar');
|
|
673
|
+
this._dataUnit = snkTaskbar === null || snkTaskbar === void 0 ? void 0 : snkTaskbar.dataUnit;
|
|
674
|
+
this._resourceID = snkTaskbar === null || snkTaskbar === void 0 ? void 0 : snkTaskbar.resourceID;
|
|
675
|
+
this._entityName = (_b = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.name) === null || _b === void 0 ? void 0 : _b.split('/')[2];
|
|
672
676
|
if (this._resourceID == undefined) {
|
|
673
677
|
this._resourceID = await ResourceIDUtils.getResourceID();
|
|
674
678
|
}
|
|
@@ -708,9 +712,9 @@ const SnkActionsButton = class {
|
|
|
708
712
|
}
|
|
709
713
|
render() {
|
|
710
714
|
return (h(Host, null, (this._actions && this._actions.length > 0) &&
|
|
711
|
-
(h("div", { class: `
|
|
715
|
+
(h("div", { class: `snk-actions-button
|
|
712
716
|
${this.canShowDropdown() ? " ez-elevation--16" : ""}
|
|
713
|
-
` }, h("ez-button", Object.assign({ ref: (ref) => this._ezButton = ref, iconName: "acao",
|
|
717
|
+
` }, h("ez-tooltip", { message: this._application.messagesBuilder.getMessage("snkActionsButton.title.actions", undefined) }, h("ez-button", Object.assign({ ref: (ref) => this._ezButton = ref, iconName: "acao", mode: "icon", onClick: () => this.controlDropdown(), size: this.size }, this.getElementID("button")))), h("div", Object.assign({ ref: (ref) => this._dropdownParent = ref, class: `${this.canShowDropdown() ?
|
|
714
718
|
"snk-actions-button__dropdown--show" :
|
|
715
719
|
"snk-actions-button__dropdown"}
|
|
716
720
|
` }, this.getElementID("dropdown")), (this.canShowDropdown()) &&
|
|
@@ -744,6 +748,7 @@ const SnkGridConfig = class {
|
|
|
744
748
|
this.config = undefined;
|
|
745
749
|
this.configName = undefined;
|
|
746
750
|
this.resourceID = undefined;
|
|
751
|
+
this.metadata = undefined;
|
|
747
752
|
this._collapsibleBoxListOrder = true;
|
|
748
753
|
this._collapsibleBoxListSelect = false;
|
|
749
754
|
}
|
|
@@ -775,31 +780,49 @@ const SnkGridConfig = class {
|
|
|
775
780
|
return newList;
|
|
776
781
|
}
|
|
777
782
|
createOrderList() {
|
|
783
|
+
var _a;
|
|
778
784
|
let newSortableList = this.getSortableColumns();
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
785
|
+
if (((_a = this._orderPriorityList) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
786
|
+
const orderedList = [];
|
|
787
|
+
this._orderPriorityList.forEach((priorityItem) => {
|
|
788
|
+
const item = newSortableList.find(col => col.id === priorityItem.id);
|
|
789
|
+
if (item) {
|
|
790
|
+
orderedList.push(item);
|
|
791
|
+
}
|
|
792
|
+
});
|
|
793
|
+
newSortableList.forEach(item => {
|
|
794
|
+
if (!orderedList.find(o => o.id === item.id)) {
|
|
795
|
+
orderedList.push(item);
|
|
796
|
+
}
|
|
797
|
+
});
|
|
798
|
+
this._orderListItems = orderedList;
|
|
799
|
+
}
|
|
800
|
+
else {
|
|
801
|
+
newSortableList.sort((a, b) => {
|
|
802
|
+
//OS dois tem order index 0 e pelo menos um deles tem orientação de ordenação.
|
|
803
|
+
if (a.orderIndex == 0 && b.orderIndex == 0 && (a.ascending != undefined || b.ascending != undefined)) {
|
|
804
|
+
if (a.ascending != undefined)
|
|
805
|
+
return -1;
|
|
806
|
+
if (b.ascending != undefined)
|
|
807
|
+
return 1;
|
|
808
|
+
return 0;
|
|
809
|
+
//Pelo menos um deles tem order index diferente de 0 e os dois tem orientação de ordenação.
|
|
810
|
+
}
|
|
811
|
+
else if (a.ascending != undefined && b.ascending != undefined) {
|
|
812
|
+
return (a.orderIndex - b.orderIndex);
|
|
813
|
+
//Pelo menos um deles tem order index diferente de 0 e pelo menos um deles tem orientação de ordenação.
|
|
814
|
+
}
|
|
815
|
+
else if (a.ascending != undefined || b.ascending != undefined) {
|
|
816
|
+
if (a.ascending != undefined)
|
|
817
|
+
return -1;
|
|
818
|
+
if (b.ascending != undefined)
|
|
819
|
+
return 1;
|
|
820
|
+
return 0;
|
|
821
|
+
}
|
|
790
822
|
return (a.orderIndex - b.orderIndex);
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
if (a.ascending != undefined)
|
|
795
|
-
return -1;
|
|
796
|
-
if (b.ascending != undefined)
|
|
797
|
-
return 1;
|
|
798
|
-
return 0;
|
|
799
|
-
}
|
|
800
|
-
return (a.orderIndex - b.orderIndex);
|
|
801
|
-
});
|
|
802
|
-
this._orderListItems = newSortableList;
|
|
823
|
+
});
|
|
824
|
+
this._orderListItems = newSortableList;
|
|
825
|
+
}
|
|
803
826
|
}
|
|
804
827
|
createColumnList() {
|
|
805
828
|
const visibleGroup = this.buildVisibleGroup();
|
|
@@ -832,7 +855,8 @@ const SnkGridConfig = class {
|
|
|
832
855
|
};
|
|
833
856
|
}
|
|
834
857
|
createOrderListSlotDataElementId(item) {
|
|
835
|
-
|
|
858
|
+
var _a;
|
|
859
|
+
return `${this._element.getAttribute(ElementIDUtils.DATA_ELEMENT_ID_ATTRIBUTE_NAME)}_configItem_${StringUtils.toCamelCase((_a = item.id) !== null && _a !== void 0 ? _a : item.label)}`;
|
|
836
860
|
}
|
|
837
861
|
buildOrderListSlot(item) {
|
|
838
862
|
const dataElementId = this.createOrderListSlotDataElementId(item);
|
|
@@ -842,22 +866,25 @@ const SnkGridConfig = class {
|
|
|
842
866
|
}
|
|
843
867
|
return (h("snk-select-box", { selectedOption: selectedOption, key: 'snk-select-box-' + this._componenteInternalKey + '-' + item, "data-element-id": dataElementId, onEzChange: (evt) => {
|
|
844
868
|
evt.stopPropagation();
|
|
845
|
-
this.updateOrder(evt.detail, item.
|
|
869
|
+
this.updateOrder(evt.detail, item.id);
|
|
846
870
|
}, preventAutoFocus: true }));
|
|
847
871
|
}
|
|
848
|
-
updateOrder(sortOrder,
|
|
872
|
+
updateOrder(sortOrder, updatedItemId) {
|
|
849
873
|
var _a;
|
|
850
874
|
this._dataChanged = true;
|
|
851
875
|
let newList = [...this.columns];
|
|
852
|
-
let newItem = newList.find((item) => item.
|
|
876
|
+
let newItem = newList.find((item) => item.name === updatedItemId);
|
|
853
877
|
if (newItem) {
|
|
854
878
|
newItem.sort = sortOrder.value === ORDER_VALUES.none.value ? undefined : sortOrder.value;
|
|
855
879
|
}
|
|
856
880
|
let orderArray;
|
|
857
881
|
if (((_a = this._orderPriorityList) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
858
|
-
this._orderPriorityList.find((item) => item.
|
|
859
|
-
|
|
860
|
-
|
|
882
|
+
const priorityItem = this._orderPriorityList.find((item) => item.id === newItem.name);
|
|
883
|
+
if (priorityItem) {
|
|
884
|
+
priorityItem.sort = sortOrder.value === ORDER_VALUES.none.value ? undefined : sortOrder.value;
|
|
885
|
+
}
|
|
886
|
+
this._orderPriorityList.filter((item) => item.sort != undefined).forEach((item, index) => {
|
|
887
|
+
if (item.id === newItem.name) {
|
|
861
888
|
newItem.sortIndex = index;
|
|
862
889
|
}
|
|
863
890
|
});
|
|
@@ -865,10 +892,10 @@ const SnkGridConfig = class {
|
|
|
865
892
|
else {
|
|
866
893
|
orderArray = newList.filter((item) => item.sort && item.hidden !== true)
|
|
867
894
|
.map((item, index) => {
|
|
868
|
-
return {
|
|
895
|
+
return { name: item.name, orderIndex: index };
|
|
869
896
|
});
|
|
870
897
|
orderArray.forEach((element) => {
|
|
871
|
-
newList.find((item) => item.
|
|
898
|
+
newList.find((item) => item.name === element.name).sortIndex = element.orderIndex;
|
|
872
899
|
});
|
|
873
900
|
}
|
|
874
901
|
this.columns = newList;
|
|
@@ -882,14 +909,15 @@ const SnkGridConfig = class {
|
|
|
882
909
|
this._dataChanged = false;
|
|
883
910
|
this.closeConfig();
|
|
884
911
|
this.save();
|
|
912
|
+
this._orderPriorityList = [];
|
|
885
913
|
}
|
|
886
914
|
updateColumns() {
|
|
887
915
|
this.columns = this._columListItems.flatMap((group) => group.items.map((item) => this.buildColumnFromListItem(item, group)));
|
|
888
916
|
}
|
|
889
917
|
buildColumnFromListItem(item, group) {
|
|
890
|
-
const baseColumn = this.columns.find((column) => column.
|
|
918
|
+
const baseColumn = this.columns.find((column) => column.name === item.id);
|
|
891
919
|
if (!baseColumn) {
|
|
892
|
-
throw new Error(`Column with
|
|
920
|
+
throw new Error(`Column with name "${item.id}" not found.`);
|
|
893
921
|
}
|
|
894
922
|
return Object.assign(Object.assign({}, baseColumn), { hidden: group.group === this.getMessage('snkGridConfig.group.hidden') });
|
|
895
923
|
}
|
|
@@ -904,12 +932,12 @@ const SnkGridConfig = class {
|
|
|
904
932
|
let orderArray = [];
|
|
905
933
|
orderArray = columns.filter((item) => item.sort && item.hidden !== true)
|
|
906
934
|
.map((item) => {
|
|
907
|
-
return {
|
|
935
|
+
return { name: item.name, orderIndex: 0 };
|
|
908
936
|
});
|
|
909
937
|
let indexCount = 0;
|
|
910
938
|
let newOrderArray = [];
|
|
911
939
|
orderPriorityList.forEach((orderPriorityItem) => {
|
|
912
|
-
let item = orderArray.find((column) => column.
|
|
940
|
+
let item = orderArray.find((column) => column.name === orderPriorityItem.id);
|
|
913
941
|
if (item) {
|
|
914
942
|
item.orderIndex = indexCount;
|
|
915
943
|
newOrderArray.push(item);
|
|
@@ -939,11 +967,8 @@ const SnkGridConfig = class {
|
|
|
939
967
|
let _newColumnConfig = _newConfig.columns.find((_newColumnConfig) => column.name === _newColumnConfig.name);
|
|
940
968
|
if (column.hidden === true && _newColumnConfig)
|
|
941
969
|
return;
|
|
942
|
-
if (_newColumnConfig) {
|
|
943
|
-
_newColumnConfig
|
|
944
|
-
}
|
|
945
|
-
else if (column.hidden === false) {
|
|
946
|
-
_newColumnConfig = { name: column.name, width: column.width, orderIndex: 0 };
|
|
970
|
+
if (!_newColumnConfig && column.hidden === false) {
|
|
971
|
+
_newColumnConfig = { name: column.name, orderIndex: 0 };
|
|
947
972
|
}
|
|
948
973
|
if (_newColumnConfig) {
|
|
949
974
|
if (column.sort) {
|
|
@@ -967,7 +992,7 @@ const SnkGridConfig = class {
|
|
|
967
992
|
this.saveGridConfigOnStorage(_newConfig);
|
|
968
993
|
function adjustPriorityOrder(column, _newColumnConfig) {
|
|
969
994
|
if (orderArray) {
|
|
970
|
-
let orderItem = orderArray.find((item) => item.
|
|
995
|
+
let orderItem = orderArray.find((item) => item.name === column.name);
|
|
971
996
|
if (orderItem) {
|
|
972
997
|
_newColumnConfig.orderIndex = orderItem.orderIndex;
|
|
973
998
|
}
|
|
@@ -1008,6 +1033,7 @@ const SnkGridConfig = class {
|
|
|
1008
1033
|
.then((response) => {
|
|
1009
1034
|
if (!response) {
|
|
1010
1035
|
this._dataChanged = false;
|
|
1036
|
+
this._orderPriorityList = [];
|
|
1011
1037
|
this.configCancel.emit();
|
|
1012
1038
|
this._componenteInternalKey = Date.now();
|
|
1013
1039
|
}
|
|
@@ -1072,6 +1098,7 @@ const SnkGridConfig = class {
|
|
|
1072
1098
|
if (!this.resourceID)
|
|
1073
1099
|
return;
|
|
1074
1100
|
this._dataChanged = true;
|
|
1101
|
+
this._orderPriorityList = [];
|
|
1075
1102
|
const config = await ConfigStorage.getDefaultGridConfig(this.resourceID);
|
|
1076
1103
|
const defaultVisibleCols = (_a = config === null || config === void 0 ? void 0 : config.columns.map(col => col.name)) !== null && _a !== void 0 ? _a : [];
|
|
1077
1104
|
const isEmptyConfig = defaultVisibleCols.length === 0;
|
|
@@ -1082,6 +1109,7 @@ const SnkGridConfig = class {
|
|
|
1082
1109
|
columnsToIterate.forEach(column => {
|
|
1083
1110
|
const item = this.buildListItemFromColumn(column);
|
|
1084
1111
|
if (isEmptyConfig || defaultVisibleCols.includes(column.name)) {
|
|
1112
|
+
item['width'] = this.getDefaultWidthBasedOnMetadata(column.name);
|
|
1085
1113
|
visibleItemsMap.set(column.name, item);
|
|
1086
1114
|
}
|
|
1087
1115
|
else {
|
|
@@ -1101,9 +1129,30 @@ const SnkGridConfig = class {
|
|
|
1101
1129
|
this._columListItems = [visibleGroup, hiddenGroup];
|
|
1102
1130
|
this._visibleList = visibleGroup.items;
|
|
1103
1131
|
this._hiddenList = hiddenGroup.items;
|
|
1132
|
+
if (this.config) {
|
|
1133
|
+
this.config['columns'] = this.transformListToConfig(visibleGroup.items);
|
|
1134
|
+
}
|
|
1104
1135
|
this.updateColumns();
|
|
1105
1136
|
this.createOrderList();
|
|
1106
1137
|
}
|
|
1138
|
+
transformListToConfig(list) {
|
|
1139
|
+
return list.map((item, index) => {
|
|
1140
|
+
return {
|
|
1141
|
+
name: item.id,
|
|
1142
|
+
hidden: false,
|
|
1143
|
+
orderIndex: Number(item.sort) || index,
|
|
1144
|
+
width: item.width,
|
|
1145
|
+
};
|
|
1146
|
+
});
|
|
1147
|
+
}
|
|
1148
|
+
getDefaultWidthBasedOnMetadata(columnName) {
|
|
1149
|
+
var _a, _b;
|
|
1150
|
+
if (!this.metadata) {
|
|
1151
|
+
return undefined;
|
|
1152
|
+
}
|
|
1153
|
+
const columnMetadata = (_b = (_a = this.metadata) === null || _a === void 0 ? void 0 : _a.fields) === null || _b === void 0 ? void 0 : _b.find(col => col.name === columnName);
|
|
1154
|
+
return GRID_COLUMN_DEFAULT_WIDTHS[columnMetadata === null || columnMetadata === void 0 ? void 0 : columnMetadata.userInterface] || GRID_COLUMN_DEFAULT_WIDTHS[UserInterface.SHORTTEXT];
|
|
1155
|
+
}
|
|
1107
1156
|
buildListItemFromColumn(column) {
|
|
1108
1157
|
var _a;
|
|
1109
1158
|
return {
|
|
@@ -1111,13 +1160,14 @@ const SnkGridConfig = class {
|
|
|
1111
1160
|
selected: false,
|
|
1112
1161
|
sort: (_a = column === null || column === void 0 ? void 0 : column.sort) !== null && _a !== void 0 ? _a : ORDER_VALUES.asc.value,
|
|
1113
1162
|
id: column.name,
|
|
1163
|
+
width: column.width,
|
|
1114
1164
|
};
|
|
1115
1165
|
}
|
|
1116
1166
|
render() {
|
|
1117
1167
|
return (h(Host, null, h("div", { class: "grid-config__header" }, h("div", { class: "title-container" }, h("div", { class: "ez-margin-bottom--medium" }, h("label", { class: "title" }, this.getMessage('snkGridConfig.gridConfiguration')), h("label", { class: "subtitle" }, this.getMessage('snkGridConfig.columnVisibilityOrder'))), h("div", { class: "button-close" }, h("ez-button", { mode: "icon", iconName: "close", size: "medium", class: "ez-button--tertiary", onClick: () => this.closeConfig() })))), h("div", { class: 'grid-config__body' }, h("ez-collapsible-box", { id: 'group-select-columns', label: this.getMessage('snkGridConfig.columnsSelection'), "header-size": "medium", key: 'key_group-select-columns', value: this._collapsibleBoxListSelect, onEzChange: ({ detail }) => this._collapsibleBoxListOrder = !detail }, h("div", { class: "grid-config__main" }, h("ez-double-list", { leftList: this._hiddenList, leftTitle: this.getMessage('snkGridConfig.availableColumns'), rightList: this._visibleList, rightTitle: this.getMessage('snkGridConfig.selectedColumns'), onEzRightListChanged: ({ detail }) => this.handleRightListChange(detail), emptyMessage: {
|
|
1118
1168
|
LEFT_LIST: this.getMessage('snkGridConfig.emptyMensage.left'),
|
|
1119
1169
|
RIGHT_LIST: this.getMessage('snkGridConfig.emptyMensage.right'),
|
|
1120
|
-
}, entityLabel: 'coluna', entityLabelPlural: 'colunas' }))), h("ez-collapsible-box", { id: 'ID_group-order-columns', label: this.getMessage('snkGridConfig.dataOrdering'), "header-size": "medium", key: 'KEY_group-order-columns', value: this._collapsibleBoxListOrder, onEzChange: ({ detail }) => this._collapsibleBoxListSelect = !detail }, h("div", { class: "grid-config__main" }, h("ez-double-list", { rightList: this._orderListItems, rightTitle: this.getMessage('snkGridConfig.selectedColumns'), useOnlyRightList: true, slotsListBuilder: this.getListSlots(), emptyMessage: {
|
|
1170
|
+
}, entityLabel: 'coluna', entityLabelPlural: 'colunas' }))), h("ez-collapsible-box", { id: 'ID_group-order-columns', label: this.getMessage('snkGridConfig.dataOrdering'), "header-size": "medium", key: 'KEY_group-order-columns', value: this._collapsibleBoxListOrder, onEzChange: ({ detail }) => this._collapsibleBoxListSelect = !detail }, h("div", { class: "grid-config__main" }, h("ez-double-list", { rightList: this._orderListItems, rightTitle: this.getMessage('snkGridConfig.selectedColumns'), useOnlyRightList: true, slotsListBuilder: this.getListSlots(), onEzRightListChanged: (evt) => this.handleOrderListChange(evt), emptyMessage: {
|
|
1121
1171
|
RIGHT_LIST: this.getMessage('snkGridConfig.emptyMensage.right'),
|
|
1122
1172
|
}, entityLabel: 'coluna', entityLabelPlural: 'colunas' })))), h("div", { class: "grid-config__footer" }, this.renderResetConfigBtn(), h("ez-button", { class: "padding-right--medium", label: this.getMessage('snkGridConfig.cancel'), onClick: () => this.closeConfig() }), h("ez-button", { label: this.getMessage('snkGridConfig.complete'), class: "ez-button--primary", onClick: () => this.finish() }))));
|
|
1123
1173
|
}
|
|
@@ -1368,6 +1418,18 @@ const SnkSimpleFormConfig = class {
|
|
|
1368
1418
|
};
|
|
1369
1419
|
SnkSimpleFormConfig.style = snkSimpleFormConfigCss;
|
|
1370
1420
|
|
|
1421
|
+
const snkTaskbarSkeletonCss = ".sc-snk-taskbar-skeleton-h{display:flex;align-items:center;height:100%;padding:0 var(--space--8, 8px)}ez-skeleton.sc-snk-taskbar-skeleton{--skeleton-width:42px;--skeleton-height:42px;--skeleton-margin-left:var(--space--4, 4px)}";
|
|
1422
|
+
|
|
1423
|
+
const SnkTaskbarSkeleton = class {
|
|
1424
|
+
constructor(hostRef) {
|
|
1425
|
+
registerInstance(this, hostRef);
|
|
1426
|
+
}
|
|
1427
|
+
render() {
|
|
1428
|
+
return (h(Host, null, h("ez-skeleton", { variant: "circle", count: 12 }), h("ez-skeleton", { width: "100px" })));
|
|
1429
|
+
}
|
|
1430
|
+
};
|
|
1431
|
+
SnkTaskbarSkeleton.style = snkTaskbarSkeletonCss;
|
|
1432
|
+
|
|
1371
1433
|
const snkViewRepresentationCss = ".sc-snk-view-representation-h{display:block}.svg-container.sc-snk-view-representation{display:flex;width:185px;height:125px;border-radius:8px;background-color:#f7f7f7;padding:10px 12px;box-sizing:border-box;position:relative}.svg-container__background.sc-snk-view-representation{display:flex;flex-direction:column;width:100%}.svg-container__header.sc-snk-view-representation{display:flex;gap:2px;margin-bottom:12px}.svg-container__circle.sc-snk-view-representation{width:9px;height:9px;border-radius:50%}.svg-container__circle--red.sc-snk-view-representation{background-color:#ed7678}.svg-container__circle--yellow.sc-snk-view-representation{background-color:#eddb76}.svg-container__circle--green.sc-snk-view-representation{background-color:#7ad08e}.svg-container__section.sc-snk-view-representation{width:100%}.svg-container__collumn.sc-snk-view-representation{width:100%;display:flex;flex-direction:column}.svg-container__inline.sc-snk-view-representation{display:flex;flex-direction:row;gap:6px}.svg-container__line.sc-snk-view-representation{height:13px;border-radius:4px;background-color:#d9d9d9;margin-bottom:4px}.svg-container__line--short.sc-snk-view-representation{width:39.68px;height:7px;border-radius:3.5px}.svg-container__line--long.sc-snk-view-representation{width:100%}";
|
|
1372
1434
|
|
|
1373
1435
|
const SnkViewRepresentation = class {
|
|
@@ -1389,7 +1451,7 @@ const SnkViewRepresentation = class {
|
|
|
1389
1451
|
};
|
|
1390
1452
|
SnkViewRepresentation.style = snkViewRepresentationCss;
|
|
1391
1453
|
|
|
1392
|
-
const taskbarActionsButtonCss = ".sc-taskbar-actions-button-h{--ez-dropdown--min-width:150px;display:flex;width:fit-content;height:fit-content}.ez-dropdown-container.sc-taskbar-actions-button{position:relative;display:inline-block}.ez-dropdown--sticky.sc-taskbar-actions-button{position:absolute;display:block;min-width:var(--ez-dropdown--min-width)}";
|
|
1454
|
+
const taskbarActionsButtonCss = ".sc-taskbar-actions-button-h{--ez-dropdown--min-width:150px;display:flex;width:fit-content;height:fit-content}.ez-dropdown-container.sc-taskbar-actions-button{position:relative;display:inline-block}.ez-dropdown--sticky.sc-taskbar-actions-button{position:absolute;display:block;min-width:var(--ez-dropdown--min-width);top:100%;left:0;margin-top:4px}.ez-dropdown--open-left.sc-taskbar-actions-button{left:auto;right:0}";
|
|
1393
1455
|
|
|
1394
1456
|
const TaskbarActionsButton = class {
|
|
1395
1457
|
constructor(hostRef) {
|
|
@@ -1398,9 +1460,11 @@ const TaskbarActionsButton = class {
|
|
|
1398
1460
|
this.taskbarActionsOpened = createEvent(this, "taskbarActionsOpened", 7);
|
|
1399
1461
|
this.taskbarActionsButtonDisconnected = createEvent(this, "taskbarActionsButtonDisconnected", 7);
|
|
1400
1462
|
this._showDropdown = false;
|
|
1463
|
+
this._openToLeft = false;
|
|
1401
1464
|
this.title = undefined;
|
|
1402
1465
|
this.enabled = undefined;
|
|
1403
1466
|
this.actions = undefined;
|
|
1467
|
+
this.size = 'medium';
|
|
1404
1468
|
}
|
|
1405
1469
|
async handleKeyDown(event) {
|
|
1406
1470
|
if (event.key === 'Escape' || event.key === 'Esc') {
|
|
@@ -1414,6 +1478,7 @@ const TaskbarActionsButton = class {
|
|
|
1414
1478
|
* Exibe a lista de ações.
|
|
1415
1479
|
*/
|
|
1416
1480
|
async showActions() {
|
|
1481
|
+
this.checkDropdownPosition();
|
|
1417
1482
|
this._showDropdown = true;
|
|
1418
1483
|
requestAnimationFrame(() => {
|
|
1419
1484
|
this._element.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'nearest' });
|
|
@@ -1432,8 +1497,19 @@ const TaskbarActionsButton = class {
|
|
|
1432
1497
|
return this._showDropdown;
|
|
1433
1498
|
}
|
|
1434
1499
|
controlDropdown() {
|
|
1500
|
+
if (!this._showDropdown) {
|
|
1501
|
+
this.checkDropdownPosition();
|
|
1502
|
+
}
|
|
1435
1503
|
this._showDropdown = !this._showDropdown;
|
|
1436
1504
|
}
|
|
1505
|
+
checkDropdownPosition() {
|
|
1506
|
+
const rect = this._element.getBoundingClientRect();
|
|
1507
|
+
const viewportWidth = window.innerWidth;
|
|
1508
|
+
const dropdownMinWidth = 150; // Largura mínima do dropdown
|
|
1509
|
+
const spaceOnRight = viewportWidth - rect.right;
|
|
1510
|
+
// Se não houver espaço suficiente à direita, abre para a esquerda
|
|
1511
|
+
this._openToLeft = spaceOnRight < dropdownMinWidth;
|
|
1512
|
+
}
|
|
1437
1513
|
loadItems() {
|
|
1438
1514
|
return this.actions.filter(action => action !== undefined).map(action => {
|
|
1439
1515
|
var _a;
|
|
@@ -1514,7 +1590,10 @@ const TaskbarActionsButton = class {
|
|
|
1514
1590
|
this.taskbarActionsButtonDisconnected.emit();
|
|
1515
1591
|
}
|
|
1516
1592
|
render() {
|
|
1517
|
-
return (h(Host, null, h("div", { class: `${this.canShowDropdown() ? ' ez-elevation--16' : ''} ez-dropdown-container` }, h("ez-
|
|
1593
|
+
return (h(Host, null, h("div", { class: `${this.canShowDropdown() ? ' ez-elevation--16' : ''} ez-dropdown-container` }, h("ez-tooltip", { message: this.title }, h("ez-button", { mode: 'icon', iconName: 'dots-vertical', isDisabled: !this.enabled, onClick: () => this.controlDropdown(), size: this.size })), this.canShowDropdown() && (h("ez-dropdown", { class: {
|
|
1594
|
+
'ez-dropdown--sticky': true,
|
|
1595
|
+
'ez-dropdown--open-left': this._openToLeft
|
|
1596
|
+
}, items: this.loadItems(), onEzClick: (evt) => this.onSelectAction(evt.detail), onEzOutsideClick: () => this._showDropdown = false, itemBuilder: (item, level) => this.dropdownItemBuilder(item, level) })))));
|
|
1518
1597
|
}
|
|
1519
1598
|
get _element() { return getElement(this); }
|
|
1520
1599
|
};
|
|
@@ -1534,6 +1613,7 @@ const TaskbarSplitButton = class {
|
|
|
1534
1613
|
this.title = undefined;
|
|
1535
1614
|
this.enabled = undefined;
|
|
1536
1615
|
this.actions = undefined;
|
|
1616
|
+
this.size = 'medium';
|
|
1537
1617
|
}
|
|
1538
1618
|
initializeEagerItems() {
|
|
1539
1619
|
var _a;
|
|
@@ -1574,10 +1654,17 @@ const TaskbarSplitButton = class {
|
|
|
1574
1654
|
};
|
|
1575
1655
|
});
|
|
1576
1656
|
}
|
|
1657
|
+
// Padroniza o tamanho do split button para se adequar aos demais tamanhos dos botões do taskbar
|
|
1658
|
+
ajustSizeButton() {
|
|
1659
|
+
if (!this.size || this.size === 'small') {
|
|
1660
|
+
return 'medium';
|
|
1661
|
+
}
|
|
1662
|
+
return 'large';
|
|
1663
|
+
}
|
|
1577
1664
|
render() {
|
|
1578
|
-
return (h(Host, null, h("ez-split-button", { ref: (ref) => this._splitButtonRef = ref, key: this.dataElementId, class: `${this.className} "ez-split-button--tertiary ez-padding--medium"`, items: this.loadItems(), mode: "icon-only",
|
|
1665
|
+
return (h(Host, null, h("ez-split-button", { ref: (ref) => this._splitButtonRef = ref, key: this.dataElementId, class: `${this.className} "ez-split-button--tertiary ez-padding--medium"`, items: this.loadItems(), mode: "icon-only", size: this.ajustSizeButton(), leftIconName: this.iconName, isDisabled: !this.enabled, show: this._showDropdown, onButtonClick: () => this.action(this.name), itemBuilder: (item, level) => this.dropdownItemBuilder(item, level), leftTitle: this.title })));
|
|
1579
1666
|
}
|
|
1580
1667
|
};
|
|
1581
1668
|
TaskbarSplitButton.style = taskbarSplitButtonCss;
|
|
1582
1669
|
|
|
1583
|
-
export { SnkActionsButton as snk_actions_button, SnkGridConfig as snk_grid_config, SnkNumberingConfig as snk_numbering_config, SelectBox as snk_select_box, SnkSimpleFormConfig as snk_simple_form_config, SnkViewRepresentation as snk_view_representation, TaskbarActionsButton as taskbar_actions_button, TaskbarSplitButton as taskbar_split_button };
|
|
1670
|
+
export { SnkActionsButton as snk_actions_button, SnkGridConfig as snk_grid_config, SnkNumberingConfig as snk_numbering_config, SelectBox as snk_select_box, SnkSimpleFormConfig as snk_simple_form_config, SnkTaskbarSkeleton as snk_taskbar_skeleton, SnkViewRepresentation as snk_view_representation, TaskbarActionsButton as taskbar_actions_button, TaskbarSplitButton as taskbar_split_button };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, e as createEvent, h, f as Host, g as getElement } from './index-04f73a26.js';
|
|
2
2
|
import { DateUtils, StringUtils, ObjectUtils, WaitingChangeException, SilentException, WarningException, ErrorException, ElementIDUtils, SearchUtils, ArrayUtils, KeyboardManager, OnboardingUtils, DependencyType, DataType, ApplicationContext, ErrorTracking, UserAgentUtils, LockManager, LockManagerOperation } from '@sankhyalabs/core';
|
|
3
3
|
import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
|
|
4
|
-
import { C as ConfigStorage } from './ConfigStorage-
|
|
5
|
-
import { d as dist, D as DataFetcher, U as UrlUtils } from './DataFetcher-
|
|
6
|
-
import { A as AutorizationType, a as AuthFetcher } from './auth-fetcher-
|
|
7
|
-
import { P as PreloadManager, D as DataUnitFetcher } from './dataunit-fetcher-
|
|
8
|
-
import { P as PesquisaFetcher } from './ISave-
|
|
9
|
-
import { S as SnkMessageBuilder } from './SnkMessageBuilder-c0bc4424.js';
|
|
4
|
+
import { C as ConfigStorage } from './ConfigStorage-0d1c0695.js';
|
|
5
|
+
import { d as dist, D as DataFetcher, U as UrlUtils, S as SnkMessageBuilder } from './DataFetcher-70de9419.js';
|
|
6
|
+
import { A as AutorizationType, a as AuthFetcher } from './auth-fetcher-e34880e5.js';
|
|
7
|
+
import { P as PreloadManager, D as DataUnitFetcher } from './dataunit-fetcher-d26e4a08.js';
|
|
8
|
+
import { P as PesquisaFetcher } from './ISave-f5704813.js';
|
|
10
9
|
import { T as TEMPLATES_SKELETON } from './constants-7b422de0.js';
|
|
11
|
-
import './index-
|
|
10
|
+
import './index-c6721886.js';
|
|
12
11
|
import './filter-item-type.enum-d45e026f.js';
|
|
13
|
-
import { F as FormConfigFetcher } from './form-config-fetcher-
|
|
12
|
+
import { F as FormConfigFetcher } from './form-config-fetcher-98c42169.js';
|
|
14
13
|
import './PrintUtils-3e4ff0f5.js';
|
|
15
14
|
import '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
|
16
15
|
import '@sankhyalabs/ezui/dist/collection/utils/constants';
|