@sankhyalabs/sankhyablocks 5.19.0 → 6.0.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/dist/cjs/ConfigStorage-0a738cdc.js +304 -0
- package/dist/cjs/IExpressionItem-1090c3fd.js +7 -0
- package/dist/cjs/PersonalizedFilterUtils-7d959e91.js +229 -0
- package/dist/cjs/{SnkFormConfigManager-69df3f74.js → SnkFormConfigManager-a583f503.js} +1 -1
- package/dist/cjs/{SnkMessageBuilder-3b5b5614.js → SnkMessageBuilder-8a2d3f26.js} +65 -4
- package/dist/cjs/{filter-bar-config-fetcher-a14536bf.js → filter-bar-config-fetcher-75219599.js} +34 -11
- package/dist/cjs/{index-de79181a.js → index-59a3e2de.js} +1 -1
- package/dist/cjs/{index-f400b1d6.js → index-614af008.js} +2 -0
- package/dist/cjs/{index-21bd01e1.js → index-aaaa2af5.js} +6 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sankhyablocks.cjs.js +2 -2
- package/dist/cjs/snk-actions-button.cjs.entry.js +2 -2
- package/dist/cjs/snk-actions-form.cjs.entry.js +1 -1
- package/dist/cjs/snk-application.cjs.entry.js +4 -4
- package/dist/cjs/snk-attach.cjs.entry.js +4 -4
- package/dist/cjs/snk-client-confirm.cjs.entry.js +2 -2
- package/dist/cjs/snk-config-options.cjs.entry.js +1 -1
- package/dist/cjs/snk-configurator.cjs.entry.js +1 -1
- package/dist/cjs/snk-crud.cjs.entry.js +4 -4
- package/dist/cjs/snk-data-exporter.cjs.entry.js +4 -4
- package/dist/cjs/{snk-data-unit-e9c20097.js → snk-data-unit-53fc9200.js} +2 -2
- package/dist/cjs/snk-data-unit.cjs.entry.js +3 -3
- package/dist/cjs/snk-detail-view.cjs.entry.js +10 -10
- package/dist/cjs/snk-entity-list.cjs.entry.js +6 -4
- package/dist/cjs/snk-exporter-email-sender.cjs.entry.js +1 -1
- package/dist/cjs/snk-expression-group.cjs.entry.js +246 -0
- package/dist/cjs/{snk-filter-field-search_2.cjs.entry.js → snk-expression-item_3.cjs.entry.js} +327 -66
- package/dist/cjs/snk-field-config.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-bar.cjs.entry.js +161 -72
- package/dist/cjs/snk-filter-binary-select.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-detail.cjs.entry.js +54 -69
- package/dist/cjs/snk-filter-item.cjs.entry.js +21 -7
- package/dist/cjs/snk-filter-list.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-modal-item.cjs.entry.js +57 -29
- package/dist/cjs/snk-filter-modal.cjs.entry.js +66 -12
- package/dist/cjs/snk-filter-multi-select.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-number.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-period.cjs.entry.js +5 -3
- package/dist/cjs/snk-filter-personalized.cjs.entry.js +135 -55
- package/dist/cjs/snk-filter-search.cjs.entry.js +1 -1
- package/dist/cjs/snk-filter-text.cjs.entry.js +1 -1
- package/dist/cjs/snk-form-config.cjs.entry.js +1 -1
- package/dist/cjs/snk-form-summary.cjs.entry.js +1 -1
- package/dist/cjs/snk-form-view.cjs.entry.js +1 -1
- package/dist/cjs/snk-form.cjs.entry.js +4 -4
- package/dist/cjs/snk-grid-config.cjs.entry.js +3 -3
- package/dist/cjs/snk-grid.cjs.entry.js +7 -7
- package/dist/cjs/{snk-guides-viewer-c8843478.js → snk-guides-viewer-10ffca10.js} +5 -5
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +9 -9
- package/dist/cjs/snk-personalized-filter.cjs.entry.js +166 -94
- package/dist/cjs/snk-pesquisa.cjs.entry.js +1 -1
- package/dist/cjs/snk-select-box.cjs.entry.js +1 -1
- package/dist/cjs/snk-simple-bar.cjs.entry.js +45 -0
- package/dist/cjs/{snk-simple-bar_2.cjs.entry.js → snk-simple-crud.cjs.entry.js} +5 -43
- package/dist/cjs/snk-tab-config.cjs.entry.js +1 -1
- package/dist/cjs/snk-taskbar.cjs.entry.js +4 -4
- package/dist/cjs/{taskbar-elements-3be287d6.js → taskbar-elements-068aa945.js} +3 -3
- package/dist/cjs/{taskbar-processor-02f0fc84.js → taskbar-processor-6442c585.js} +1 -1
- package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/snk-actions-button/subcomponents/snk-client-confirm.js +1 -1
- package/dist/collection/components/snk-entity-list/snk-entity-list.js +6 -4
- package/dist/collection/components/snk-filter-bar/filter-item/dataunitfilter/data-unit-filter-builder.js +34 -12
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-period.js +4 -2
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-personalized/snk-filter-personalized.css +66 -0
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-personalized/snk-filter-personalized.js +370 -0
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-detail.js +52 -68
- package/dist/collection/components/snk-filter-bar/filter-item/snk-filter-item.js +20 -6
- 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 +110 -10
- package/dist/collection/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.js +98 -27
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.css +21 -0
- package/dist/collection/components/snk-filter-bar/snk-filter-bar.js +100 -49
- package/dist/collection/components/snk-filter-bar/types/custom-element-filter.js +1 -0
- package/dist/collection/components/snk-filter-bar/utils/SnkFilterModalFactory.js +22 -3
- package/dist/collection/components/snk-filter-bar/utils/filters-mock.js +96 -0
- package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.css +1 -1
- package/dist/collection/components/snk-filter-field-search/snk-filter-field-search.js +27 -6
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.css +39 -2
- package/dist/collection/components/snk-personalized-filter/snk-personalized-filter.js +276 -30
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.css +73 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.js +443 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.js +16 -24
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.css +18 -4
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.js +131 -21
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/interfaces/IExpressionGroup.js +0 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/interfaces/IExpressionItem.js +5 -1
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/interfaces/IParameter.js +1 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/interfaces/IPersonalizedFilter.js +1 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/interfaces/index.js +3 -0
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/snk-filter-param-config.js +1 -1
- package/dist/collection/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.js +184 -15
- package/dist/collection/lib/@types/index.js +2 -0
- package/dist/collection/lib/configs/ConfigStorage.js +15 -0
- package/dist/collection/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.js +36 -13
- package/dist/collection/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.js +106 -4
- package/dist/collection/lib/message/resources/snk-filter-bar.msg.js +15 -2
- package/dist/collection/lib/message/resources/snk-filter-field-search.msg.js +2 -0
- package/dist/collection/lib/message/resources/snk-personalized-filter.msg.js +48 -2
- package/dist/components/ConfigStorage.js +180 -1
- package/dist/components/PersonalizedFilterUtils.js +227 -0
- package/dist/components/SnkMessageBuilder.js +65 -4
- package/dist/components/filter-bar-config-fetcher.js +34 -11
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index2.js +3 -1
- package/dist/components/snk-client-confirm.js +1 -1
- package/dist/components/snk-crud.js +65 -35
- package/dist/components/snk-data-exporter2.js +1 -1
- package/dist/components/snk-detail-view2.js +99 -44
- package/dist/components/snk-entity-list.js +6 -4
- package/dist/components/snk-expression-group.d.ts +11 -0
- package/dist/components/snk-expression-group.js +6 -0
- package/dist/components/snk-expression-group2.js +296 -0
- package/dist/components/snk-expression-item2.js +133 -46
- package/dist/components/snk-filter-bar2.js +195 -68
- package/dist/components/snk-filter-detail2.js +52 -68
- package/dist/components/snk-filter-field-search2.js +26 -5
- package/dist/components/snk-filter-item2.js +20 -6
- package/dist/components/snk-filter-modal-item2.js +54 -27
- package/dist/components/snk-filter-modal.js +68 -12
- package/dist/components/snk-filter-param-config2.js +3 -57
- package/dist/components/snk-filter-period.js +4 -2
- package/dist/components/snk-filter-personalized.js +139 -58
- package/dist/components/snk-grid2.js +52 -16
- package/dist/components/snk-personalized-filter.js +1 -153
- package/dist/components/snk-personalized-filter2.js +238 -0
- package/dist/esm/ConfigStorage-9f4d2e67.js +300 -0
- package/dist/esm/IExpressionItem-2e922b2c.js +7 -0
- package/dist/esm/PersonalizedFilterUtils-202cd721.js +227 -0
- package/dist/esm/{SnkFormConfigManager-e60367a0.js → SnkFormConfigManager-def999fe.js} +1 -1
- package/dist/esm/{SnkMessageBuilder-188a38bb.js → SnkMessageBuilder-cc4d1599.js} +65 -4
- package/dist/esm/{filter-bar-config-fetcher-edc48f4b.js → filter-bar-config-fetcher-bd2070a3.js} +34 -11
- package/dist/esm/{index-cfd4bb13.js → index-8c3d76a6.js} +6 -1
- package/dist/esm/{index-507e19ec.js → index-a255b326.js} +3 -1
- package/dist/esm/{index-8efbf198.js → index-d60ca0ac.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/sankhyablocks.js +3 -3
- package/dist/esm/snk-actions-button.entry.js +2 -2
- package/dist/esm/snk-actions-form.entry.js +1 -1
- package/dist/esm/snk-application.entry.js +4 -4
- package/dist/esm/snk-attach.entry.js +4 -4
- package/dist/esm/snk-client-confirm.entry.js +2 -2
- package/dist/esm/snk-config-options.entry.js +1 -1
- package/dist/esm/snk-configurator.entry.js +1 -1
- package/dist/esm/snk-crud.entry.js +4 -4
- package/dist/esm/snk-data-exporter.entry.js +4 -4
- package/dist/esm/{snk-data-unit-79b1583a.js → snk-data-unit-97824457.js} +2 -2
- package/dist/esm/snk-data-unit.entry.js +3 -3
- package/dist/esm/snk-detail-view.entry.js +10 -10
- package/dist/esm/snk-entity-list.entry.js +7 -5
- package/dist/esm/snk-exporter-email-sender.entry.js +1 -1
- package/dist/esm/snk-expression-group.entry.js +242 -0
- package/dist/esm/{snk-filter-field-search_2.entry.js → snk-expression-item_3.entry.js} +326 -66
- package/dist/esm/snk-field-config.entry.js +1 -1
- package/dist/esm/snk-filter-bar.entry.js +156 -67
- package/dist/esm/snk-filter-binary-select.entry.js +1 -1
- package/dist/esm/snk-filter-detail.entry.js +55 -70
- package/dist/esm/snk-filter-item.entry.js +21 -7
- package/dist/esm/snk-filter-list.entry.js +1 -1
- package/dist/esm/snk-filter-modal-item.entry.js +57 -29
- package/dist/esm/snk-filter-modal.entry.js +66 -12
- package/dist/esm/snk-filter-multi-select.entry.js +1 -1
- package/dist/esm/snk-filter-number.entry.js +1 -1
- package/dist/esm/snk-filter-period.entry.js +5 -3
- package/dist/esm/snk-filter-personalized.entry.js +135 -55
- package/dist/esm/snk-filter-search.entry.js +1 -1
- package/dist/esm/snk-filter-text.entry.js +1 -1
- package/dist/esm/snk-form-config.entry.js +1 -1
- package/dist/esm/snk-form-summary.entry.js +1 -1
- package/dist/esm/snk-form-view.entry.js +1 -1
- package/dist/esm/snk-form.entry.js +4 -4
- package/dist/esm/snk-grid-config.entry.js +3 -3
- package/dist/esm/snk-grid.entry.js +7 -7
- package/dist/esm/{snk-guides-viewer-59d3a78c.js → snk-guides-viewer-0380f3df.js} +5 -5
- package/dist/esm/snk-guides-viewer.entry.js +9 -9
- package/dist/esm/snk-personalized-filter.entry.js +166 -94
- package/dist/esm/snk-pesquisa.entry.js +1 -1
- package/dist/esm/snk-select-box.entry.js +1 -1
- package/dist/esm/snk-simple-bar.entry.js +41 -0
- package/dist/esm/{snk-simple-bar_2.entry.js → snk-simple-crud.entry.js} +7 -44
- package/dist/esm/snk-tab-config.entry.js +1 -1
- package/dist/esm/snk-taskbar.entry.js +4 -4
- package/dist/esm/{taskbar-elements-8ff33c26.js → taskbar-elements-26d0fba3.js} +3 -3
- package/dist/esm/{taskbar-processor-20de6616.js → taskbar-processor-dfef41a8.js} +1 -1
- package/dist/esm/teste-pesquisa.entry.js +1 -1
- package/dist/sankhyablocks/{p-f27dc5e9.entry.js → p-00d1cac4.entry.js} +1 -1
- package/dist/sankhyablocks/{p-b9667fbe.js → p-066ee142.js} +2 -2
- package/dist/sankhyablocks/p-09a058ba.entry.js +1 -0
- package/dist/sankhyablocks/{p-82bc4666.entry.js → p-0dec4d29.entry.js} +1 -1
- package/dist/sankhyablocks/{p-1e6a95f5.entry.js → p-12632b8e.entry.js} +1 -1
- package/dist/sankhyablocks/{p-384c4a6b.js → p-18b34bb4.js} +1 -1
- package/dist/sankhyablocks/{p-538c057a.entry.js → p-2ad89e28.entry.js} +1 -1
- package/dist/sankhyablocks/p-2d5108b3.js +1 -0
- package/dist/sankhyablocks/{p-ff398057.entry.js → p-34cd4b39.entry.js} +1 -1
- package/dist/sankhyablocks/p-36ecb6ab.js +1 -0
- package/dist/sankhyablocks/p-372e0185.entry.js +1 -0
- package/dist/sankhyablocks/p-3be34bd1.entry.js +1 -0
- package/dist/sankhyablocks/p-3d45107f.js +1 -0
- package/dist/sankhyablocks/{p-28c12f65.js → p-463e0936.js} +1 -1
- package/dist/sankhyablocks/{p-e701646c.entry.js → p-49d628d1.entry.js} +1 -1
- package/dist/sankhyablocks/{p-e642bf7a.entry.js → p-50db4bc4.entry.js} +1 -1
- package/dist/sankhyablocks/{p-093febff.entry.js → p-5427566a.entry.js} +1 -1
- package/dist/sankhyablocks/{p-6a02e236.js → p-590d8900.js} +1 -1
- package/dist/sankhyablocks/p-5a6c090e.entry.js +1 -0
- package/dist/sankhyablocks/p-639be4aa.entry.js +1 -0
- package/dist/sankhyablocks/{p-e2bb9c9a.entry.js → p-67a19b48.entry.js} +1 -1
- package/dist/sankhyablocks/{p-19692f92.js → p-69770075.js} +1 -1
- package/dist/sankhyablocks/p-6d4169fc.entry.js +1 -0
- package/dist/sankhyablocks/{p-0b40c655.js → p-708ee8ee.js} +1 -1
- package/dist/sankhyablocks/{p-9af04fc7.entry.js → p-718cc24b.entry.js} +1 -1
- package/dist/sankhyablocks/{p-2d0fc912.entry.js → p-7946512f.entry.js} +1 -1
- package/dist/sankhyablocks/{p-900b2889.entry.js → p-7a5e1be7.entry.js} +1 -1
- package/dist/sankhyablocks/p-801b8858.js +68 -0
- package/dist/sankhyablocks/{p-80e52e85.entry.js → p-847b9506.entry.js} +1 -1
- package/dist/sankhyablocks/{p-56d70073.entry.js → p-8d541539.entry.js} +1 -1
- package/dist/sankhyablocks/{p-584a315a.entry.js → p-8e98a893.entry.js} +1 -1
- package/dist/sankhyablocks/p-9731180c.entry.js +1 -0
- package/dist/sankhyablocks/p-a6055eb9.entry.js +1 -0
- package/dist/sankhyablocks/{p-b680fa7a.entry.js → p-a655ea15.entry.js} +1 -1
- package/dist/sankhyablocks/{p-b75ce8b8.entry.js → p-a8b06801.entry.js} +1 -1
- package/dist/sankhyablocks/{p-b25450ab.js → p-a8e5ded0.js} +1 -1
- package/dist/sankhyablocks/{p-6ac29569.entry.js → p-b66b99d9.entry.js} +1 -1
- package/dist/sankhyablocks/p-b7efc49a.entry.js +1 -0
- package/dist/sankhyablocks/{p-9c7f7214.entry.js → p-b91ee370.entry.js} +1 -1
- package/dist/sankhyablocks/{p-e551b19a.entry.js → p-b940798f.entry.js} +1 -1
- package/dist/sankhyablocks/{p-72e78de0.entry.js → p-bbefb3b2.entry.js} +1 -1
- package/dist/sankhyablocks/p-bdd61fa8.entry.js +1 -0
- package/dist/sankhyablocks/{p-f8c66aa3.entry.js → p-c06973e7.entry.js} +1 -1
- package/dist/sankhyablocks/{p-257c71a7.entry.js → p-c17e19a2.entry.js} +1 -1
- package/dist/sankhyablocks/p-c6bf66e0.js +1 -0
- package/dist/sankhyablocks/p-cf90a195.entry.js +1 -0
- package/dist/sankhyablocks/{p-44c2ed16.entry.js → p-d11c5026.entry.js} +1 -1
- package/dist/sankhyablocks/p-d5145c3f.entry.js +1 -0
- package/dist/sankhyablocks/p-de328b00.entry.js +1 -0
- package/dist/sankhyablocks/{p-971abcc2.entry.js → p-e500863b.entry.js} +1 -1
- package/dist/sankhyablocks/{p-22e44b9d.entry.js → p-e824aef2.entry.js} +1 -1
- package/dist/sankhyablocks/{p-4ce96831.entry.js → p-eb24c092.entry.js} +1 -1
- package/dist/sankhyablocks/{p-4c2015a9.js → p-eb90de43.js} +1 -1
- package/dist/sankhyablocks/p-ebb8de34.entry.js +1 -0
- package/dist/sankhyablocks/{p-8652d177.entry.js → p-fc512cbe.entry.js} +1 -1
- package/dist/sankhyablocks/{p-786ae316.entry.js → p-fced1d89.entry.js} +1 -1
- package/dist/sankhyablocks/{p-e0b4aec3.entry.js → p-fdb43927.entry.js} +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-personalized/snk-filter-personalized.d.ts +85 -0
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-detail.d.ts +6 -6
- package/dist/types/components/snk-filter-bar/filter-item/snk-filter-item.d.ts +2 -0
- package/dist/types/components/snk-filter-bar/filter-modal/snk-filter-modal.d.ts +18 -1
- package/dist/types/components/snk-filter-bar/filter-modal/subcomponents/snk-filter-modal-item.d.ts +14 -6
- package/dist/types/components/snk-filter-bar/snk-filter-bar.d.ts +10 -3
- package/dist/types/components/snk-filter-bar/types/custom-element-filter.d.ts +6 -0
- package/dist/types/components/snk-filter-bar/utils/SnkFilterModalFactory.d.ts +10 -1
- package/dist/types/components/snk-filter-bar/utils/filters-mock.d.ts +92 -15
- package/dist/types/components/snk-filter-field-search/interfaces/index.d.ts +5 -11
- package/dist/types/components/snk-filter-field-search/snk-filter-field-search.d.ts +3 -0
- package/dist/types/components/snk-personalized-filter/snk-personalized-filter.d.ts +39 -6
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-group/snk-expression-group.d.ts +82 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-item/filter-operands/filter-operands.d.ts +1 -1
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-expression-item/snk-expression-item.d.ts +13 -1
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-param-config/interfaces/IExpressionGroup.d.ts +0 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-param-config/interfaces/IExpressionItem.d.ts +23 -3
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-param-config/interfaces/IParameter.d.ts +21 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-param-config/interfaces/IPersonalizedFilter.d.ts +11 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-param-config/interfaces/index.d.ts +3 -0
- package/dist/types/components/snk-personalized-filter/subcomponents/snk-filter-param-config/utils/PersonalizedFilterUtils.d.ts +14 -2
- package/dist/types/components.d.ts +169 -10
- package/dist/types/lib/@types/index.d.ts +3 -1
- package/dist/types/lib/configs/ConfigStorage.d.ts +5 -0
- package/dist/types/lib/http/data-fetcher/fetchers/filter-bar-config-fetcher.d.ts +4 -2
- package/dist/types/lib/http/data-fetcher/fetchers/personalized-filter-fetcher.d.ts +5 -0
- package/dist/types/lib/store/index.d.ts +1 -2
- package/package.json +5 -5
- package/react/components.d.ts +1 -0
- package/react/components.js +1 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ConfigStorage-f68c3607.js +0 -124
- package/dist/cjs/index-8d94b7e0.js +0 -7
- package/dist/cjs/snk-expression-item.cjs.entry.js +0 -213
- package/dist/collection/components/snk-filter-bar/filter-item/editors/snk-filter-personalized.js +0 -214
- package/dist/esm/ConfigStorage-e6c17998.js +0 -121
- package/dist/esm/index-620ac460.js +0 -7
- package/dist/esm/snk-expression-item.entry.js +0 -209
- package/dist/sankhyablocks/p-0b6ddb67.entry.js +0 -1
- package/dist/sankhyablocks/p-0c2afa63.entry.js +0 -1
- package/dist/sankhyablocks/p-343699ad.entry.js +0 -1
- package/dist/sankhyablocks/p-471568c7.entry.js +0 -1
- package/dist/sankhyablocks/p-6c2c71ca.js +0 -1
- package/dist/sankhyablocks/p-8ce9ea9f.entry.js +0 -1
- package/dist/sankhyablocks/p-8efb0f47.entry.js +0 -1
- package/dist/sankhyablocks/p-9a448ff9.entry.js +0 -1
- package/dist/sankhyablocks/p-9e50681c.entry.js +0 -1
- package/dist/sankhyablocks/p-9f66bc54.entry.js +0 -1
- package/dist/sankhyablocks/p-b1c02726.js +0 -1
- package/dist/sankhyablocks/p-b34d23fa.js +0 -1
- package/dist/sankhyablocks/p-c20dd153.entry.js +0 -1
- package/dist/sankhyablocks/p-cbb5c440.entry.js +0 -1
- package/dist/sankhyablocks/p-f3241ada.entry.js +0 -1
- package/dist/sankhyablocks/p-f4184ce7.js +0 -1
- package/dist/sankhyablocks/p-ff96b509.entry.js +0 -27
- package/dist/types/components/snk-filter-bar/filter-item/editors/snk-filter-personalized.d.ts +0 -40
@@ -1,14 +1,14 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-8c3d76a6.js';
|
2
2
|
import { StringUtils, ElementIDUtils } from '@sankhyalabs/core';
|
3
3
|
import { ApplicationUtils, DialogType } from '@sankhyalabs/ezui/dist/collection/utils';
|
4
4
|
import { CheckMode } from '@sankhyalabs/ezui/dist/collection/components/ez-check/CheckMode';
|
5
|
-
import { C as ConfigStorage } from './ConfigStorage-
|
5
|
+
import { C as ConfigStorage } from './ConfigStorage-9f4d2e67.js';
|
6
6
|
import { O as ORDER_VALUES } from './constants-e916ccc3.js';
|
7
7
|
import './form-config-fetcher-cac8cd96.js';
|
8
8
|
import './DataFetcher-b3d8b2d5.js';
|
9
9
|
import './_commonjsHelpers-9943807e.js';
|
10
10
|
import './resource-fetcher-02642924.js';
|
11
|
-
import './filter-bar-config-fetcher-
|
11
|
+
import './filter-bar-config-fetcher-bd2070a3.js';
|
12
12
|
import './filter-item-type.enum-5028ed3f.js';
|
13
13
|
|
14
14
|
const snkGridConfigCss = ".sc-snk-grid-config-h{--snk-grid-config__footer--padding-top:var(--space--medium, 12px);--snk-grid-config__main--padding-right:var(--space--medium, 12px);--snk-grid-config__tabselector-container--padding:var(--space--medium, 12px);--snk-grid-config__button-close--padding-left:var(--space--medium, 12px);--snk-grid-config__title--color:var(--title--primary, #2B3A54);--snk-grid-config__title--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__title--font-size:var(--title--large, 20px);--snk-grid-config__title--font-weight:var(--text-weight--extra-large, 700);--snk-grid-config__subtitle--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__subtitle--font-size:var(--text--medium, 14px);--snk-grid-config__group--font-family:var(--font-pattern, \"Roboto\");--snk-grid-config__group--font-size:var(--text--medium, 14px);--snk-grid-config__group--font-weight:var(--text-weight--large, 600);--snk-grid-config__group--padding-bottom:var(--space-small, 6px);--snk-grid-config__scrollbar--color-default:var(--scrollbar--default, #626e82);--snk-grid-config__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--snk-grid-config__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--snk-grid-config__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--snk-grid-config__scrollbar--border-radius:var(--border--radius-small, 6px);--snk-grid-config__scrollbar--width:var(--space--medium, 12px);display:grid;grid-template-rows:auto 1fr auto;max-height:100%;width:100%}@media screen and (min-width: 480px){.sc-snk-grid-config-h{width:359px;max-width:359px}}.padding-right--medium.sc-snk-grid-config{padding-right:var(--space--medium)}ez-list.sc-snk-grid-config{height:100%}.height-calc.sc-snk-grid-config{max-height:calc(100% - 24px)}.grid-config__footer.sc-snk-grid-config{display:flex;justify-content:flex-end;width:100%;padding-top:var(--snk-grid-config__footer--padding-top)}.hidden.sc-snk-grid-config{display:none}.tabselector-container.sc-snk-grid-config{padding:var(--snk-grid-config__tabselector-container--padding) 0}.button-close.sc-snk-grid-config{padding-left:var(--snk-grid-config__button-close--padding-left)}.title-container.sc-snk-grid-config{display:flex;justify-content:space-between;align-items:center;width:100%}.title.sc-snk-grid-config{display:flex;margin:0;line-height:normal;letter-spacing:0em;text-align:left;color:var(--snk-grid-config__title--color);font-size:var(--snk-grid-config__title--font-size);font-family:var(--snk-grid-config__title--font-family);font-weight:var(--snk-grid-config__title--font-weight)}.subtitle.sc-snk-grid-config{color:var(--text--primary);font-size:var(--snk-grid-config__subtitle--font-size);font-family:var(--snk-grid-config__subtitle--font-family)}.grid-config__main.sc-snk-grid-config{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--snk-grid-config__scrollbar--color-clicked) var(--snk-grid-config__scrollbar--color-background);padding-right:var(--snk-grid-config__main--padding-right)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar{width:var(--snk-grid-config__scrollbar--width);max-width:var(--snk-grid-config__scrollbar--width);min-width:var(--snk-grid-config__scrollbar--width);background-color:var(--snk-grid-config__scrollbar--color-background)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-track{background-color:var(--snk-grid-config__scrollbar--color-background);border-radius:var(--snk-grid-config__scrollbar--border-radius)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb{background-color:var(--snk-grid-config__scrollbar--color-default);border-radius:var(--snk-grid-config__scrollbar--border-radius)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:vertical:hover,.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--snk-grid-config__scrollbar--color-hover)}.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:vertical:active,.grid-config__main.sc-snk-grid-config::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--snk-grid-config__scrollbar--color-clicked)}.group-name.sc-snk-grid-config{font-family:var(--snk-grid-config__group--font-family);font-size:var(--snk-grid-config__group--font-size);font-weight:var(--snk-grid-config__group--font-weight);padding-bottom:var(--snk-grid-config__group--padding-bottom)}";
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-8c3d76a6.js';
|
2
2
|
import { UserInterface, DateUtils, ElementIDUtils, ApplicationContext, DataType } from '@sankhyalabs/core';
|
3
3
|
import { UserInterface as UserInterface$1 } from '@sankhyalabs/core/dist/dataunit/metadata/UnitMetadata';
|
4
|
-
import { T as TaskbarElement } from './taskbar-elements-
|
5
|
-
import { C as ConfigStorage } from './ConfigStorage-
|
6
|
-
import { P as PresentationMode } from './index-
|
7
|
-
import { T as TaskbarProcessor } from './taskbar-processor-
|
8
|
-
import { s as store } from './index-
|
4
|
+
import { T as TaskbarElement } from './taskbar-elements-26d0fba3.js';
|
5
|
+
import { C as ConfigStorage } from './ConfigStorage-9f4d2e67.js';
|
6
|
+
import { P as PresentationMode } from './index-a255b326.js';
|
7
|
+
import { T as TaskbarProcessor } from './taskbar-processor-dfef41a8.js';
|
8
|
+
import { s as store } from './index-d60ca0ac.js';
|
9
9
|
import './form-config-fetcher-cac8cd96.js';
|
10
10
|
import './DataFetcher-b3d8b2d5.js';
|
11
11
|
import './_commonjsHelpers-9943807e.js';
|
12
12
|
import './resource-fetcher-02642924.js';
|
13
|
-
import './filter-bar-config-fetcher-
|
13
|
+
import './filter-bar-config-fetcher-bd2070a3.js';
|
14
14
|
import './filter-item-type.enum-5028ed3f.js';
|
15
15
|
|
16
16
|
class SnkMultiSelectionListDataSource {
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-8c3d76a6.js';
|
2
2
|
import { ElementIDUtils } from '@sankhyalabs/core';
|
3
|
-
import { S as SnkFormConfigManager } from './SnkFormConfigManager-
|
3
|
+
import { S as SnkFormConfigManager } from './SnkFormConfigManager-def999fe.js';
|
4
4
|
import { buildFormMetadata, FormMetadata } from '@sankhyalabs/ezui/dist/collection/utils/form';
|
5
|
-
import { T as TaskbarProcessor } from './taskbar-processor-
|
6
|
-
import { T as TaskbarElement } from './taskbar-elements-
|
5
|
+
import { T as TaskbarProcessor } from './taskbar-processor-dfef41a8.js';
|
6
|
+
import { T as TaskbarElement } from './taskbar-elements-26d0fba3.js';
|
7
7
|
import { c as VIEW_MODE } from './constants-e916ccc3.js';
|
8
8
|
import './DataFetcher-b3d8b2d5.js';
|
9
9
|
import './pesquisa-fetcher-bd6af0e3.js';
|
10
|
-
import { P as PresentationMode } from './index-
|
10
|
+
import { P as PresentationMode } from './index-a255b326.js';
|
11
11
|
|
12
12
|
const snkGuidesViewerCss = ".sc-snk-guides-viewer-h{--snk-guides-viewer--space-large:var(--space--large, 24px);--snk-guides-viewer--space-medium:var(--space--medium, 12px);--snk-guides-viewer__header--min-height:94px;--snk-guides-viewer__header--z-index:var(--more-visible, 2);--snk-guides-viewer__header--background-color:var(--background--body, #fafcff);--snk-guides-viewer__guide-navigator--width:340px;display:block}snk-form-view.sc-snk-guides-viewer{width:100%}.snk-guides-viewer.sc-snk-guides-viewer{position:relative;padding-left:0px;padding-top:0px;padding-right:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-large)}.snk-guides-viewer__detail-container.sc-snk-guides-viewer{display:flex;row-gap:24px;flex-direction:column}.snk-guides-viewer__header.sc-snk-guides-viewer{position:sticky;align-items:center;top:0;z-index:var(--snk-guides-viewer__header--z-index);background-color:var(--snk-guides-viewer__header--background-color);min-height:var(--snk-guides-viewer__header--min-height);width:calc(100% + (var(--snk-guides-viewer--space-large) * 2));padding-left:var(--snk-guides-viewer--space-large);padding-right:var(--snk-guides-viewer--space-large);padding-top:var(--snk-guides-viewer--space-large);padding-bottom:var(--snk-guides-viewer--space-medium);margin-left:calc(var(--snk-guides-viewer--space-large) * -1);margin-right:calc(var(--snk-guides-viewer--space-large) * -1);margin-bottom:var(--snk-guides-viewer--space-medium)}.snk-guides-viewer__container.sc-snk-guides-viewer{display:grid;grid-template-columns:minmax(0, auto) minmax(0, 100%);height:100%;column-gap:var(--snk-guides-viewer--space-large)}.snk-guides-viewer__guide-navigator.sc-snk-guides-viewer{position:sticky;top:calc(var(--snk-guides-viewer__header--min-height) + var(--snk-guides-viewer--space-medium));height:calc(100vh - var(--snk-guides-viewer__header--min-height) - var(--snk-guides-viewer--space-large) - var(--snk-guides-viewer--space-medium))}.snk-guides-viewer__guide-navigator[open].sc-snk-guides-viewer{width:var(--snk-guides-viewer__guide-navigator--width);max-width:var(--snk-guides-viewer__guide-navigator--width);min-width:var(--snk-guides-viewer__guide-navigator--width)}.snk-guides-viewer__detail-content.sc-snk-guides-viewer{min-height:100%;align-items:flex-start;align-content:flex-start}";
|
13
13
|
|
@@ -1,18 +1,18 @@
|
|
1
|
-
export { S as snk_guides_viewer } from './snk-guides-viewer-
|
2
|
-
import './index-
|
1
|
+
export { S as snk_guides_viewer } from './snk-guides-viewer-0380f3df.js';
|
2
|
+
import './index-8c3d76a6.js';
|
3
3
|
import '@sankhyalabs/core';
|
4
|
-
import './SnkFormConfigManager-
|
5
|
-
import './ConfigStorage-
|
4
|
+
import './SnkFormConfigManager-def999fe.js';
|
5
|
+
import './ConfigStorage-9f4d2e67.js';
|
6
6
|
import './form-config-fetcher-cac8cd96.js';
|
7
7
|
import './DataFetcher-b3d8b2d5.js';
|
8
8
|
import './_commonjsHelpers-9943807e.js';
|
9
9
|
import './resource-fetcher-02642924.js';
|
10
|
-
import './filter-bar-config-fetcher-
|
10
|
+
import './filter-bar-config-fetcher-bd2070a3.js';
|
11
11
|
import './filter-item-type.enum-5028ed3f.js';
|
12
12
|
import '@sankhyalabs/ezui/dist/collection/utils/form';
|
13
|
-
import './taskbar-processor-
|
14
|
-
import './taskbar-elements-
|
15
|
-
import './index-
|
16
|
-
import './index-
|
13
|
+
import './taskbar-processor-dfef41a8.js';
|
14
|
+
import './taskbar-elements-26d0fba3.js';
|
15
|
+
import './index-a255b326.js';
|
16
|
+
import './index-d60ca0ac.js';
|
17
17
|
import './constants-e916ccc3.js';
|
18
18
|
import './pesquisa-fetcher-bd6af0e3.js';
|
@@ -1,121 +1,193 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-8c3d76a6.js';
|
2
|
+
import { StringUtils, ObjectUtils, ApplicationContext } from '@sankhyalabs/core';
|
3
|
+
import { P as PersonalizedFilterUtils } from './PersonalizedFilterUtils-202cd721.js';
|
4
|
+
import { P as PersonalizedFilterFetcher, C as ConfigStorage } from './ConfigStorage-9f4d2e67.js';
|
5
|
+
import { ApplicationUtils } from '@sankhyalabs/ezui/dist/collection/utils';
|
6
|
+
import { F as FilterGroupCondition } from './IExpressionItem-2e922b2c.js';
|
7
|
+
import { s as store } from './index-d60ca0ac.js';
|
8
|
+
import './index-a255b326.js';
|
9
|
+
import './filter-item-type.enum-5028ed3f.js';
|
10
|
+
import './form-config-fetcher-cac8cd96.js';
|
11
|
+
import './DataFetcher-b3d8b2d5.js';
|
6
12
|
import './_commonjsHelpers-9943807e.js';
|
13
|
+
import './resource-fetcher-02642924.js';
|
14
|
+
import './filter-bar-config-fetcher-bd2070a3.js';
|
7
15
|
|
8
|
-
|
9
|
-
constructor() {
|
10
|
-
this.templateByQuery = new Map();
|
11
|
-
this.buildTemplates();
|
12
|
-
}
|
13
|
-
buildTemplates() {
|
14
|
-
const query = dist.gql `
|
15
|
-
query($name: String!) {
|
16
|
-
$queryAlias$: fetchFilterFields(name: $name){
|
17
|
-
currentLink {
|
18
|
-
description
|
19
|
-
uri
|
20
|
-
}
|
21
|
-
links {
|
22
|
-
description
|
23
|
-
uri
|
24
|
-
fieldCount
|
25
|
-
}
|
26
|
-
fields {
|
27
|
-
name
|
28
|
-
description
|
29
|
-
uri
|
30
|
-
onlyDate
|
31
|
-
dataType
|
32
|
-
userInterface
|
33
|
-
properties {
|
34
|
-
name
|
35
|
-
value
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
40
|
-
`;
|
41
|
-
this.templateByQuery.set("fetchFilterFields", query);
|
42
|
-
}
|
43
|
-
loadFields(uri) {
|
44
|
-
return new Promise((resolve, reject) => {
|
45
|
-
DataFetcher.get()
|
46
|
-
.callGraphQL({
|
47
|
-
values: { name: uri },
|
48
|
-
query: this.templateByQuery.get("fetchFilterFields"),
|
49
|
-
})
|
50
|
-
.then((resp) => {
|
51
|
-
let fields = resp.fields;
|
52
|
-
for (const field of fields) {
|
53
|
-
if (Array.isArray(field.properties) && field.properties.length > 0 && field.userInterface === "SEARCH") {
|
54
|
-
const propertiesConvertedObject = field.properties.reduce((accumulator, prop) => {
|
55
|
-
accumulator[prop.name] = prop.value;
|
56
|
-
return accumulator;
|
57
|
-
}, {});
|
58
|
-
field.properties = propertiesConvertedObject;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
resolve(Object.assign(Object.assign({}, resp), { fields: fields }));
|
62
|
-
})
|
63
|
-
.catch((error) => {
|
64
|
-
reject(error);
|
65
|
-
});
|
66
|
-
});
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
const snkPersonalizedFilterCss = ":host{display:flex}";
|
16
|
+
const snkPersonalizedFilterCss = ".sc-snk-personalized-filter-h{display:flex;height:100%;padding:var(--space--large, 24px);--snk-personalized-filter--width:100%;--snk-personalized-filter--height:100%;--snk-personalized-filter--background-color-line:var(--color--disable-secondary);--snk-personalized-filter--margin-line:var(--border--radius-medium, 12px)}.snk-personalized-filter.sc-snk-personalized-filter{height:var(--snk-personalized-filter--width);width:var(--snk-personalized-filter--height)}.snk-personalized-filter__header-actions.sc-snk-personalized-filter{display:flex;gap:var(--space--medium)}.snk-personalized-filter__group.sc-snk-personalized-filter{flex:1}.snk-personalized-filter__expression-input--line.sc-snk-personalized-filter{width:100%;height:2px;background-color:var(--snk-personalized-filter--background-color-line);margin-top:var(--snk-personalized-filter--margin-line);margin-bottom:var(--snk-personalized-filter--margin-line)}.ez-box__main.sc-snk-personalized-filter{height:90%}";
|
71
17
|
|
72
18
|
const SnkPersonalizedFilter = class {
|
73
19
|
constructor(hostRef) {
|
74
20
|
registerInstance(this, hostRef);
|
21
|
+
this.ezCancel = createEvent(this, "ezCancel", 7);
|
22
|
+
this.ezSave = createEvent(this, "ezSave", 7);
|
75
23
|
this._personalizedFilterFetcher = new PersonalizedFilterFetcher();
|
76
24
|
this._dataSourceFetcher = {
|
77
25
|
fetchData: async (entity) => {
|
78
26
|
let entityURI = entity === null || entity === void 0 ? void 0 : entity.uri;
|
79
27
|
if (StringUtils.isEmpty(entityURI)) {
|
80
|
-
entityURI =
|
28
|
+
entityURI = this.entityUri;
|
81
29
|
}
|
82
30
|
return await this._personalizedFilterFetcher.loadFields(entityURI);
|
83
31
|
}
|
84
32
|
};
|
85
|
-
this.
|
86
|
-
|
87
|
-
fieldName: "CODBCO",
|
88
|
-
description: "Financeiro >> Banco",
|
89
|
-
type: FilterUserConfigTypes.DECIMAL,
|
90
|
-
expression: "Financeiro.CODBCO",
|
91
|
-
operand: FilterOperand.EQUAL,
|
92
|
-
paramVariable: false,
|
93
|
-
value: "61",
|
94
|
-
systemConfig: null,
|
95
|
-
userConfig: null
|
96
|
-
};
|
97
|
-
this.handleFilterItemChange = (changes) => {
|
98
|
-
console.log("Campo do ExpressionItem alterado");
|
99
|
-
console.log(changes);
|
100
|
-
};
|
101
|
-
this.handleFilterItemRemove = (expression) => {
|
102
|
-
console.log("Event de deleção disparado");
|
103
|
-
console.log(expression);
|
104
|
-
};
|
33
|
+
this._filterAssistentMode = true;
|
34
|
+
this._filterAssistent = undefined;
|
105
35
|
this.messagesBuilder = undefined;
|
36
|
+
this.entityUri = undefined;
|
37
|
+
this.filterId = undefined;
|
38
|
+
this.configName = undefined;
|
39
|
+
}
|
40
|
+
/*
|
41
|
+
* Cria um novo filtro se não houver nenhum filtro existente
|
42
|
+
*/
|
43
|
+
async createPersonalizedFilter() {
|
44
|
+
const newPersonalizedFilter = {
|
45
|
+
name: "",
|
46
|
+
active: true,
|
47
|
+
expression: "",
|
48
|
+
parameters: [],
|
49
|
+
assistent: {
|
50
|
+
id: StringUtils.generateUUID(),
|
51
|
+
items: [
|
52
|
+
{
|
53
|
+
id: StringUtils.generateUUID(),
|
54
|
+
entityName: "",
|
55
|
+
fieldName: "",
|
56
|
+
description: "",
|
57
|
+
fieldLabel: "Valor",
|
58
|
+
type: undefined,
|
59
|
+
expression: undefined,
|
60
|
+
operand: undefined,
|
61
|
+
paramVariable: false,
|
62
|
+
value: undefined,
|
63
|
+
systemConfig: null,
|
64
|
+
userConfig: null
|
65
|
+
}
|
66
|
+
],
|
67
|
+
childrenGroups: [],
|
68
|
+
operand: FilterGroupCondition.AND
|
69
|
+
}
|
70
|
+
};
|
71
|
+
this._originalFilterAssistent = ObjectUtils.copy(newPersonalizedFilter);
|
72
|
+
this._filterAssistent = ObjectUtils.copy(newPersonalizedFilter);
|
73
|
+
}
|
74
|
+
loadFilter(newValue, oldValue) {
|
75
|
+
if (newValue == null || oldValue == newValue) {
|
76
|
+
return;
|
77
|
+
}
|
78
|
+
ConfigStorage.get().then((_instance) => {
|
79
|
+
ConfigStorage.loadPersonalizedFilter(newValue, this.configName)
|
80
|
+
.then((resp) => {
|
81
|
+
const personalizedFilter = this.addLabelToItems(resp);
|
82
|
+
this._filterAssistent = personalizedFilter;
|
83
|
+
this._originalFilterAssistent = ObjectUtils.copy(personalizedFilter);
|
84
|
+
this._filterAssistentMode = this._filterAssistent.hasOwnProperty("assistent") && this._filterAssistent.assistent != undefined;
|
85
|
+
});
|
86
|
+
});
|
106
87
|
}
|
107
88
|
componentWillLoad() {
|
108
|
-
|
109
|
-
|
89
|
+
var _a;
|
90
|
+
if (store.get(`filterFieldsDataSource.${this.entityUri}`) == undefined) {
|
91
|
+
store.set(`filterFieldsDataSource.${this.entityUri}`, this._dataSourceFetcher);
|
110
92
|
}
|
111
93
|
if (!this.messagesBuilder) {
|
112
|
-
|
113
|
-
this.messagesBuilder =
|
94
|
+
this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
95
|
+
this.messagesBuilder = (_a = this._application) === null || _a === void 0 ? void 0 : _a.messagesBuilder;
|
114
96
|
}
|
97
|
+
this.loadFilter(this.filterId, undefined);
|
98
|
+
}
|
99
|
+
getMessage(key, params) {
|
100
|
+
return this._application.messagesBuilder.getMessage(key, params);
|
101
|
+
}
|
102
|
+
saveFilter() {
|
103
|
+
ConfigStorage.savePersonalizedFilter(this._filterAssistent, this.configName).then((personalizedFilter) => {
|
104
|
+
this._elButtonSave.enabled = false;
|
105
|
+
ApplicationUtils.info(this.getMessage("snkPersonalizedFilter.confirmSave.title", { name: this._filterAssistent.name }), { iconName: "check" });
|
106
|
+
const updatedFilterAssistent = Object.assign(Object.assign({}, personalizedFilter), this._filterAssistent);
|
107
|
+
updatedFilterAssistent.parameters = PersonalizedFilterUtils.buildVariableParameters(this._filterAssistent.assistent);
|
108
|
+
this._originalFilterAssistent = ObjectUtils.copy(updatedFilterAssistent);
|
109
|
+
this._filterAssistent = ObjectUtils.copy(updatedFilterAssistent);
|
110
|
+
});
|
111
|
+
}
|
112
|
+
removeFilter() {
|
113
|
+
ConfigStorage.removePersonalizedFilter(this._filterAssistent, this.configName);
|
114
|
+
}
|
115
|
+
async handleFilterGroupChange() {
|
116
|
+
const assistent = await this._mainExpressionGroup.getExpressionGroup();
|
117
|
+
this._filterAssistent = Object.assign(Object.assign({}, this._filterAssistent), { assistent });
|
118
|
+
this._filterAssistent.parameters = PersonalizedFilterUtils.buildVariableParameters(this._filterAssistent.assistent);
|
119
|
+
this._elTextAreaExpression.value = PersonalizedFilterUtils.buildGroupExpression(this._filterAssistent.assistent, true);
|
120
|
+
this._elButtonSave.enabled = !this.hasChangesToSave();
|
121
|
+
}
|
122
|
+
hasChangesToSave() {
|
123
|
+
return JSON.stringify(this._filterAssistent) === JSON.stringify(this._originalFilterAssistent);
|
124
|
+
}
|
125
|
+
handleSave() {
|
126
|
+
const { assistent, expression } = this._filterAssistent;
|
127
|
+
const isValid = PersonalizedFilterUtils.validateFields(assistent);
|
128
|
+
if (!isValid || !this._filterAssistent.name)
|
129
|
+
return this._application.error(this.getMessage("snkPersonalizedFilter.error.title"), this.getMessage("snkPersonalizedFilter.error.description"));
|
130
|
+
const expressionQuery = !!assistent ? PersonalizedFilterUtils.buildGroupExpression(assistent) : expression;
|
131
|
+
this._filterAssistent.expression = expressionQuery;
|
132
|
+
this.ezSave.emit(expressionQuery);
|
133
|
+
this.saveFilter();
|
134
|
+
}
|
135
|
+
handleCancel() {
|
136
|
+
if (this.hasChangesToSave()) {
|
137
|
+
return this.ezCancel.emit();
|
138
|
+
}
|
139
|
+
ApplicationUtils.confirm(this.getMessage("snkPersonalizedFilter.confirmCancel.title"), this.getMessage("snkPersonalizedFilter.confirmCancel.description"))
|
140
|
+
.then((canCancel) => {
|
141
|
+
var _a;
|
142
|
+
if (canCancel) {
|
143
|
+
this._filterAssistent = ObjectUtils.copy((_a = this._originalFilterAssistent) !== null && _a !== void 0 ? _a : {});
|
144
|
+
this.ezCancel.emit();
|
145
|
+
this._elButtonSave.enabled = false;
|
146
|
+
}
|
147
|
+
});
|
148
|
+
}
|
149
|
+
handleTitleChange(name) {
|
150
|
+
this._filterAssistent = Object.assign(Object.assign({}, this._filterAssistent), { name });
|
151
|
+
this._elButtonSave.enabled = !this.hasChangesToSave();
|
152
|
+
}
|
153
|
+
addLabelToItems(resp) {
|
154
|
+
//Workaround: Alguns filtros foram salvos sem o fieldLabel. Para evitar transtornos
|
155
|
+
//tentamos usar o fieldLabel que pode estar informado no parametro.
|
156
|
+
if (resp.assistent && resp.assistent.items && resp.assistent.items.length > 0) {
|
157
|
+
resp.assistent.items.forEach(item => {
|
158
|
+
if (item.fieldLabel == undefined) {
|
159
|
+
const param = (resp.parameters || []).find(param => param.fieldName === item.fieldName);
|
160
|
+
if (param) {
|
161
|
+
item.fieldLabel = param.label;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
});
|
165
|
+
}
|
166
|
+
return resp;
|
167
|
+
}
|
168
|
+
handleExpressionChange(expression) {
|
169
|
+
this._filterAssistent = Object.assign(Object.assign({}, this._filterAssistent), { expression });
|
170
|
+
this._elButtonSave.enabled = !this.hasChangesToSave();
|
171
|
+
}
|
172
|
+
getWarningMessageComponent() {
|
173
|
+
var _a;
|
174
|
+
if (StringUtils.isEmpty((_a = this._filterAssistent) === null || _a === void 0 ? void 0 : _a.warningMessage)) {
|
175
|
+
return undefined;
|
176
|
+
}
|
177
|
+
return (h("div", { class: "ez-flex" }, h("ez-alert", { alertType: "warn" }, this._filterAssistent.warningMessage)));
|
115
178
|
}
|
116
179
|
render() {
|
117
|
-
|
180
|
+
var _a, _b, _c, _d, _e;
|
181
|
+
if (!((_a = this._filterAssistent) === null || _a === void 0 ? void 0 : _a.assistent) && this._filterAssistentMode) {
|
182
|
+
return;
|
183
|
+
}
|
184
|
+
return (h(Host, null, h("div", { class: "snk-personalized-filter" }, h("div", null, h("snk-simple-bar", { label: this.filterId ? this.getMessage("snkPersonalizedFilter.info.titleEdit") : this.getMessage("snkPersonalizedFilter.info.titleAdd"), onExit: () => this.handleCancel() }, h("div", { class: "snk-personalized-filter__header-actions", slot: "rightSlot" }, h("ez-button", { size: "small", label: this.getMessage("snkPersonalizedFilter.info.labelCancel"), onClick: () => this.handleCancel() }), h("ez-button", { size: "small", ref: (el) => this._elButtonSave = el, enabled: false, class: "ez-button--primary", label: this.getMessage("snkPersonalizedFilter.info.labelSave"), onClick: this.handleSave.bind(this) })))), h("div", { class: "ez-box ez-margin-bottom--medium ez-box__main" }, h("div", { class: "ez-box__container" }, h("div", { class: "ez-flex ez-flex--column ez-size-width--full" }, h("div", { class: "ez-flex" }, h("ez-text-input", { class: "ez-padding-right--medium", label: this.getMessage("snkPersonalizedFilter.info.labelNameFilter"), value: (_b = this._filterAssistent) === null || _b === void 0 ? void 0 : _b.name, onEzChange: (evt) => this.handleTitleChange(evt.detail) })), this._filterAssistentMode ?
|
185
|
+
h(Fragment, null, h("div", { class: "ez-padding-top--small snk-personalized-filter__group" }, h("snk-expression-group", { ref: (el) => this._mainExpressionGroup = el, group: (_c = this._filterAssistent) === null || _c === void 0 ? void 0 : _c.assistent, messagesBuilder: this.messagesBuilder, onEzFilterGroupChange: this.handleFilterGroupChange.bind(this), filterId: this.filterId, entityURI: this.entityUri })), h("div", null, h("div", { class: "snk-personalized-filter__expression-input--line" }), h("ez-collapsible-box", { label: this.getMessage("snkPersonalizedFilter.info.titleCollapsible"), headerSize: "medium", value: true }, h("div", { class: "ez-box" }, h("div", { class: "ez-box__container" }, h("ez-text-area", { ref: (el) => this._elTextAreaExpression = el, enabled: false, label: this.getMessage("snkPersonalizedFilter.info.labelExpression"), value: (_d = this._filterAssistent) === null || _d === void 0 ? void 0 : _d.expression })))))) :
|
186
|
+
h(Fragment, null, h("span", { class: "ez-text ez-text--small ez-text--bold ez-padding-bottom--medium" }, "Express\u00E3o a ser aplicada:"), h("ez-text-area", { label: this.getMessage("snkPersonalizedFilter.info.labelExpression"), value: (_e = this._filterAssistent) === null || _e === void 0 ? void 0 : _e.expression, onEzChange: (evt) => this.handleExpressionChange(evt.detail) }), this.getWarningMessageComponent())))))));
|
118
187
|
}
|
188
|
+
static get watchers() { return {
|
189
|
+
"filterId": ["loadFilter"]
|
190
|
+
}; }
|
119
191
|
};
|
120
192
|
SnkPersonalizedFilter.style = snkPersonalizedFilterCss;
|
121
193
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-8c3d76a6.js';
|
2
2
|
import { ObjectUtils, StringUtils, ElementIDUtils } from '@sankhyalabs/core';
|
3
3
|
|
4
4
|
const snkPesquisaCss = ".sc-snk-pesquisa-h{--snk-pesquisa--font-size:var(--text--medium, 14px);--snk-pesquisa--font-family:var(--font-pattern, Arial);--snk-pesquisa--font-weight:var(--text-weight--medium, 400);--snk-pesquisa__records--color:var(--text--primary, #626e82);--snk-pesquisa__records--padding-vertical:var(--space--medium, 12px);--snk-pesquisa__content--padding-right:var(--space--small, 6px);--snk-pesquisa__btn--color:var(--title--primary, #2B3A54);--snk-pesquisa__btn-disabled--color:var(--text--disable, #AFB6C0);--snk-pesquisa__btn-hover--color:var(--color--primary, #4e4e4e);--snk-pesquisa__scrollbar--color-default:var(--scrollbar--default, #626e82);--snk-pesquisa__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--snk-pesquisa__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--snk-pesquisa__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--snk-pesquisa__scrollbar--border-radius:var(--border--radius-small, 6px);--snk-pesquisa__scrollbar--width:var(--space--medium, 12px);max-height:100%;height:100%;display:flex;flex-direction:column;overflow-y:auto}.snk-pesquisa.sc-snk-pesquisa{display:flex;flex-direction:column;height:100%}.snk-pesquisa__input.sc-snk-pesquisa{display:flex;width:100%;box-sizing:border-box;padding-top:4px;padding-right:4px}.snk-pesquisa__input.sc-snk-pesquisa ez-icon.sc-snk-pesquisa{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.snk-pesquisa__content.sc-snk-pesquisa{display:flex;flex-direction:column;height:100%;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--snk-pesquisa__scrollbar--color-clicked) var(--snk-pesquisa__scrollbar--color-background);padding-right:var(--snk-pesquisa__content--padding-right)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar{background-color:var(--snk-pesquisa__scrollbar--color-background);width:var(--snk-pesquisa__scrollbar--width);max-width:var(--snk-pesquisa__scrollbar--width);min-width:var(--snk-pesquisa__scrollbar--width)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-track{background-color:var(--snk-pesquisa__scrollbar--color-background);border-radius:var(--snk-pesquisa__scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb{background-color:var(--snk-pesquisa__scrollbar--color-default);border-radius:var(--snk-pesquisa__scrollbar--border-radius)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:vertical:hover,.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--snk-pesquisa__scrollbar--color-hover)}.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:vertical:active,.snk-pesquisa__content.sc-snk-pesquisa::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--snk-pesquisa__scrollbar--color-clicked)}.snk-pesquisa__records.sc-snk-pesquisa{font-family:var(--snk-pesquisa--font-family);font-weight:var(--snk-pesquisa--font-weight);font-size:var(--snk-pesquisa--font-size);color:var(--snk-pesquisa__records--color);padding-bottom:var(--snk-pesquisa__records--padding-vertical);padding-top:var(--snk-pesquisa__records--padding-vertical)}.snk-pesquisa__btn.sc-snk-pesquisa{outline:none;border:none;background:none;cursor:pointer;color:var(--snk-pesquisa__btn--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:disabled:hover{cursor:unset;color:var(--snk-pesquisa__btn-disabled--color)}.snk-pesquisa__btn.sc-snk-pesquisa:hover{color:var(--snk-pesquisa__btn-hover--color)}";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-8c3d76a6.js';
|
2
2
|
import { O as ORDER_VALUES } from './constants-e916ccc3.js';
|
3
3
|
|
4
4
|
const snkSelectBoxCss = "ez-combo-box{width:100px}.grid-config-combo{--ez-text-input--height:28px;--ez-text-input__input--background-color:#fff;--ez-text-input__input--border-color:#dce0e8}";
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-8c3d76a6.js';
|
2
|
+
import { ElementIDUtils, ApplicationContext } from '@sankhyalabs/core';
|
3
|
+
|
4
|
+
const snkSimpleBarCss = ".sc-snk-simple-bar-h{display:flex;height:100%;width:100%}.simple-bar__container.sc-snk-simple-bar{flex:1;display:flex;align-items:stretch;gap:var(--space--small)}.simple-bar__left-slot.sc-snk-simple-bar{min-width:280px;flex:1;display:flex;align-items:center}.simple-bar__right-slot.sc-snk-simple-bar{flex:1;display:flex;align-items:center;justify-content:flex-end}.simple-bar__column.sc-snk-simple-bar{flex:1;display:flex;flex-direction:column}";
|
5
|
+
|
6
|
+
const SnkSimpleBar = class {
|
7
|
+
constructor(hostRef) {
|
8
|
+
registerInstance(this, hostRef);
|
9
|
+
this.clickBreadcrumbItem = createEvent(this, "clickBreadcrumbItem", 3);
|
10
|
+
this.exit = createEvent(this, "exit", 3);
|
11
|
+
this.label = undefined;
|
12
|
+
this.breadcrumbItens = undefined;
|
13
|
+
this.messagesBuilder = undefined;
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
|
17
|
+
* através de um pequeno modulo na estrutura da aplicação:
|
18
|
+
* - Criar um arquivo no seguinte caminho: /messages/appmessages.msg.js.
|
19
|
+
* Para conhecer os detalhes do módulo, vide o arquivo neste projeto "/src/lib/message/resources/snk-simple-bar.msg.ts"
|
20
|
+
*/
|
21
|
+
getMessage(key, params) {
|
22
|
+
var _a;
|
23
|
+
if (this.messagesBuilder)
|
24
|
+
return this.messagesBuilder.getMessage(key, params);
|
25
|
+
if ((_a = this._application) === null || _a === void 0 ? void 0 : _a.messagesBuilder)
|
26
|
+
return this._application.messagesBuilder.getMessage(key, params);
|
27
|
+
}
|
28
|
+
componentDidLoad() {
|
29
|
+
if (!this._element)
|
30
|
+
return;
|
31
|
+
ElementIDUtils.addIDInfo(this._element);
|
32
|
+
this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
33
|
+
}
|
34
|
+
render() {
|
35
|
+
return (h("div", { class: "simple-bar__container ez-margin-vertical--medium ez-padding--extra-small" }, h("div", { class: "simple-bar__left-slot" }, h("ez-button", { class: "ez-padding-right--medium", title: this.getMessage('snkSimpleBar.backTitle'), mode: 'icon', iconName: "arrow_back", size: 'medium', onClick: () => this.exit.emit() }), h("div", { class: "simple-bar__column" }, h("h1", { class: "ez-title ez-title--primary ez-title--extra-large" }, this.label), h("ez-breadcrumb", { items: this.breadcrumbItens, onSelectedItem: ({ detail }) => this.clickBreadcrumbItem.emit(detail) }))), h("div", { class: "simple-bar__right-slot" }, h("slot", { name: "rightSlot" }))));
|
36
|
+
}
|
37
|
+
get _element() { return getElement(this); }
|
38
|
+
};
|
39
|
+
SnkSimpleBar.style = snkSimpleBarCss;
|
40
|
+
|
41
|
+
export { SnkSimpleBar as snk_simple_bar };
|
@@ -1,51 +1,14 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
2
|
-
import {
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-8c3d76a6.js';
|
2
|
+
import { DataUnit, StringUtils, SortMode, DataType, ChangeOperation, ObjectUtils, UserInterface } from '@sankhyalabs/core';
|
3
3
|
import { c as VIEW_MODE, S as SIMPLE_CRUD_MODE } from './constants-e916ccc3.js';
|
4
|
-
import { T as TaskbarElement } from './taskbar-elements-
|
4
|
+
import { T as TaskbarElement } from './taskbar-elements-26d0fba3.js';
|
5
5
|
import './DataFetcher-b3d8b2d5.js';
|
6
6
|
import './pesquisa-fetcher-bd6af0e3.js';
|
7
|
-
import { P as PresentationMode } from './index-
|
8
|
-
import { T as TaskbarProcessor } from './taskbar-processor-
|
9
|
-
import './index-
|
7
|
+
import { P as PresentationMode } from './index-a255b326.js';
|
8
|
+
import { T as TaskbarProcessor } from './taskbar-processor-dfef41a8.js';
|
9
|
+
import './index-d60ca0ac.js';
|
10
10
|
import './_commonjsHelpers-9943807e.js';
|
11
11
|
|
12
|
-
const snkSimpleBarCss = ".sc-snk-simple-bar-h{display:flex;height:100%;width:100%}.simple-bar__container.sc-snk-simple-bar{flex:1;display:flex;align-items:stretch;gap:var(--space--small)}.simple-bar__left-slot.sc-snk-simple-bar{min-width:280px;flex:1;display:flex;align-items:center}.simple-bar__right-slot.sc-snk-simple-bar{flex:1;display:flex;align-items:center;justify-content:flex-end}.simple-bar__column.sc-snk-simple-bar{flex:1;display:flex;flex-direction:column}";
|
13
|
-
|
14
|
-
const SnkSimpleBar = class {
|
15
|
-
constructor(hostRef) {
|
16
|
-
registerInstance(this, hostRef);
|
17
|
-
this.clickBreadcrumbItem = createEvent(this, "clickBreadcrumbItem", 3);
|
18
|
-
this.exit = createEvent(this, "exit", 3);
|
19
|
-
this.label = undefined;
|
20
|
-
this.breadcrumbItens = undefined;
|
21
|
-
this.messagesBuilder = undefined;
|
22
|
-
}
|
23
|
-
/**
|
24
|
-
* Conforme mecanismo de mensagens, é possível customizar as mensagens dos blocos de construção
|
25
|
-
* através de um pequeno modulo na estrutura da aplicação:
|
26
|
-
* - Criar um arquivo no seguinte caminho: /messages/appmessages.msg.js.
|
27
|
-
* Para conhecer os detalhes do módulo, vide o arquivo neste projeto "/src/lib/message/resources/snk-simple-bar.msg.ts"
|
28
|
-
*/
|
29
|
-
getMessage(key, params) {
|
30
|
-
var _a;
|
31
|
-
if (this.messagesBuilder)
|
32
|
-
return this.messagesBuilder.getMessage(key, params);
|
33
|
-
if ((_a = this._application) === null || _a === void 0 ? void 0 : _a.messagesBuilder)
|
34
|
-
return this._application.messagesBuilder.getMessage(key, params);
|
35
|
-
}
|
36
|
-
componentDidLoad() {
|
37
|
-
if (!this._element)
|
38
|
-
return;
|
39
|
-
ElementIDUtils.addIDInfo(this._element);
|
40
|
-
this._application = ApplicationContext.getContextValue("__SNK__APPLICATION__");
|
41
|
-
}
|
42
|
-
render() {
|
43
|
-
return (h("div", { class: "simple-bar__container ez-margin-vertical--medium ez-padding--extra-small" }, h("div", { class: "simple-bar__left-slot" }, h("ez-button", { class: "ez-padding-right--medium", title: this.getMessage('snkSimpleBar.backTitle'), mode: 'icon', iconName: "arrow_back", size: 'medium', onClick: () => this.exit.emit() }), h("div", { class: "simple-bar__column" }, h("h1", { class: "ez-title ez-title--primary ez-title--extra-large" }, this.label), h("ez-breadcrumb", { items: this.breadcrumbItens, onSelectedItem: ({ detail }) => this.clickBreadcrumbItem.emit(detail) }))), h("div", { class: "simple-bar__right-slot" }, h("slot", { name: "rightSlot" }))));
|
44
|
-
}
|
45
|
-
get _element() { return getElement(this); }
|
46
|
-
};
|
47
|
-
SnkSimpleBar.style = snkSimpleBarCss;
|
48
|
-
|
49
12
|
class InMemoryLoader {
|
50
13
|
constructor(metadata, records) {
|
51
14
|
this.records = records || [];
|
@@ -323,4 +286,4 @@ const SnkSimpleCrud = class {
|
|
323
286
|
};
|
324
287
|
SnkSimpleCrud.style = snkSimpleCrudCss;
|
325
288
|
|
326
|
-
export {
|
289
|
+
export { SnkSimpleCrud as snk_simple_crud };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-8c3d76a6.js';
|
2
2
|
import { d as draggable_bundle } from './draggable.bundle-41d56f06.js';
|
3
3
|
import { ApplicationContext, ElementIDUtils } from '@sankhyalabs/core';
|
4
4
|
import { C as CONFIG_EVENTS, K as KEY_EVENTS, b as TYPE_ACTIONS, T as TAB_NAMES } from './constants-e916ccc3.js';
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-8c3d76a6.js';
|
2
2
|
import { StringUtils, ApplicationContext, ElementIDUtils } from '@sankhyalabs/core';
|
3
3
|
import { A as AuthorizationConfig } from './AuthorizationConfig-dcbd207a.js';
|
4
|
-
import { T as TaskbarElement, V as VisibleWhenForbidden, A as AuthorizationElements, b as buildElem, a as buildCustomButton } from './taskbar-elements-
|
5
|
-
import { P as PresentationMode } from './index-
|
6
|
-
import './index-
|
4
|
+
import { T as TaskbarElement, V as VisibleWhenForbidden, A as AuthorizationElements, b as buildElem, a as buildCustomButton } from './taskbar-elements-26d0fba3.js';
|
5
|
+
import { P as PresentationMode } from './index-a255b326.js';
|
6
|
+
import './index-d60ca0ac.js';
|
7
7
|
|
8
8
|
const snkTaskbarCss = ".sc-snk-taskbar-h{display:flex}";
|
9
9
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { h } from './index-
|
2
|
-
import { P as PresentationMode } from './index-
|
3
|
-
import { s as store } from './index-
|
1
|
+
import { h } from './index-8c3d76a6.js';
|
2
|
+
import { P as PresentationMode } from './index-a255b326.js';
|
3
|
+
import { s as store } from './index-d60ca0ac.js';
|
4
4
|
|
5
5
|
var TaskbarElement;
|
6
6
|
(function (TaskbarElement) {
|