@sankhyalabs/sankhyablocks 5.16.0 → 5.18.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/ParamType-90b440a0.js +13 -0
- package/dist/cjs/{SnkMessageBuilder-cf80308c.js → SnkMessageBuilder-3b5b5614.js} +30 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/snk-actions-button.cjs.entry.js +704 -0
- package/dist/cjs/snk-actions-form.cjs.entry.js +200 -0
- package/dist/cjs/snk-application.cjs.entry.js +1 -1
- package/dist/cjs/snk-attach.cjs.entry.js +1 -1
- package/dist/cjs/snk-client-confirm.cjs.entry.js +52 -0
- package/dist/cjs/snk-configurator.cjs.entry.js +1 -1
- package/dist/cjs/snk-crud.cjs.entry.js +1 -1
- package/dist/cjs/snk-data-exporter.cjs.entry.js +2 -2
- package/dist/cjs/{snk-data-unit-bd271acd.js → snk-data-unit-e9c20097.js} +1 -1
- package/dist/cjs/snk-data-unit.cjs.entry.js +2 -2
- package/dist/cjs/snk-detail-view.cjs.entry.js +4 -4
- package/dist/cjs/snk-grid.cjs.entry.js +4 -4
- package/dist/cjs/{snk-guides-viewer-0ab3746e.js → snk-guides-viewer-c8843478.js} +2 -2
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +3 -3
- package/dist/cjs/snk-simple-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/snk-taskbar.cjs.entry.js +1 -1
- package/dist/cjs/{taskbar-elements-bc2598f9.js → taskbar-elements-3be287d6.js} +3 -0
- package/dist/cjs/{taskbar-processor-e1e3bbf7.js → taskbar-processor-02f0fc84.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/snk-actions-button/actions/enum/ActionsType.js +8 -0
- package/dist/collection/components/snk-actions-button/actions/enum/ParamType.js +11 -0
- package/dist/collection/components/snk-actions-button/actions/enum/RefreshType.js +7 -0
- package/dist/collection/components/snk-actions-button/actions/executor/java.executor.js +22 -0
- package/dist/collection/components/snk-actions-button/actions/executor/javascript.executor.js +20 -0
- package/dist/collection/components/snk-actions-button/actions/executor/launch-screen.executor.js +42 -0
- package/dist/collection/components/snk-actions-button/actions/executor/procedure.executor.js +26 -0
- package/dist/collection/components/snk-actions-button/actions/factory/executor.factory.js +26 -0
- package/dist/collection/components/snk-actions-button/actions/index.js +343 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IAction.js +7 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecSource.js +1 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActions.js +1 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IExecuteActionsProps.js +1 -0
- package/dist/collection/components/snk-actions-button/actions/interfaces/IResultParam.js +1 -0
- package/dist/collection/components/snk-actions-button/clientEvent/index.js +87 -0
- package/dist/collection/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.js +1 -0
- package/dist/collection/components/snk-actions-button/snk-actions-button.css +38 -0
- package/dist/collection/components/snk-actions-button/snk-actions-button.js +139 -0
- package/dist/collection/components/snk-actions-button/subcomponents/snk-actions-form.js +263 -0
- package/dist/collection/components/snk-actions-button/subcomponents/snk-client-confirm.js +134 -0
- package/dist/collection/components/snk-configurator/snk-configurator.css +1 -1
- package/dist/collection/components/snk-grid/snk-grid.js +2 -2
- package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +3 -0
- package/dist/collection/lib/message/SnkMessageBuilder.js +3 -1
- package/dist/collection/lib/message/resources/snk-actions-button.msg.js +27 -0
- package/dist/components/ParamType.js +13 -0
- package/dist/components/SnkMessageBuilder.js +30 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/components/snk-actions-button.d.ts +11 -0
- package/dist/components/snk-actions-button.js +6 -0
- package/dist/components/snk-actions-button2.js +718 -0
- package/dist/components/snk-actions-form.d.ts +11 -0
- package/dist/components/snk-actions-form.js +218 -0
- package/dist/components/snk-attach2.js +7 -1
- package/dist/components/snk-client-confirm.d.ts +11 -0
- package/dist/components/snk-client-confirm.js +71 -0
- package/dist/components/snk-configurator2.js +1 -1
- package/dist/components/snk-crud.js +7 -1
- package/dist/components/snk-detail-view2.js +13 -2
- package/dist/components/snk-grid2.js +9 -3
- package/dist/components/snk-simple-crud2.js +7 -1
- package/dist/components/snk-taskbar2.js +10 -1
- package/dist/esm/ParamType-d5152b06.js +13 -0
- package/dist/esm/{SnkMessageBuilder-1a169545.js → SnkMessageBuilder-188a38bb.js} +30 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/snk-actions-button.entry.js +700 -0
- package/dist/esm/snk-actions-form.entry.js +196 -0
- package/dist/esm/snk-application.entry.js +1 -1
- package/dist/esm/snk-attach.entry.js +1 -1
- package/dist/esm/snk-client-confirm.entry.js +48 -0
- package/dist/esm/snk-configurator.entry.js +1 -1
- package/dist/esm/snk-crud.entry.js +1 -1
- package/dist/esm/snk-data-exporter.entry.js +2 -2
- package/dist/esm/{snk-data-unit-476024e9.js → snk-data-unit-79b1583a.js} +1 -1
- package/dist/esm/snk-data-unit.entry.js +2 -2
- package/dist/esm/snk-detail-view.entry.js +4 -4
- package/dist/esm/snk-grid.entry.js +4 -4
- package/dist/esm/{snk-guides-viewer-767f5a74.js → snk-guides-viewer-59d3a78c.js} +2 -2
- package/dist/esm/snk-guides-viewer.entry.js +3 -3
- package/dist/esm/snk-simple-bar_2.entry.js +2 -2
- package/dist/esm/snk-taskbar.entry.js +1 -1
- package/dist/esm/{taskbar-elements-e6af3e93.js → taskbar-elements-8ff33c26.js} +3 -0
- package/dist/esm/{taskbar-processor-a40798b8.js → taskbar-processor-20de6616.js} +1 -1
- package/dist/sankhyablocks/{p-3e17b147.js → p-0b40c655.js} +1 -1
- package/dist/sankhyablocks/{p-de9caf1e.entry.js → p-0b6ddb67.entry.js} +1 -1
- package/dist/sankhyablocks/p-19692f92.js +1 -0
- package/dist/sankhyablocks/{p-6df8c88b.entry.js → p-257c71a7.entry.js} +1 -1
- package/dist/sankhyablocks/{p-551165d8.js → p-28c12f65.js} +1 -1
- package/dist/sankhyablocks/{p-78de64fb.entry.js → p-2d0fc912.entry.js} +1 -1
- package/dist/sankhyablocks/p-384c4a6b.js +1 -0
- package/dist/sankhyablocks/{p-f43629f3.entry.js → p-44c2ed16.entry.js} +1 -1
- package/dist/sankhyablocks/{p-4f05a335.entry.js → p-44cf545f.entry.js} +1 -1
- package/dist/sankhyablocks/{p-ec1c64be.entry.js → p-8ce9ea9f.entry.js} +1 -1
- package/dist/sankhyablocks/{p-e0c04667.entry.js → p-9c7f7214.entry.js} +1 -1
- package/dist/sankhyablocks/p-9f66bc54.entry.js +1 -0
- package/dist/sankhyablocks/{p-c74fca58.js → p-b34d23fa.js} +1 -1
- package/dist/sankhyablocks/p-b680fa7a.entry.js +1 -0
- package/dist/sankhyablocks/p-b75ce8b8.entry.js +1 -0
- package/dist/sankhyablocks/{p-9e92ed74.entry.js → p-cbe93a18.entry.js} +2 -2
- package/dist/sankhyablocks/p-eaad0aa8.js +1 -0
- package/dist/sankhyablocks/{p-7956b9dd.entry.js → p-eb07d0eb.entry.js} +1 -1
- package/dist/sankhyablocks/p-f27dc5e9.entry.js +1 -0
- package/dist/sankhyablocks/p-fa2d0376.entry.js +1 -0
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-actions-button/actions/enum/ActionsType.d.ts +7 -0
- package/dist/types/components/snk-actions-button/actions/enum/ParamType.d.ts +10 -0
- package/dist/types/components/snk-actions-button/actions/enum/RefreshType.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/executor/java.executor.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/executor/javascript.executor.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/executor/launch-screen.executor.d.ts +10 -0
- package/dist/types/components/snk-actions-button/actions/executor/procedure.executor.d.ts +6 -0
- package/dist/types/components/snk-actions-button/actions/factory/executor.factory.d.ts +7 -0
- package/dist/types/components/snk-actions-button/actions/index.d.ts +27 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IAction.d.ts +55 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IExecSource.d.ts +17 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IExecuteActions.d.ts +4 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IExecuteActionsProps.d.ts +4 -0
- package/dist/types/components/snk-actions-button/actions/interfaces/IResultParam.d.ts +14 -0
- package/dist/types/components/snk-actions-button/clientEvent/index.d.ts +4 -0
- package/dist/types/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.d.ts +35 -0
- package/dist/types/components/snk-actions-button/snk-actions-button.d.ts +27 -0
- package/dist/types/components/snk-actions-button/subcomponents/snk-actions-form.d.ts +41 -0
- package/dist/types/components/snk-actions-button/subcomponents/snk-client-confirm.d.ts +31 -0
- package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +2 -1
- package/dist/types/components.d.ts +96 -0
- package/dist/types/lib/message/resources/snk-actions-button.msg.d.ts +1 -0
- package/package.json +1 -1
- package/react/components.d.ts +3 -0
- package/react/components.js +3 -0
- package/react/components.js.map +1 -1
- package/dist/sankhyablocks/p-1c5d5e5c.entry.js +0 -1
- package/dist/sankhyablocks/p-39082fc3.js +0 -1
- package/dist/sankhyablocks/p-8d40909d.entry.js +0 -1
- package/dist/sankhyablocks/p-d410f45a.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{p as e,b as t}from"./p-b9667fbe.js";export{s as setNonce}from"./p-b9667fbe.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t([["p-ff96b509",[[0,"snk-personalized-filter",{messagesBuilder:[1040]}]]],["p-e551b19a",[[1,"teste-pesquisa"]]],["p-f3241ada",[[0,"snk-filter-modal",{getMessage:[16],filters:[1040],applyFilters:[16],clearAll:[16],closeModal:[16]}]]],["p-0c2afa63",[[2,"snk-entity-list",{config:[1040],rightListSlotBuilder:[1040],maxHeightList:[1,"max-height-list"],_searchValue:[32],_ezListSource:[32],reloadList:[64]}]]],["p-9cbc3925",[[0,"snk-filter-binary-select",{value:[1544],config:[16],presentationMode:[2,"presentation-mode"]},[[0,"ezChange","ezChangeListener"]]]]],["p-093febff",[[4,"snk-filter-list",{label:[1],iconName:[1,"icon-name"],items:[16],getMessage:[16],emptyText:[1,"empty-text"],findFilterText:[1,"find-filter-text"],buttonClass:[1,"button-class"],_filterArgument:[32],_showAll:[32],hideDetail:[64]},[[2,"keydown","keyDownHandler"]]]]],["p-786ae316",[[0,"snk-filter-multi-select",{value:[1544],config:[16],show:[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-e2bb9c9a",[[0,"snk-filter-number",{config:[16],value:[2],show:[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-80e52e85",[[0,"snk-filter-period",{config:[16],getMessage:[16],value:[8],presentationMode:[2,"presentation-mode"],show:[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-8efb0f47",[[0,"snk-filter-personalized",{config:[16],value:[1040],fix:[16],unfix:[16],show:[64]}]]],["p-4ce96831",[[0,"snk-filter-search",{config:[16],value:[16],show:[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-9af04fc7",[[0,"snk-filter-text",{config:[16],value:[1]},[[0,"ezChange","ezChangeListener"]]]]],["p-343699ad",[[2,"snk-expression-item",{expression:[16],canRemove:[516,"can-remove"],messagesBuilder:[1040],_showValueVariable:[32],_fieldSelected:[32],_optionNotNull:[32]}]]],["p-c20dd153",[[0,"snk-filter-modal-item",{filterItem:[1040]}]]],["p-
|
1
|
+
import{p as e,b as t}from"./p-b9667fbe.js";export{s as setNonce}from"./p-b9667fbe.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t([["p-ff96b509",[[0,"snk-personalized-filter",{messagesBuilder:[1040]}]]],["p-e551b19a",[[1,"teste-pesquisa"]]],["p-f3241ada",[[0,"snk-filter-modal",{getMessage:[16],filters:[1040],applyFilters:[16],clearAll:[16],closeModal:[16]}]]],["p-b680fa7a",[[2,"snk-actions-form",{action:[16],applyParameters:[16],dataUnit:[32],openPopup:[64]}]]],["p-b75ce8b8",[[2,"snk-client-confirm",{titleMessage:[1,"title-message"],message:[1],accept:[16],cancel:[16],openPopup:[64]}]]],["p-0c2afa63",[[2,"snk-entity-list",{config:[1040],rightListSlotBuilder:[1040],maxHeightList:[1,"max-height-list"],_searchValue:[32],_ezListSource:[32],reloadList:[64]}]]],["p-9cbc3925",[[0,"snk-filter-binary-select",{value:[1544],config:[16],presentationMode:[2,"presentation-mode"]},[[0,"ezChange","ezChangeListener"]]]]],["p-093febff",[[4,"snk-filter-list",{label:[1],iconName:[1,"icon-name"],items:[16],getMessage:[16],emptyText:[1,"empty-text"],findFilterText:[1,"find-filter-text"],buttonClass:[1,"button-class"],_filterArgument:[32],_showAll:[32],hideDetail:[64]},[[2,"keydown","keyDownHandler"]]]]],["p-786ae316",[[0,"snk-filter-multi-select",{value:[1544],config:[16],show:[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-e2bb9c9a",[[0,"snk-filter-number",{config:[16],value:[2],show:[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-80e52e85",[[0,"snk-filter-period",{config:[16],getMessage:[16],value:[8],presentationMode:[2,"presentation-mode"],show:[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-8efb0f47",[[0,"snk-filter-personalized",{config:[16],value:[1040],fix:[16],unfix:[16],show:[64]}]]],["p-4ce96831",[[0,"snk-filter-search",{config:[16],value:[16],show:[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-9af04fc7",[[0,"snk-filter-text",{config:[16],value:[1]},[[0,"ezChange","ezChangeListener"]]]]],["p-343699ad",[[2,"snk-expression-item",{expression:[16],canRemove:[516,"can-remove"],messagesBuilder:[1040],_showValueVariable:[32],_fieldSelected:[32],_optionNotNull:[32]}]]],["p-c20dd153",[[0,"snk-filter-modal-item",{filterItem:[1040]}]]],["p-44c2ed16",[[2,"snk-detail-view",{formConfigManager:[1040],dataUnitName:[1,"data-unit-name"],guideItemPath:[16],entityName:[1,"entity-name"],label:[1],dataUnit:[1040],selectedForm:[1025,"selected-form"],dataState:[1040],messagesBuilder:[1040],branchGuide:[16],_disabledButtons:[32],attachmentRegisterKey:[32],changeViewMode:[64],configGrid:[64],showUp:[64]},[[0,"snkContentCardChanged","onContentCardChanged"]]]]],["p-44cf545f",[[6,"snk-configurator",{showActionButtons:[4,"show-action-buttons"],configName:[1,"config-name"],viewMode:[2,"view-mode"],messagesBuilder:[1040],_opened:[32],_permissions:[32],open:[64],close:[64]}]]],["p-e701646c",[[2,"snk-pesquisa",{searchLoader:[16],selectItem:[16],argument:[1025],_itemList:[32],_startLoading:[32]}]]],["p-9a448ff9",[[2,"snk-filter-bar",{dataUnit:[1040],configName:[1,"config-name"],filterConfig:[1040],messagesBuilder:[1040],allowDefault:[32],scrollerLocked:[32],reload:[64]},[[0,"filterChange","filterChangeListener"]]]]],["p-e0b4aec3",[[1,"snk-select-box",{selectedOption:[1,"selected-option"]}]]],["p-1e6a95f5",[[2,"snk-grid-config",{selectedIndex:[1026,"selected-index"],application:[16],columns:[1040],config:[1040],configName:[1,"config-name"]}]]],["p-6ac29569",[[2,"snk-config-options",{fieldConfig:[16],idConfig:[513,"id-config"],dataUnit:[16],messagesBuilder:[1040],_defaultType:[32]}]]],["p-f8c66aa3",[[2,"snk-field-config",{isConfigActive:[16],fieldConfig:[16],modeInsertion:[516,"mode-insertion"],dataUnit:[16],messagesBuilder:[1040]}]]],["p-72e78de0",[[6,"snk-tab-config",{selectedIndex:[1538,"selected-index"],selectedTab:[1537,"selected-tab"],tabs:[1],tabItems:[16],messagesBuilder:[1040],_processedTabs:[32],_activeEditText:[32],_activeEditTextIndex:[32],_actionsHide:[32],_actionsShow:[32]}]]],["p-584a315a",[[2,"snk-form-config",{dataUnit:[16],configManager:[16],messagesBuilder:[1040],_formConfigOptions:[32],_fieldConfigSelected:[32],_layoutFormConfig:[32],_fieldsAvailable:[32],_formConfig:[32],_formConfigChanged:[32],_optionFormConfigSelected:[32],_optionFormConfigChanged:[32],_tempGroups:[32]}]]],["p-9e50681c",[[2,"snk-filter-field-search",{searchable:[4],fieldsDataSource:[16],breadcrumbItems:[32],linkItems:[32],fieldItems:[32],show:[64],applyFilter:[64]}],[0,"snk-filter-param-config",{messagesBuilder:[1040],_opened:[32],_configType:[32],_expressionItem:[32],_informedInstance:[32],_canSave:[32],open:[64],close:[64]}]]],["p-cbb5c440",[[0,"snk-filter-item",{config:[1040],getMessage:[16],detailIsVisible:[32],showUp:[64],hideDetail:[64]},[[2,"click","clickListener"],[2,"mousedown","mouseDownListener"],[0,"filterChange","filterChangeListener"]]]]],["p-9f66bc54",[[2,"snk-data-unit",{dataState:[1040],messagesBuilder:[1040],dataUnitName:[1,"data-unit-name"],entityName:[1,"entity-name"],pageSize:[2,"page-size"],dataUnit:[1040],beforeSave:[16],afterSave:[16],useCancelConfirm:[4,"use-cancel-confirm"],getDataUnit:[64],getSelectedRecordsIDsInfo:[64]}]]],["p-22e44b9d",[[0,"snk-exporter-email-sender",{getMessage:[16],_config:[32],_opened:[32],_currentStep:[32],open:[64],close:[64]}]]],["p-2d0fc912",[[2,"snk-data-exporter",{provider:[16],messagesBuilder:[1040],_items:[32],_showDropdown:[32],_releasedToExport:[32]}]]],["p-f27dc5e9",[[2,"snk-actions-button",{_items:[32],_showDropdown:[32],_actions:[32],_isOrderActions:[32]}]]],["p-257c71a7",[[6,"snk-taskbar",{configName:[1,"config-name"],buttons:[1],customButtons:[16],actionsList:[16],primaryButton:[1,"primary-button"],disabledButtons:[16],dataUnit:[16],presentationMode:[1537,"presentation-mode"],messagesBuilder:[1040],_permissions:[32]}]]],["p-fa2d0376",[[6,"snk-grid",{configName:[1,"config-name"],actionsList:[16],isDetail:[4,"is-detail"],taskbarManager:[16],statusResolver:[16],multipleSelection:[4,"multiple-selection"],presentationMode:[1,"presentation-mode"],messagesBuilder:[1040],_dataUnit:[32],_dataState:[32],_gridConfig:[32],_popUpGridConfig:[32],showConfig:[64],hideConfig:[64],setConfig:[64],reloadFilterBar:[64]}]]],["p-8ce9ea9f",[[2,"snk-guides-viewer",{_guideBuilders:[16],dataUnit:[16],dataState:[16],configName:[1,"config-name"],entityPath:[1,"entity-path"],actionsList:[16],recordsValidator:[16],masterFormConfig:[1040],selectedGuide:[16],taskbarManager:[16],messagesBuilder:[1040],presentationMode:[1,"presentation-mode"],_breadcrumbItems:[32],_guides:[32],_formEditorConfigManager:[32],_formEditorDataUnit:[32],showFormConfig:[64]},[[2,"actionClick","onActionClick"],[0,"snkContentCardChanged","onContentCardChanged"]]]]],["p-9c7f7214",[[6,"snk-crud",{configName:[1025,"config-name"],showActionButtons:[4,"show-action-buttons"],actionsList:[16],taskbarManager:[16],recordsValidator:[16],statusResolver:[16],multipleSelection:[4,"multiple-selection"],presentationMode:[1,"presentation-mode"],messagesBuilder:[1040],_dataUnit:[32],_dataState:[32],attachmentRegisterKey:[32],_currentViewMode:[32],goToView:[64],openConfigurator:[64],closeConfigurator:[64],reloadFilterBar:[64]}]]],["p-e642bf7a",[[2,"snk-form",{configName:[1,"config-name"],recordsValidator:[16],messagesBuilder:[1040],_dataUnit:[32],_dataState:[32],_showFormConfig:[32],_configManager:[32],showConfig:[64],hideConfig:[64]}]]],["p-cbe93a18",[[2,"snk-application",{messagesBuilder:[1040],configName:[1,"config-name"],isUserSup:[64],initOnboarding:[64],hasAccess:[64],getAllAccess:[64],getStringParam:[64],getIntParam:[64],getFloatParam:[64],getBooleanParam:[64],getDateParam:[64],showPopUp:[64],showModal:[64],closeModal:[64],closePopUp:[64],temOpcional:[64],getConfig:[64],saveConfig:[64],getAttributeFromHTMLWrapper:[64],openApp:[64],webConnection:[64],createDataunit:[64],updateDataunitCache:[64],getDataUnit:[64],addClientEvent:[64],removeClientEvent:[64],hasClientEvent:[64],getResourceID:[64],getUserID:[64],alert:[64],error:[64],success:[64],message:[64],confirm:[64],info:[64],loadGridConfig:[64],loadTotals:[64],executeSearch:[64],executePreparedSearch:[64],isDebugMode:[64],getAppLabel:[64],addSearchListener:[64]}]]],["p-eb07d0eb",[[2,"snk-attach",{registerKey:[1,"register-key"],entityName:[1,"entity-name"],messagesBuilder:[1040],dataUnit:[32],crudConfig:[32]}]]],["p-900b2889",[[2,"snk-form-summary",{fixed:[1540],contracted:[1540],summary:[16]}]]],["p-56d70073",[[6,"snk-form-view",{levelPath:[1,"level-path"],label:[1],name:[1],fields:[16],formMetadata:[8,"form-metadata"],dataUnit:[16],contracted:[4],fixed:[1540],summaryFields:[16],canExpand:[4,"can-expand"],canFix:[4,"can-fix"],recordsValidator:[16],showUp:[64]}]]],["p-471568c7",[[0,"snk-filter-detail",{config:[1040],getMessage:[16],show:[64]}]]],["p-0b6ddb67",[[6,"snk-simple-crud",{dataState:[16],dataUnit:[16],mode:[2],gridConfig:[16],formConfig:[16],useCancelConfirm:[4,"use-cancel-confirm"],taskbarManager:[16],messagesBuilder:[1040],_currentViewMode:[32],_config:[32],goToView:[64],setMetadata:[64],setRecords:[64],getRecords:[64]},[[0,"actionClick","actionClickListener"]]],[6,"snk-simple-bar",{label:[1],breadcrumbItens:[16],messagesBuilder:[1040]}]]]],e)));
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import ExecuteActionsInterface from "../interfaces/IExecuteActions";
|
2
|
+
import { IAction } from "../interfaces/IAction";
|
3
|
+
export default class JavascriptExecutor implements ExecuteActionsInterface {
|
4
|
+
execute(action: IAction): Promise<any>;
|
5
|
+
private callExecScript;
|
6
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { DataUnit } from "@sankhyalabs/core";
|
2
|
+
import { SnkApplication } from "../../../snk-application/snk-application";
|
3
|
+
import ExecuteActionsInterface from "../interfaces/IExecuteActions";
|
4
|
+
import { IAction } from "../interfaces/IAction";
|
5
|
+
export default class LaunchScreenExecutor implements ExecuteActionsInterface {
|
6
|
+
_application: SnkApplication;
|
7
|
+
constructor();
|
8
|
+
execute(action: IAction, dataUnit: DataUnit): Promise<null>;
|
9
|
+
private buildLaunchObject;
|
10
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import ExecuteActionsInterface from "../interfaces/IExecuteActions";
|
2
|
+
import { IAction } from "../interfaces/IAction";
|
3
|
+
export default class ProcedureExecutor implements ExecuteActionsInterface {
|
4
|
+
execute(action: IAction): Promise<any>;
|
5
|
+
private callExecProcedure;
|
6
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import ExecuteActionsInterface from "./interfaces/IExecuteActions";
|
2
|
+
import { IAction } from "./interfaces/IAction";
|
3
|
+
import { DataUnit } from "@sankhyalabs/core";
|
4
|
+
export default class Actions {
|
5
|
+
private _actionsExecuteInterface;
|
6
|
+
private _application;
|
7
|
+
private _selectedRows;
|
8
|
+
private _dataUnit;
|
9
|
+
private _lastValuesCache;
|
10
|
+
constructor(actionsExecuteInterface: ExecuteActionsInterface, dataUnit: DataUnit);
|
11
|
+
private apply;
|
12
|
+
execute(action: IAction): Promise<void>;
|
13
|
+
private loadSavedValuesIntoParams;
|
14
|
+
private actionExecute;
|
15
|
+
private resolvePromptParams;
|
16
|
+
private buildPromptParam;
|
17
|
+
private putParamsOnExecSource;
|
18
|
+
private getParamDataType;
|
19
|
+
private getParamValue;
|
20
|
+
private loadLastValues;
|
21
|
+
private saveLastValues;
|
22
|
+
private buildResourceId;
|
23
|
+
private prepareAndExecute;
|
24
|
+
private addRows;
|
25
|
+
private recordsReloader;
|
26
|
+
private buildVirtualPage;
|
27
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
export interface IAction {
|
2
|
+
description: string;
|
3
|
+
type: string;
|
4
|
+
actionID: string;
|
5
|
+
actionConfig: ActionsConfig;
|
6
|
+
resourceID?: string;
|
7
|
+
}
|
8
|
+
interface ActionsConfig {
|
9
|
+
laucher?: Laucher;
|
10
|
+
dbCall?: DbCall;
|
11
|
+
runScript?: RunScript;
|
12
|
+
javaCall?: JavaCall;
|
13
|
+
params: Params;
|
14
|
+
}
|
15
|
+
interface Laucher {
|
16
|
+
resourceID: string;
|
17
|
+
}
|
18
|
+
interface DbCall {
|
19
|
+
name: string;
|
20
|
+
refreshType: string;
|
21
|
+
txManual: string;
|
22
|
+
rootEntity: string;
|
23
|
+
}
|
24
|
+
interface RunScript {
|
25
|
+
$: string;
|
26
|
+
entityName: string;
|
27
|
+
refreshType: string;
|
28
|
+
txManual: string;
|
29
|
+
}
|
30
|
+
interface JavaCall {
|
31
|
+
refreshType: string;
|
32
|
+
}
|
33
|
+
interface Params {
|
34
|
+
param?: Param[];
|
35
|
+
promptParam?: PromptParam[];
|
36
|
+
}
|
37
|
+
interface Param {
|
38
|
+
localField: string;
|
39
|
+
targetField: string;
|
40
|
+
}
|
41
|
+
export interface PromptParam {
|
42
|
+
label: string;
|
43
|
+
name: string;
|
44
|
+
required: string;
|
45
|
+
saveLast: string;
|
46
|
+
paramType: string;
|
47
|
+
entityName?: string;
|
48
|
+
hierarchyEntity?: string;
|
49
|
+
options?: string;
|
50
|
+
precision?: string;
|
51
|
+
entityPK?: string;
|
52
|
+
value?: any;
|
53
|
+
isGeneratedName?: boolean;
|
54
|
+
}
|
55
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export default interface IExecSource {
|
2
|
+
actionID: string;
|
3
|
+
refreshType?: string;
|
4
|
+
procName?: string;
|
5
|
+
rootEntity?: string;
|
6
|
+
virtualPage?: any;
|
7
|
+
params?: ExecSourceParams;
|
8
|
+
rows?: ExecSourceRows;
|
9
|
+
masterEntityName?: string;
|
10
|
+
}
|
11
|
+
interface ExecSourceParams {
|
12
|
+
param: Array<any>;
|
13
|
+
}
|
14
|
+
interface ExecSourceRows {
|
15
|
+
row: Array<any>;
|
16
|
+
}
|
17
|
+
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export interface IResultParam {
|
2
|
+
description: string;
|
3
|
+
required: boolean;
|
4
|
+
fieldName: string;
|
5
|
+
fieldNameOri: string;
|
6
|
+
entityPK: string;
|
7
|
+
paramType: string;
|
8
|
+
type: string;
|
9
|
+
isCheckbox: boolean;
|
10
|
+
saveLast: string;
|
11
|
+
fieldProp: any;
|
12
|
+
value: any;
|
13
|
+
isGeneratedName: boolean;
|
14
|
+
}
|
package/dist/types/components/snk-actions-button/clientEvent/interfaces/IClientEventConfirm.d.ts
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
export interface IClientEventConfirm {
|
2
|
+
id: string;
|
3
|
+
content: ContentClientEventConfirm;
|
4
|
+
}
|
5
|
+
interface ContentClientEventConfirm {
|
6
|
+
id: string;
|
7
|
+
event: ContentEvent;
|
8
|
+
}
|
9
|
+
interface ContentEvent {
|
10
|
+
sequence: string;
|
11
|
+
showNoOption: string;
|
12
|
+
title: Messages;
|
13
|
+
message: Messages;
|
14
|
+
runScript?: RunScript;
|
15
|
+
stpCall?: any;
|
16
|
+
javaCall?: any;
|
17
|
+
}
|
18
|
+
interface Messages {
|
19
|
+
$: string;
|
20
|
+
}
|
21
|
+
interface RunScript {
|
22
|
+
actionID: string;
|
23
|
+
refreshType: string;
|
24
|
+
params: RunScriptParams;
|
25
|
+
}
|
26
|
+
interface RunScriptParams {
|
27
|
+
param: Param | Param[];
|
28
|
+
}
|
29
|
+
export interface Param {
|
30
|
+
type: string;
|
31
|
+
$?: string;
|
32
|
+
paramName?: string;
|
33
|
+
sequence?: string;
|
34
|
+
}
|
35
|
+
export {};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
export declare class SnkActionsButton {
|
2
|
+
CLIENT_EVENT_CONFIRM_NAME: string;
|
3
|
+
private _ezButton;
|
4
|
+
private _dropdownParent;
|
5
|
+
private _application;
|
6
|
+
private _resourceID;
|
7
|
+
private _entityName;
|
8
|
+
private _dataUnit;
|
9
|
+
private _element;
|
10
|
+
private _items;
|
11
|
+
private _showDropdown;
|
12
|
+
private _actions;
|
13
|
+
private _isOrderActions;
|
14
|
+
private getActions;
|
15
|
+
private handleClick;
|
16
|
+
private controlDropdown;
|
17
|
+
private canShowDropdown;
|
18
|
+
private positionDropdown;
|
19
|
+
private closeDropdown;
|
20
|
+
private setEvents;
|
21
|
+
componentWillLoad(): Promise<void>;
|
22
|
+
componentDidLoad(): Promise<void>;
|
23
|
+
componentDidUpdate(): void;
|
24
|
+
private loadItems;
|
25
|
+
private getElementID;
|
26
|
+
render(): any;
|
27
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { DataUnit } from '@sankhyalabs/core';
|
2
|
+
import { PromptParam, IAction } from '../actions/interfaces/IAction';
|
3
|
+
export declare class SnkActionsForm {
|
4
|
+
APPLY: string;
|
5
|
+
CANCEL: string;
|
6
|
+
CLOSE: string;
|
7
|
+
private _params;
|
8
|
+
private _application;
|
9
|
+
private _metadata;
|
10
|
+
private _ezForm;
|
11
|
+
private _ezPopup;
|
12
|
+
/**
|
13
|
+
* Ação na qual os parâmetros serão preenchidos.
|
14
|
+
*/
|
15
|
+
action: IAction;
|
16
|
+
/**
|
17
|
+
* Responsável por retornar a ação com os parâmetros preenchidos.
|
18
|
+
*/
|
19
|
+
applyParameters: (action: IAction) => void;
|
20
|
+
/**
|
21
|
+
* Responsável por abrir a popup.
|
22
|
+
*/
|
23
|
+
openPopup(): Promise<void>;
|
24
|
+
dataUnit: DataUnit;
|
25
|
+
exitPopup(): void;
|
26
|
+
handleApply(): Promise<void>;
|
27
|
+
searchLoader(evt: any, param: PromptParam): Promise<import("@sankhyalabs/ezui/dist/types/components/ez-combo-box/ez-combo-box").IOption | import("@sankhyalabs/ezui/dist/types/components/ez-combo-box/ez-combo-box").IOption[]>;
|
28
|
+
private getUserInterface;
|
29
|
+
private getDataType;
|
30
|
+
private getProps;
|
31
|
+
private buildFields;
|
32
|
+
private fillFields;
|
33
|
+
prepareOptions(options: string): {
|
34
|
+
value: any;
|
35
|
+
label: any;
|
36
|
+
}[];
|
37
|
+
componentWillLoad(): void;
|
38
|
+
private metadataLoader;
|
39
|
+
private handleModalAction;
|
40
|
+
render(): any;
|
41
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
export declare class SnkActionsForm {
|
2
|
+
APLICAR: string;
|
3
|
+
CANCELAR: string;
|
4
|
+
FECHAR: string;
|
5
|
+
private _application;
|
6
|
+
private _ezPopup;
|
7
|
+
/**
|
8
|
+
* Título da popup.
|
9
|
+
*/
|
10
|
+
titleMessage: string;
|
11
|
+
/**
|
12
|
+
* Mensagem da popup.
|
13
|
+
*/
|
14
|
+
message: string;
|
15
|
+
/**
|
16
|
+
* Retorno quando usuário confirmar.
|
17
|
+
*/
|
18
|
+
accept: () => void;
|
19
|
+
/**
|
20
|
+
* Retorno quando usuário cancelar.
|
21
|
+
*/
|
22
|
+
cancel: () => void;
|
23
|
+
/**
|
24
|
+
* Responsável por abrir a popup.
|
25
|
+
*/
|
26
|
+
openPopup(): Promise<void>;
|
27
|
+
private exitPopup;
|
28
|
+
private handleModalAction;
|
29
|
+
componentWillLoad(): void;
|
30
|
+
render(): any;
|
31
|
+
}
|
@@ -16,7 +16,8 @@ export declare enum TaskbarElement {
|
|
16
16
|
DIVIDER = "DIVIDER",
|
17
17
|
CONFIGURATOR = "CONFIGURATOR",
|
18
18
|
DATA_EXPORTER = "DATA_EXPORTER",
|
19
|
-
ATTACH = "ATTACH"
|
19
|
+
ATTACH = "ATTACH",
|
20
|
+
ACTIONS_BUTTON = "ACTIONS_BUTTON"
|
20
21
|
}
|
21
22
|
export declare enum AuthorizationElements {
|
22
23
|
UPDATE = "UPDATE",
|
@@ -5,6 +5,7 @@
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
6
6
|
*/
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
+
import { IAction } from "./components/snk-actions-button/actions/interfaces/IAction";
|
8
9
|
import { SnkMessageBuilder } from "./lib/message/SnkMessageBuilder";
|
9
10
|
import { AutorizationType } from "./lib/http/data-fetcher/fetchers/auth-fetcher";
|
10
11
|
import { IAppletCallerParams } from "./lib/applet-caller/applet-caller";
|
@@ -44,6 +45,22 @@ import { IBreadcrumbItem } from "@sankhyalabs/ezui/dist/types/components/ez-brea
|
|
44
45
|
import { ITab } from "./components/snk-form/subcomponents/snk-tab-config/snk-tab-config";
|
45
46
|
import { Action as Action1, CustomButton } from "./components/snk-taskbar/snk-taskbar";
|
46
47
|
export namespace Components {
|
48
|
+
interface SnkActionsButton {
|
49
|
+
}
|
50
|
+
interface SnkActionsForm {
|
51
|
+
/**
|
52
|
+
* Ação na qual os parâmetros serão preenchidos.
|
53
|
+
*/
|
54
|
+
"action": IAction;
|
55
|
+
/**
|
56
|
+
* Responsável por retornar a ação com os parâmetros preenchidos.
|
57
|
+
*/
|
58
|
+
"applyParameters": (action: IAction) => void;
|
59
|
+
/**
|
60
|
+
* Responsável por abrir a popup.
|
61
|
+
*/
|
62
|
+
"openPopup": () => Promise<void>;
|
63
|
+
}
|
47
64
|
interface SnkApplication {
|
48
65
|
/**
|
49
66
|
* Registra um client event para o DataFetcher da aplicação.
|
@@ -232,6 +249,28 @@ export namespace Components {
|
|
232
249
|
*/
|
233
250
|
"registerKey": string;
|
234
251
|
}
|
252
|
+
interface SnkClientConfirm {
|
253
|
+
/**
|
254
|
+
* Retorno quando usuário confirmar.
|
255
|
+
*/
|
256
|
+
"accept": () => void;
|
257
|
+
/**
|
258
|
+
* Retorno quando usuário cancelar.
|
259
|
+
*/
|
260
|
+
"cancel": () => void;
|
261
|
+
/**
|
262
|
+
* Mensagem da popup.
|
263
|
+
*/
|
264
|
+
"message": string;
|
265
|
+
/**
|
266
|
+
* Responsável por abrir a popup.
|
267
|
+
*/
|
268
|
+
"openPopup": () => Promise<void>;
|
269
|
+
/**
|
270
|
+
* Título da popup.
|
271
|
+
*/
|
272
|
+
"titleMessage": string;
|
273
|
+
}
|
235
274
|
interface SnkConfigOptions {
|
236
275
|
/**
|
237
276
|
* Repositório de dados responsável por controlar a manipulação dos dados.
|
@@ -1215,6 +1254,18 @@ export interface SnkTaskbarCustomEvent<T> extends CustomEvent<T> {
|
|
1215
1254
|
target: HTMLSnkTaskbarElement;
|
1216
1255
|
}
|
1217
1256
|
declare global {
|
1257
|
+
interface HTMLSnkActionsButtonElement extends Components.SnkActionsButton, HTMLStencilElement {
|
1258
|
+
}
|
1259
|
+
var HTMLSnkActionsButtonElement: {
|
1260
|
+
prototype: HTMLSnkActionsButtonElement;
|
1261
|
+
new (): HTMLSnkActionsButtonElement;
|
1262
|
+
};
|
1263
|
+
interface HTMLSnkActionsFormElement extends Components.SnkActionsForm, HTMLStencilElement {
|
1264
|
+
}
|
1265
|
+
var HTMLSnkActionsFormElement: {
|
1266
|
+
prototype: HTMLSnkActionsFormElement;
|
1267
|
+
new (): HTMLSnkActionsFormElement;
|
1268
|
+
};
|
1218
1269
|
interface HTMLSnkApplicationElement extends Components.SnkApplication, HTMLStencilElement {
|
1219
1270
|
}
|
1220
1271
|
var HTMLSnkApplicationElement: {
|
@@ -1227,6 +1278,12 @@ declare global {
|
|
1227
1278
|
prototype: HTMLSnkAttachElement;
|
1228
1279
|
new (): HTMLSnkAttachElement;
|
1229
1280
|
};
|
1281
|
+
interface HTMLSnkClientConfirmElement extends Components.SnkClientConfirm, HTMLStencilElement {
|
1282
|
+
}
|
1283
|
+
var HTMLSnkClientConfirmElement: {
|
1284
|
+
prototype: HTMLSnkClientConfirmElement;
|
1285
|
+
new (): HTMLSnkClientConfirmElement;
|
1286
|
+
};
|
1230
1287
|
interface HTMLSnkConfigOptionsElement extends Components.SnkConfigOptions, HTMLStencilElement {
|
1231
1288
|
}
|
1232
1289
|
var HTMLSnkConfigOptionsElement: {
|
@@ -1468,8 +1525,11 @@ declare global {
|
|
1468
1525
|
new (): HTMLTestePesquisaElement;
|
1469
1526
|
};
|
1470
1527
|
interface HTMLElementTagNameMap {
|
1528
|
+
"snk-actions-button": HTMLSnkActionsButtonElement;
|
1529
|
+
"snk-actions-form": HTMLSnkActionsFormElement;
|
1471
1530
|
"snk-application": HTMLSnkApplicationElement;
|
1472
1531
|
"snk-attach": HTMLSnkAttachElement;
|
1532
|
+
"snk-client-confirm": HTMLSnkClientConfirmElement;
|
1473
1533
|
"snk-config-options": HTMLSnkConfigOptionsElement;
|
1474
1534
|
"snk-configurator": HTMLSnkConfiguratorElement;
|
1475
1535
|
"snk-crud": HTMLSnkCrudElement;
|
@@ -1513,6 +1573,18 @@ declare global {
|
|
1513
1573
|
}
|
1514
1574
|
}
|
1515
1575
|
declare namespace LocalJSX {
|
1576
|
+
interface SnkActionsButton {
|
1577
|
+
}
|
1578
|
+
interface SnkActionsForm {
|
1579
|
+
/**
|
1580
|
+
* Ação na qual os parâmetros serão preenchidos.
|
1581
|
+
*/
|
1582
|
+
"action"?: IAction;
|
1583
|
+
/**
|
1584
|
+
* Responsável por retornar a ação com os parâmetros preenchidos.
|
1585
|
+
*/
|
1586
|
+
"applyParameters"?: (action: IAction) => void;
|
1587
|
+
}
|
1516
1588
|
interface SnkApplication {
|
1517
1589
|
/**
|
1518
1590
|
* Usado para salvar as configurações dos blocos de construção.
|
@@ -1546,6 +1618,24 @@ declare namespace LocalJSX {
|
|
1546
1618
|
*/
|
1547
1619
|
"registerKey": string;
|
1548
1620
|
}
|
1621
|
+
interface SnkClientConfirm {
|
1622
|
+
/**
|
1623
|
+
* Retorno quando usuário confirmar.
|
1624
|
+
*/
|
1625
|
+
"accept"?: () => void;
|
1626
|
+
/**
|
1627
|
+
* Retorno quando usuário cancelar.
|
1628
|
+
*/
|
1629
|
+
"cancel"?: () => void;
|
1630
|
+
/**
|
1631
|
+
* Mensagem da popup.
|
1632
|
+
*/
|
1633
|
+
"message"?: string;
|
1634
|
+
/**
|
1635
|
+
* Título da popup.
|
1636
|
+
*/
|
1637
|
+
"titleMessage"?: string;
|
1638
|
+
}
|
1549
1639
|
interface SnkConfigOptions {
|
1550
1640
|
/**
|
1551
1641
|
* Repositório de dados responsável por controlar a manipulação dos dados.
|
@@ -2487,8 +2577,11 @@ declare namespace LocalJSX {
|
|
2487
2577
|
interface TestePesquisa {
|
2488
2578
|
}
|
2489
2579
|
interface IntrinsicElements {
|
2580
|
+
"snk-actions-button": SnkActionsButton;
|
2581
|
+
"snk-actions-form": SnkActionsForm;
|
2490
2582
|
"snk-application": SnkApplication;
|
2491
2583
|
"snk-attach": SnkAttach;
|
2584
|
+
"snk-client-confirm": SnkClientConfirm;
|
2492
2585
|
"snk-config-options": SnkConfigOptions;
|
2493
2586
|
"snk-configurator": SnkConfigurator;
|
2494
2587
|
"snk-crud": SnkCrud;
|
@@ -2535,8 +2628,11 @@ export { LocalJSX as JSX };
|
|
2535
2628
|
declare module "@stencil/core" {
|
2536
2629
|
export namespace JSX {
|
2537
2630
|
interface IntrinsicElements {
|
2631
|
+
"snk-actions-button": LocalJSX.SnkActionsButton & JSXBase.HTMLAttributes<HTMLSnkActionsButtonElement>;
|
2632
|
+
"snk-actions-form": LocalJSX.SnkActionsForm & JSXBase.HTMLAttributes<HTMLSnkActionsFormElement>;
|
2538
2633
|
"snk-application": LocalJSX.SnkApplication & JSXBase.HTMLAttributes<HTMLSnkApplicationElement>;
|
2539
2634
|
"snk-attach": LocalJSX.SnkAttach & JSXBase.HTMLAttributes<HTMLSnkAttachElement>;
|
2635
|
+
"snk-client-confirm": LocalJSX.SnkClientConfirm & JSXBase.HTMLAttributes<HTMLSnkClientConfirmElement>;
|
2540
2636
|
"snk-config-options": LocalJSX.SnkConfigOptions & JSXBase.HTMLAttributes<HTMLSnkConfigOptionsElement>;
|
2541
2637
|
"snk-configurator": LocalJSX.SnkConfigurator & JSXBase.HTMLAttributes<HTMLSnkConfiguratorElement>;
|
2542
2638
|
"snk-crud": LocalJSX.SnkCrud & JSXBase.HTMLAttributes<HTMLSnkCrudElement>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const snkActionsButtonMessages: any;
|
package/package.json
CHANGED
package/react/components.d.ts
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { JSX } from '@sankhyalabs/sankhyablocks';
|
3
|
+
export declare const SnkActionsButton: import("react").ForwardRefExoticComponent<JSX.SnkActionsButton & Omit<import("react").HTMLAttributes<HTMLSnkActionsButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkActionsButtonElement>>;
|
4
|
+
export declare const SnkActionsForm: import("react").ForwardRefExoticComponent<JSX.SnkActionsForm & Omit<import("react").HTMLAttributes<HTMLSnkActionsFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkActionsFormElement>>;
|
3
5
|
export declare const SnkApplication: import("react").ForwardRefExoticComponent<JSX.SnkApplication & Omit<import("react").HTMLAttributes<HTMLSnkApplicationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkApplicationElement>>;
|
4
6
|
export declare const SnkAttach: import("react").ForwardRefExoticComponent<JSX.SnkAttach & Omit<import("react").HTMLAttributes<HTMLSnkAttachElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkAttachElement>>;
|
7
|
+
export declare const SnkClientConfirm: import("react").ForwardRefExoticComponent<JSX.SnkClientConfirm & Omit<import("react").HTMLAttributes<HTMLSnkClientConfirmElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkClientConfirmElement>>;
|
5
8
|
export declare const SnkConfigOptions: import("react").ForwardRefExoticComponent<JSX.SnkConfigOptions & Omit<import("react").HTMLAttributes<HTMLSnkConfigOptionsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkConfigOptionsElement>>;
|
6
9
|
export declare const SnkConfigurator: import("react").ForwardRefExoticComponent<JSX.SnkConfigurator & Omit<import("react").HTMLAttributes<HTMLSnkConfiguratorElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkConfiguratorElement>>;
|
7
10
|
export declare const SnkCrud: import("react").ForwardRefExoticComponent<JSX.SnkCrud & Omit<import("react").HTMLAttributes<HTMLSnkCrudElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkCrudElement>>;
|
package/react/components.js
CHANGED
@@ -2,8 +2,11 @@
|
|
2
2
|
/* tslint:disable */
|
3
3
|
/* auto-generated react proxies */
|
4
4
|
import { createReactComponent } from './react-component-lib';
|
5
|
+
export const SnkActionsButton = /*@__PURE__*/ createReactComponent('snk-actions-button');
|
6
|
+
export const SnkActionsForm = /*@__PURE__*/ createReactComponent('snk-actions-form');
|
5
7
|
export const SnkApplication = /*@__PURE__*/ createReactComponent('snk-application');
|
6
8
|
export const SnkAttach = /*@__PURE__*/ createReactComponent('snk-attach');
|
9
|
+
export const SnkClientConfirm = /*@__PURE__*/ createReactComponent('snk-client-confirm');
|
7
10
|
export const SnkConfigOptions = /*@__PURE__*/ createReactComponent('snk-config-options');
|
8
11
|
export const SnkConfigurator = /*@__PURE__*/ createReactComponent('snk-configurator');
|
9
12
|
export const SnkCrud = /*@__PURE__*/ createReactComponent('snk-crud');
|
package/react/components.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAM7D,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAA,oBAAoB,CAAgD,iBAAiB,CAAC,CAAC;AAClI,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAA,oBAAoB,CAAsC,YAAY,CAAC,CAAC;AAC9G,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAA,oBAAoB,CAAoD,oBAAoB,CAAC,CAAC;AAC3I,MAAM,CAAC,MAAM,eAAe,GA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ection/utils";import"./p-c74fca58.js";
|
@@ -1 +0,0 @@
|
|
1
|
-
import{T as t}from"./p-d410f45a.js";import{VersionUtils as s}from"@sankhyalabs/core";const i={[t.ATTACH]:()=>{var t;return s.isRequiredVersion(null===(t=window.envContext)||void 0===t?void 0:t.sysVersion,"4.22")}};class r{constructor(t){this._defaultButtons=t}process(t,s,r,o=[],n=[]){var e;this.customButtons=new Map,this.buttons="",this.disabledButtons=[].concat(o),null===(e=this.getButtonsArray(t,s,r))||void 0===e||e.forEach((e=>{var a;let h;if("string"==typeof e){if(i[e]&&!(null===(a=i[e])||void 0===a?void 0:a.call(i)))return;h=e}else{const t=e;this.customButtons.set(t.name,t),h=t.name}n.includes(h)||(this.isEnabled(t,s,h,r,o)||this.disabledButtons.push(h),this.buttons.length>0&&(this.buttons+=","),this.buttons+=h)}))}getButtonsArray(t,s,i){const r=this._defaultButtons[t];return s?s.getButtons(t,i,[...r]):r}isEnabled(t,s,i,r,o){const n=!o.includes(i);return s&&s.isEnabled?s.isEnabled(t,r,i,n):n}}export{r as T}
|