@sankhyalabs/sankhyablocks 8.16.0-dev.64 → 8.16.0-dev.65
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/{ContinuousInsertUtils-414b772c.js → ContinuousInsertUtils-a6139f3d.js} +2 -2
- package/dist/cjs/{dataunit-fetcher-228016f4.js → dataunit-fetcher-0121621c.js} +1 -1
- package/dist/cjs/index-f9e81701.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{pesquisa-fetcher-2ec4811b.js → pesquisa-fetcher-a85d6935.js} +175 -0
- package/dist/cjs/pesquisa-grid_2.cjs.entry.js +127 -0
- package/dist/cjs/sankhyablocks.cjs.js +1 -1
- package/dist/cjs/snk-actions-button_5.cjs.entry.js +2 -2
- package/dist/cjs/snk-application.cjs.entry.js +23 -8
- package/dist/cjs/snk-attach.cjs.entry.js +2 -2
- package/dist/cjs/snk-crud.cjs.entry.js +2 -2
- package/dist/cjs/snk-data-exporter.cjs.entry.js +3 -3
- package/dist/cjs/{snk-data-unit-3d9b6ed4.js → snk-data-unit-c699179d.js} +1 -1
- package/dist/cjs/snk-data-unit.cjs.entry.js +2 -2
- package/dist/cjs/snk-detail-view.cjs.entry.js +3 -3
- package/dist/cjs/snk-grid.cjs.entry.js +3 -3
- package/dist/cjs/{snk-guides-viewer-421555af.js → snk-guides-viewer-575596a2.js} +2 -2
- package/dist/cjs/snk-guides-viewer.cjs.entry.js +3 -3
- package/dist/cjs/snk-pesquisa.cjs.entry.js +105 -31
- package/dist/cjs/snk-simple-crud.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/snk-application/snk-application.js +25 -7
- package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.css +10 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.js +190 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.css +25 -0
- package/dist/collection/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.js +173 -0
- package/dist/collection/components/snk-pesquisa/pesquisaHelper.js +89 -0
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.css +24 -5
- package/dist/collection/components/snk-pesquisa/snk-pesquisa.js +168 -32
- package/dist/collection/lib/dataUnit/dataUnitInMemoryUtils.js +1 -1
- package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +89 -3
- package/dist/components/ContinuousInsertUtils.js +1 -2
- package/dist/components/ISave.js +346 -1
- package/dist/components/dataunit-fetcher.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/pesquisa-grid.d.ts +11 -0
- package/dist/components/pesquisa-grid.js +6 -0
- package/dist/components/pesquisa-grid2.js +86 -0
- package/dist/components/pesquisa-tree.d.ts +11 -0
- package/dist/components/pesquisa-tree.js +6 -0
- package/dist/components/pesquisa-tree2.js +76 -0
- package/dist/components/snk-actions-button2.js +0 -1
- package/dist/components/snk-application2.js +35 -8
- package/dist/components/snk-attach2.js +0 -1
- package/dist/components/snk-crud.js +0 -1
- package/dist/components/snk-data-exporter2.js +1 -2
- package/dist/components/snk-detail-view2.js +0 -1
- package/dist/components/snk-grid2.js +0 -1
- package/dist/components/snk-pesquisa2.js +118 -33
- package/dist/components/snk-simple-crud2.js +1 -2
- package/dist/components/snk-simple-form-config2.js +1 -2
- package/dist/components/teste-pesquisa.js +13 -1
- package/dist/esm/{ContinuousInsertUtils-bab45060.js → ContinuousInsertUtils-15b5f1da.js} +2 -2
- package/dist/esm/{dataunit-fetcher-56cb648b.js → dataunit-fetcher-481e159d.js} +1 -1
- package/dist/esm/index-a7d3d3f1.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{pesquisa-fetcher-24e5bba0.js → pesquisa-fetcher-c437c9b1.js} +176 -2
- package/dist/esm/pesquisa-grid_2.entry.js +122 -0
- package/dist/esm/sankhyablocks.js +1 -1
- package/dist/esm/snk-actions-button_5.entry.js +2 -2
- package/dist/esm/snk-application.entry.js +23 -8
- package/dist/esm/snk-attach.entry.js +2 -2
- package/dist/esm/snk-crud.entry.js +2 -2
- package/dist/esm/snk-data-exporter.entry.js +3 -3
- package/dist/esm/{snk-data-unit-9fa7d2b9.js → snk-data-unit-d4ba54d7.js} +1 -1
- package/dist/esm/snk-data-unit.entry.js +2 -2
- package/dist/esm/snk-detail-view.entry.js +3 -3
- package/dist/esm/snk-grid.entry.js +3 -3
- package/dist/esm/{snk-guides-viewer-b740a1fe.js → snk-guides-viewer-3043422d.js} +2 -2
- package/dist/esm/snk-guides-viewer.entry.js +3 -3
- package/dist/esm/snk-pesquisa.entry.js +105 -31
- package/dist/esm/snk-simple-crud.entry.js +3 -3
- package/dist/sankhyablocks/{p-c629c07a.entry.js → p-08242e3f.entry.js} +1 -1
- package/dist/sankhyablocks/{p-342eeb3b.js → p-0f3b2a32.js} +1 -1
- package/dist/sankhyablocks/{p-72a451c8.js → p-229c3615.js} +1 -1
- package/dist/sankhyablocks/{p-b619ee23.js → p-36598f95.js} +1 -1
- package/dist/sankhyablocks/{p-098f8cfa.entry.js → p-4895f6e4.entry.js} +1 -1
- package/dist/sankhyablocks/p-4be4cdac.js +6 -0
- package/dist/sankhyablocks/{p-47d24ac8.js → p-58fd3017.js} +1 -1
- package/dist/sankhyablocks/p-70cb4e36.entry.js +11 -0
- package/dist/sankhyablocks/{p-64ff0fb6.entry.js → p-73fc8ec5.entry.js} +1 -1
- package/dist/sankhyablocks/{p-50306605.entry.js → p-7d09f66c.entry.js} +1 -1
- package/dist/sankhyablocks/{p-53ae0296.entry.js → p-a33e803a.entry.js} +1 -1
- package/dist/sankhyablocks/{p-89da2953.entry.js → p-b299dc14.entry.js} +1 -1
- package/dist/sankhyablocks/p-badbd2ca.entry.js +1 -0
- package/dist/sankhyablocks/{p-9a9681d1.entry.js → p-c9bd54e6.entry.js} +1 -1
- package/dist/sankhyablocks/{p-0d2a2e9e.entry.js → p-e2bd42c0.entry.js} +1 -1
- package/dist/sankhyablocks/p-e8512d4b.entry.js +1 -0
- package/dist/sankhyablocks/{p-2b7432e8.entry.js → p-f71d043b.entry.js} +1 -1
- package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
- package/dist/types/components/snk-application/snk-application.d.ts +1 -1
- package/dist/types/components/snk-pesquisa/pesquisa-grid/pesquisa-grid.d.ts +38 -0
- package/dist/types/components/snk-pesquisa/pesquisa-tree/pesquisa-tree.d.ts +28 -0
- package/dist/types/components/snk-pesquisa/pesquisaHelper.d.ts +19 -0
- package/dist/types/components/snk-pesquisa/snk-pesquisa.d.ts +35 -1
- package/dist/types/components.d.ts +148 -13
- package/dist/types/lib/http/data-fetcher/fetchers/pesquisa-fetcher.d.ts +10 -1
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/components/pesquisa-fetcher.js +0 -172
- package/dist/sankhyablocks/p-442367ab.entry.js +0 -11
- package/dist/sankhyablocks/p-d1791da2.entry.js +0 -1
- package/dist/sankhyablocks/p-e6683406.js +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-d2d301a6.js";export{s as setNonce}from"./p-d2d301a6.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((e=>a(JSON.parse('[["p-118e769b",[[1,"teste-pesquisa"]]],["p-ac8d1cd6",[[2,"snk-actions-form",{"action":[16],"applyParameters":[16],"dataUnit":[32],"openPopup":[64]}]]],["p-9531fd46",[[2,"snk-client-confirm",{"titleMessage":[1,"title-message"],"message":[1],"accept":[16],"cancel":[16],"openPopup":[64]}]]],["p-21a81901",[[6,"snk-custom-slot-elements",{"slotName":[1,"slot-name"]}]]],["p-33718dfc",[[2,"snk-entity-list",{"config":[1040],"rightListSlotBuilder":[1040],"maxHeightList":[1,"max-height-list"],"_searchValue":[32],"_ezListSource":[32],"reloadList":[64]}]]],["p-8c235d4c",[[0,"snk-filter-binary-select",{"value":[1544],"config":[16],"presentationMode":[2,"presentation-mode"],"resetValues":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-5f157b09",[[0,"snk-filter-checkbox-list",{"config":[1040],"optionsList":[32]}]]],["p-bf2acf72",[[0,"snk-filter-multi-select",{"value":[1544],"config":[16],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-01ba23cd",[[0,"snk-filter-number",{"config":[16],"getMessage":[16],"value":[2],"presentationMode":[2,"presentation-mode"],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-7e2ded86",[[0,"snk-filter-period",{"config":[16],"getMessage":[16],"value":[8],"presentationMode":[2,"presentation-mode"],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-c8622597",[[0,"snk-filter-search",{"config":[16],"value":[16],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-89c92727",[[0,"snk-filter-text",{"config":[16],"value":[1]},[[0,"ezChange","ezChangeListener"]]]]],["p-47178038",[[2,"snk-personalized-filter-editor",{"messagesBuilder":[1040],"presentationMode":[2,"presentation-mode"],"config":[16],"value":[1040],"items":[32],"show":[64]}]]],["p-434817f0",[[2,"snk-print-selector",{"_printServerActive":[32],"_selectedPrinter":[32],"_remotePrintersDataSource":[32],"_localPrintersDataSource":[32],"_printJobData":[32],"openPrintSelector":[64]}]]],["p-d1791da2",[[2,"snk-pesquisa",{"searchLoader":[16],"selectItem":[16],"argument":[1025],"_itemList":[32],"_startLoading":[32]}]]],["p-442367ab",[[2,"snk-application",{"enableLockManagerLoadingApp":[4,"enable-lock-manager-loading-app"],"messagesBuilder":[1040],"configName":[1,"config-name"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"loadByPK":[16],"_applicationReady":[32],"getKeyboardManager":[64],"isUserSup":[64],"addPendingAction":[64],"callServiceBroker":[64],"initOnboarding":[64],"hasAccess":[64],"getAllAccess":[64],"getStringParam":[64],"getIntParam":[64],"getFloatParam":[64],"getBooleanParam":[64],"getDateParam":[64],"showPopUp":[64],"showModal":[64],"showAlerts":[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],"loadTotals":[64],"isLoadedByPk":[64],"preloadMangerRemoveRecord":[64],"executeSearch":[64],"executePreparedSearch":[64],"isDebugMode":[64],"getAppLabel":[64],"addSearchListener":[64],"importScript":[64],"getApplicationPath":[64],"executeSelectDistinct":[64],"getDataFetcher":[64],"whenApplicationReady":[64],"setSearchFilterContext":[64],"markToReload":[64],"addLoadingLock":[64]}]]],["p-e9432f45",[[0,"snk-filter-modal-item",{"filterItem":[1040],"configName":[1025,"config-name"],"resourceID":[1,"resource-i-d"]}]]],["p-c2e468c9",[[6,"snk-simple-bar",{"label":[1],"breadcrumbItens":[16],"messagesBuilder":[1040]}]]],["p-8002dcd0",[[2,"snk-filter-field-search",{"searchable":[4],"fieldsDataSource":[16],"breadcrumbItems":[32],"linkItems":[32],"fieldItems":[32],"searchEmpty":[32],"groupEmpty":[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-9d3a025a",[[2,"snk-expression-group",{"parentTop":[1026,"parent-top"],"group":[1040],"messagesBuilder":[1040],"filterId":[1025,"filter-id"],"entityURI":[1025,"entity-u-r-i"],"_conditionOperator":[32],"_group":[32],"_selfTop":[32],"canAddExpression":[32],"_showDashes":[32],"getExpressionGroup":[64]},[[8,"ezExpressionLayoutChanged","todoCompletedHandler"]]],[2,"snk-expression-item",{"expression":[16],"canRemove":[516,"can-remove"],"messagesBuilder":[1040],"entityURI":[1025,"entity-u-r-i"],"_showValueVariable":[32],"_fieldSelected":[32],"_optionNotNull":[32]}]]],["p-3ab6df3d",[[2,"snk-filter-assistent-mode",{"filterAssistent":[1040],"messagesBuilder":[1040],"filterId":[1025,"filter-id"],"entityUri":[1025,"entity-uri"],"application":[1040]}],[2,"snk-filter-advanced-mode",{"filterAssistent":[1040],"application":[1040]}]]],["p-35882caf",[[2,"snk-personalized-filter",{"messagesBuilder":[1040],"entityUri":[1025,"entity-uri"],"filterId":[1025,"filter-id"],"configName":[1025,"config-name"],"resourceID":[1,"resource-i-d"],"_filterAssistentMode":[32],"_filterAssistent":[32],"createPersonalizedFilter":[64]}]]],["p-2b7432e8",[[6,"snk-grid",{"columnFilterDataSource":[1040],"enableLockManagerLoadingComp":[4,"enable-lock-manager-loading-comp"],"enableLockManagerTaskbarClick":[4,"enable-lock-manager-taskbar-click"],"configName":[1,"config-name"],"filterBarTitle":[1,"filter-bar-title"],"resourceID":[1,"resource-i-d"],"selectionToastConfig":[16],"actionsList":[16],"isDetail":[4,"is-detail"],"taskbarManager":[16],"statusResolver":[16],"multipleSelection":[4,"multiple-selection"],"presentationMode":[1,"presentation-mode"],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"recordsValidator":[16],"canEdit":[4,"can-edit"],"taskbarCustomContainerId":[1,"taskbar-custom-container-id"],"gridHeaderCustomSlotId":[1,"grid-header-custom-slot-id"],"topTaskbarCustomSlotId":[1,"top-taskbar-custom-slot-id"],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"autoLoad":[4,"auto-load"],"autoFocus":[4,"auto-focus"],"enableGridInsert":[4,"enable-grid-insert"],"outlineMode":[4,"outline-mode"],"_dataUnit":[32],"_dataState":[32],"_gridConfig":[32],"_popUpGridConfig":[32],"_showSnkFilterBar":[32],"_enableContinuousInsert":[32],"showConfig":[64],"hideConfig":[64],"setConfig":[64],"reloadFilterBar":[64],"getFilterBar":[64],"findColumn":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFocus":[64]},[[2,"click","handleClick"]]]]],["p-26b0ce3e",[[2,"snk-form-summary",{"fixed":[1540],"contracted":[1540],"summary":[16]}]]],["p-1db45d26",[[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],"fieldToFocus":[1,"field-to-focus"],"customEditors":[16],"fieldsProps":[16],"showUp":[64],"addCustomEditor":[64],"setFieldProp":[64]}]]],["p-8b4fc28f",[[2,"snk-field-config",{"isConfigActive":[16],"fieldConfig":[16],"modeInsertion":[516,"mode-insertion"],"dataUnit":[16],"messagesBuilder":[1040]}]]],["p-2d3f9482",[[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-41793e17",[[2,"snk-configurator",{"showActionButtons":[4,"show-action-buttons"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"viewMode":[2,"view-mode"],"customContainerId":[1,"custom-container-id"],"messagesBuilder":[1040],"_opened":[32],"_permissions":[32],"open":[64],"close":[64]}]]],["p-0d2a2e9e",[[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"],"ignoreSaveMessage":[4,"ignore-save-message"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"domainMessagesBuilder":[1,"domain-messages-builder"],"fieldsToLink":[32],"getDataUnit":[64],"getSelectedRecordsIDsInfo":[64],"getFieldsWithRmp":[64],"getFieldsWithRmPrecision":[64],"getRowMetadata":[64]}]]],["p-54a5d52a",[[0,"snk-filter-detail",{"config":[1040],"getMessage":[16],"showHardFixed":[4,"show-hard-fixed"],"show":[64]}]]],["p-16a1dd18",[[0,"snk-exporter-email-sender",{"getMessage":[16],"_config":[32],"_opened":[32],"_currentStep":[32],"open":[64],"close":[64]}]]],["p-50306605",[[2,"snk-data-exporter",{"provider":[16],"messagesBuilder":[1040],"_items":[32],"_showDropdown":[32]}]]],["p-64ff0fb6",[[0,"snk-simple-form-config",{"dataUnit":[16],"configName":[1,"config-name"],"avaliableFields":[32],"selectedFields":[32],"show":[64]}],[2,"snk-grid-config",{"selectedIndex":[1026,"selected-index"],"columns":[1040],"config":[1040],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"]}],[2,"snk-actions-button",{"_items":[32],"_showDropdown":[32]}],[1,"snk-select-box",{"selectedOption":[1,"selected-option"]}],[2,"taskbar-actions-button",{"title":[1],"enabled":[4],"actions":[16],"_showDropdown":[32],"showActions":[64],"hideActions":[64],"isOpened":[64]},[[8,"keydown","handleKeyDown"],[8,"ezOpenModal","handleClose"]]]]],["p-619aeac8",[[6,"snk-taskbar",{"alignRigth":[4,"align-rigth"],"customSlotId":[1,"custom-slot-id"],"customContainerId":[1,"custom-container-id"],"overflowStrategy":[1,"overflow-strategy"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"buttons":[1],"customButtons":[16],"actionsList":[16],"primaryButton":[1,"primary-button"],"disabledButtons":[16],"dataUnit":[16],"presentationMode":[1537,"presentation-mode"],"messagesBuilder":[1040],"_permissions":[32],"_overFlowedElements":[32],"_customElements":[32],"_customElementsId":[32],"_slotContainer":[32],"_hiddenActionsList":[32],"_lastWidth":[32],"_hasToUpdateOverFlow":[32],"_isWaitingForSave":[32]},[[8,"snkCustomSlotElementsLoaded","handleCustomSlotElementsLoaded"],[8,"taskbarSaveLocker","handleTaskbarSaveLocker"],[8,"taskbarSaveUnlocker","handleTaskbarSaveUnlocker"]]]]],["p-098f8cfa",[[6,"snk-simple-crud",{"enableLockManagerLoadingComp":[4,"enable-lock-manager-loading-comp"],"enableLockManagerTaskbarClick":[4,"enable-lock-manager-taskbar-click"],"dataState":[16],"dataUnit":[16],"entityName":[1,"entity-name"],"mode":[2],"gridConfig":[1040],"formConfig":[1040],"multipleSelection":[4,"multiple-selection"],"useCancelConfirm":[4,"use-cancel-confirm"],"pageSize":[2,"page-size"],"resourceID":[1,"resource-i-d"],"enableGridInsert":[4,"enable-grid-insert"],"taskbarManager":[16],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"actionsList":[16],"configName":[1025,"config-name"],"showConfiguratorButtons":[4,"show-configurator-buttons"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"ignoreReadOnlyFormFields":[4,"ignore-read-only-form-fields"],"autoFocus":[4,"auto-focus"],"domainMessagesBuilder":[1,"domain-messages-builder"],"autoLoad":[4,"auto-load"],"outlineMode":[4,"outline-mode"],"_showPopUpGridConfig":[32],"_currentViewMode":[32],"_config":[32],"_fieldToGetFocus":[32],"_customContainerId":[32],"_formFields":[32],"_fieldsProps":[32],"_enableContinuousInsert":[32],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFieldProp":[64],"goToView":[64],"setMetadata":[64],"setRecords":[64],"getRecords":[64],"openConfigurator":[64],"closeConfigurator":[64],"updateConfig":[64]},[[0,"actionClick","actionClickListener"]]]]],["p-c629c07a",[[2,"snk-attach",{"fetcherType":[1,"fetcher-type"],"fetcher":[16],"dataUnit":[16],"dataUnitBuilder":[16],"registerKey":[1,"register-key"],"entityName":[1,"entity-name"],"messagesBuilder":[1040],"_currentFetcher":[32],"_currentDataUnit":[32],"crudConfig":[32]}]]],["p-22d04eac",[[0,"snk-filter-modal",{"getMessage":[16],"configName":[1025,"config-name"],"filters":[1040],"applyFilters":[16],"closeModal":[16],"addPersonalizedFilter":[16],"editPersonalizedFilter":[16],"deletePersonalizedFilter":[16],"filtersToDelete":[16],"disablePersonalizedFilter":[4,"disable-personalized-filter"]},[[0,"deleteFilter","deletePersonalizedFilterListener"]]],[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"]]],[2,"snk-filter-bar",{"enableLockManagerLoadingComp":[4,"enable-lock-manager-loading-comp"],"customFilterBarConfig":[16],"dataUnit":[1040],"title":[1],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"mode":[1],"filterConfig":[1040],"messagesBuilder":[1040],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"autoLoad":[4,"auto-load"],"afterApplyConfig":[16],"allowDefault":[32],"scrollerLocked":[32],"showPersonalizedFilter":[32],"personalizedFilterId":[32],"reload":[64],"getFilterItem":[64],"updateFilterItem":[64],"addFilterItem":[64],"removeFilterItem":[64],"showFilterModal":[64]},[[0,"filterChange","filterChangeListener"]]],[0,"snk-filter-item",{"config":[1040],"getMessage":[16],"showChips":[4,"show-chips"],"detailIsVisible":[32],"showUp":[64],"hideDetail":[64]},[[2,"click","clickListener"],[2,"mousedown","mouseDownListener"],[0,"filterChange","filterChangeListener"]]]]],["p-89da2953",[[6,"snk-detail-view",{"formConfigManager":[1040],"dataUnitName":[1,"data-unit-name"],"resourceID":[1,"resource-i-d"],"guideItemPath":[16],"entityName":[1,"entity-name"],"label":[1],"dataUnit":[1040],"selectedForm":[1025,"selected-form"],"dataState":[1040],"messagesBuilder":[1040],"branchGuide":[1040],"canEdit":[4,"can-edit"],"taskbarCustomContainerId":[1,"taskbar-custom-container-id"],"customEditors":[16],"customRenders":[16],"_disabledButtons":[32],"_currentView":[32],"attachmentRegisterKey":[32],"changeViewMode":[64],"configGrid":[64],"showUp":[64],"addCustomEditor":[64],"addGridCustomRender":[64]},[[0,"snkContentCardChanged","onContentCardChanged"]]]]],["p-036b4807",[[2,"snk-form",{"configName":[1,"config-name"],"recordsValidator":[16],"messagesBuilder":[1040],"formLegacyConfigName":[1,"form-legacy-config-name"],"resourceID":[1,"resource-i-d"],"_dataUnit":[32],"_dataState":[32],"_showFormConfig":[32],"_configManager":[32],"showConfig":[64],"hideConfig":[64],"addCustomEditor":[64],"setFieldProp":[64]}],[2,"snk-form-config",{"dataUnit":[16],"configManager":[16],"messagesBuilder":[1040],"ignoreReadOnlyFormFields":[4,"ignore-read-only-form-fields"],"_formConfigOptions":[32],"_fieldConfigSelected":[32],"_layoutFormConfig":[32],"_fieldsAvailable":[32],"_formConfig":[32],"_formConfigChanged":[32],"_optionFormConfigSelected":[32],"_optionFormConfigChanged":[32],"_tempGroups":[32]}],[2,"snk-config-options",{"fieldConfig":[16],"idConfig":[513,"id-config"],"dataUnit":[16],"messagesBuilder":[1040],"_defaultType":[32]}]]],["p-53ae0296",[[6,"snk-guides-viewer",{"dataUnit":[16],"dataState":[16],"configName":[1,"config-name"],"entityPath":[1,"entity-path"],"actionsList":[16],"recordsValidator":[16],"masterFormConfig":[1040],"selectedGuide":[16],"taskbarManager":[16],"messagesBuilder":[1040],"canEdit":[4,"can-edit"],"presentationMode":[1,"presentation-mode"],"resourceID":[1,"resource-i-d"],"detailTaskbarCustomContainerId":[1,"detail-taskbar-custom-container-id"],"formLegacyConfigName":[1,"form-legacy-config-name"],"enableGridInsert":[4,"enable-grid-insert"],"ignoreReadOnlyFormFields":[4,"ignore-read-only-form-fields"],"getCustomTitle":[16],"_hasToCreateFieldSearch":[32],"_breadcrumbItems":[32],"_guides":[32],"_formEditorConfigManager":[32],"_formEditorDataUnit":[32],"_fieldToGetFocus":[32],"_customEditors":[32],"_customRenders":[32],"_fieldsProps":[32],"showFormConfig":[64],"findField":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"setFieldProp":[64],"setFocus":[64]},[[2,"actionClick","onActionClick"],[0,"snkContentCardChanged","onContentCardChanged"]]]]],["p-9a9681d1",[[6,"snk-crud",{"enableLockManagerLoadingComp":[4,"enable-lock-manager-loading-comp"],"enableLockManagerTaskbarClick":[4,"enable-lock-manager-taskbar-click"],"configName":[1025,"config-name"],"filterBarTitle":[1,"filter-bar-title"],"selectionToastConfig":[16],"showActionButtons":[4,"show-action-buttons"],"actionsList":[16],"taskbarManager":[16],"recordsValidator":[16],"statusResolver":[16],"multipleSelection":[4,"multiple-selection"],"presentationMode":[1,"presentation-mode"],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"autoLoad":[4,"auto-load"],"autoFocus":[4,"auto-focus"],"enableGridInsert":[4,"enable-grid-insert"],"domainMessagesBuilder":[1,"domain-messages-builder"],"ignoreReadOnlyFormFields":[4,"ignore-read-only-form-fields"],"setCustomFormTitle":[16],"_dataUnit":[32],"_dataState":[32],"attachmentRegisterKey":[32],"_currentViewMode":[32],"_canEdit":[32],"_resourceID":[32],"customContainerId":[32],"goToView":[64],"openConfigurator":[64],"closeConfigurator":[64],"reloadFilterBar":[64],"getFilterBar":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFieldProp":[64]}]]]]'),e)));
|
|
1
|
+
import{p as e,b as a}from"./p-d2d301a6.js";export{s as setNonce}from"./p-d2d301a6.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((e=>a(JSON.parse('[["p-118e769b",[[1,"teste-pesquisa"]]],["p-ac8d1cd6",[[2,"snk-actions-form",{"action":[16],"applyParameters":[16],"dataUnit":[32],"openPopup":[64]}]]],["p-9531fd46",[[2,"snk-client-confirm",{"titleMessage":[1,"title-message"],"message":[1],"accept":[16],"cancel":[16],"openPopup":[64]}]]],["p-21a81901",[[6,"snk-custom-slot-elements",{"slotName":[1,"slot-name"]}]]],["p-33718dfc",[[2,"snk-entity-list",{"config":[1040],"rightListSlotBuilder":[1040],"maxHeightList":[1,"max-height-list"],"_searchValue":[32],"_ezListSource":[32],"reloadList":[64]}]]],["p-8c235d4c",[[0,"snk-filter-binary-select",{"value":[1544],"config":[16],"presentationMode":[2,"presentation-mode"],"resetValues":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-5f157b09",[[0,"snk-filter-checkbox-list",{"config":[1040],"optionsList":[32]}]]],["p-bf2acf72",[[0,"snk-filter-multi-select",{"value":[1544],"config":[16],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-01ba23cd",[[0,"snk-filter-number",{"config":[16],"getMessage":[16],"value":[2],"presentationMode":[2,"presentation-mode"],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-7e2ded86",[[0,"snk-filter-period",{"config":[16],"getMessage":[16],"value":[8],"presentationMode":[2,"presentation-mode"],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-c8622597",[[0,"snk-filter-search",{"config":[16],"value":[16],"show":[64]},[[0,"ezChange","ezChangeListener"]]]]],["p-89c92727",[[0,"snk-filter-text",{"config":[16],"value":[1]},[[0,"ezChange","ezChangeListener"]]]]],["p-47178038",[[2,"snk-personalized-filter-editor",{"messagesBuilder":[1040],"presentationMode":[2,"presentation-mode"],"config":[16],"value":[1040],"items":[32],"show":[64]}]]],["p-434817f0",[[2,"snk-print-selector",{"_printServerActive":[32],"_selectedPrinter":[32],"_remotePrintersDataSource":[32],"_localPrintersDataSource":[32],"_printJobData":[32],"openPrintSelector":[64]}]]],["p-e8512d4b",[[2,"snk-pesquisa",{"searchLoader":[16],"treeLoader":[16],"selectItem":[16],"entityName":[1,"entity-name"],"argument":[1025],"isHierarchyEntity":[4,"is-hierarchy-entity"],"allowsNonAnalytic":[4,"allows-non-analytic"],"_itemList":[32],"_startLoading":[32],"_presentationMode":[32]}]]],["p-70cb4e36",[[2,"snk-application",{"enableLockManagerLoadingApp":[4,"enable-lock-manager-loading-app"],"messagesBuilder":[1040],"configName":[1,"config-name"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"loadByPK":[16],"_applicationReady":[32],"getKeyboardManager":[64],"isUserSup":[64],"addPendingAction":[64],"callServiceBroker":[64],"initOnboarding":[64],"hasAccess":[64],"getAllAccess":[64],"getStringParam":[64],"getIntParam":[64],"getFloatParam":[64],"getBooleanParam":[64],"getDateParam":[64],"showPopUp":[64],"showModal":[64],"showAlerts":[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],"loadTotals":[64],"isLoadedByPk":[64],"preloadMangerRemoveRecord":[64],"executeSearch":[64],"executePreparedSearch":[64],"isDebugMode":[64],"getAppLabel":[64],"addSearchListener":[64],"importScript":[64],"getApplicationPath":[64],"executeSelectDistinct":[64],"getDataFetcher":[64],"whenApplicationReady":[64],"setSearchFilterContext":[64],"markToReload":[64],"addLoadingLock":[64]}]]],["p-e9432f45",[[0,"snk-filter-modal-item",{"filterItem":[1040],"configName":[1025,"config-name"],"resourceID":[1,"resource-i-d"]}]]],["p-54a5d52a",[[0,"snk-filter-detail",{"config":[1040],"getMessage":[16],"showHardFixed":[4,"show-hard-fixed"],"show":[64]}]]],["p-c2e468c9",[[6,"snk-simple-bar",{"label":[1],"breadcrumbItens":[16],"messagesBuilder":[1040]}]]],["p-8002dcd0",[[2,"snk-filter-field-search",{"searchable":[4],"fieldsDataSource":[16],"breadcrumbItems":[32],"linkItems":[32],"fieldItems":[32],"searchEmpty":[32],"groupEmpty":[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-9d3a025a",[[2,"snk-expression-group",{"parentTop":[1026,"parent-top"],"group":[1040],"messagesBuilder":[1040],"filterId":[1025,"filter-id"],"entityURI":[1025,"entity-u-r-i"],"_conditionOperator":[32],"_group":[32],"_selfTop":[32],"canAddExpression":[32],"_showDashes":[32],"getExpressionGroup":[64]},[[8,"ezExpressionLayoutChanged","todoCompletedHandler"]]],[2,"snk-expression-item",{"expression":[16],"canRemove":[516,"can-remove"],"messagesBuilder":[1040],"entityURI":[1025,"entity-u-r-i"],"_showValueVariable":[32],"_fieldSelected":[32],"_optionNotNull":[32]}]]],["p-3ab6df3d",[[2,"snk-filter-assistent-mode",{"filterAssistent":[1040],"messagesBuilder":[1040],"filterId":[1025,"filter-id"],"entityUri":[1025,"entity-uri"],"application":[1040]}],[2,"snk-filter-advanced-mode",{"filterAssistent":[1040],"application":[1040]}]]],["p-35882caf",[[2,"snk-personalized-filter",{"messagesBuilder":[1040],"entityUri":[1025,"entity-uri"],"filterId":[1025,"filter-id"],"configName":[1025,"config-name"],"resourceID":[1,"resource-i-d"],"_filterAssistentMode":[32],"_filterAssistent":[32],"createPersonalizedFilter":[64]}]]],["p-73fc8ec5",[[0,"snk-simple-form-config",{"dataUnit":[16],"configName":[1,"config-name"],"avaliableFields":[32],"selectedFields":[32],"show":[64]}],[2,"snk-grid-config",{"selectedIndex":[1026,"selected-index"],"columns":[1040],"config":[1040],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"]}],[2,"snk-actions-button",{"_items":[32],"_showDropdown":[32]}],[1,"snk-select-box",{"selectedOption":[1,"selected-option"]}],[2,"taskbar-actions-button",{"title":[1],"enabled":[4],"actions":[16],"_showDropdown":[32],"showActions":[64],"hideActions":[64],"isOpened":[64]},[[8,"keydown","handleKeyDown"],[8,"ezOpenModal","handleClose"]]]]],["p-f71d043b",[[6,"snk-grid",{"columnFilterDataSource":[1040],"enableLockManagerLoadingComp":[4,"enable-lock-manager-loading-comp"],"enableLockManagerTaskbarClick":[4,"enable-lock-manager-taskbar-click"],"configName":[1,"config-name"],"filterBarTitle":[1,"filter-bar-title"],"resourceID":[1,"resource-i-d"],"selectionToastConfig":[16],"actionsList":[16],"isDetail":[4,"is-detail"],"taskbarManager":[16],"statusResolver":[16],"multipleSelection":[4,"multiple-selection"],"presentationMode":[1,"presentation-mode"],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"recordsValidator":[16],"canEdit":[4,"can-edit"],"taskbarCustomContainerId":[1,"taskbar-custom-container-id"],"gridHeaderCustomSlotId":[1,"grid-header-custom-slot-id"],"topTaskbarCustomSlotId":[1,"top-taskbar-custom-slot-id"],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"autoLoad":[4,"auto-load"],"autoFocus":[4,"auto-focus"],"enableGridInsert":[4,"enable-grid-insert"],"outlineMode":[4,"outline-mode"],"_dataUnit":[32],"_dataState":[32],"_gridConfig":[32],"_popUpGridConfig":[32],"_showSnkFilterBar":[32],"_enableContinuousInsert":[32],"showConfig":[64],"hideConfig":[64],"setConfig":[64],"reloadFilterBar":[64],"getFilterBar":[64],"findColumn":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFocus":[64]},[[2,"click","handleClick"]]]]],["p-26b0ce3e",[[2,"snk-form-summary",{"fixed":[1540],"contracted":[1540],"summary":[16]}]]],["p-1db45d26",[[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],"fieldToFocus":[1,"field-to-focus"],"customEditors":[16],"fieldsProps":[16],"showUp":[64],"addCustomEditor":[64],"setFieldProp":[64]}]]],["p-8b4fc28f",[[2,"snk-field-config",{"isConfigActive":[16],"fieldConfig":[16],"modeInsertion":[516,"mode-insertion"],"dataUnit":[16],"messagesBuilder":[1040]}]]],["p-2d3f9482",[[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-41793e17",[[2,"snk-configurator",{"showActionButtons":[4,"show-action-buttons"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"viewMode":[2,"view-mode"],"customContainerId":[1,"custom-container-id"],"messagesBuilder":[1040],"_opened":[32],"_permissions":[32],"open":[64],"close":[64]}]]],["p-e2bd42c0",[[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"],"ignoreSaveMessage":[4,"ignore-save-message"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"domainMessagesBuilder":[1,"domain-messages-builder"],"fieldsToLink":[32],"getDataUnit":[64],"getSelectedRecordsIDsInfo":[64],"getFieldsWithRmp":[64],"getFieldsWithRmPrecision":[64],"getRowMetadata":[64]}]]],["p-badbd2ca",[[2,"pesquisa-grid",{"metadata":[16],"dataSource":[16],"pkField":[1,"pk-field"],"descriptionField":[1,"description-field"],"entityName":[1,"entity-name"],"_inMemoryLoader":[32],"_dataunit":[32],"_gridConfig":[32]}],[2,"pesquisa-tree",{"treeLoader":[16],"argument":[1025],"allowsNonAnalytic":[4,"allows-non-analytic"],"items":[32],"applyFilter":[64]}]]],["p-16a1dd18",[[0,"snk-exporter-email-sender",{"getMessage":[16],"_config":[32],"_opened":[32],"_currentStep":[32],"open":[64],"close":[64]}]]],["p-7d09f66c",[[2,"snk-data-exporter",{"provider":[16],"messagesBuilder":[1040],"_items":[32],"_showDropdown":[32]}]]],["p-619aeac8",[[6,"snk-taskbar",{"alignRigth":[4,"align-rigth"],"customSlotId":[1,"custom-slot-id"],"customContainerId":[1,"custom-container-id"],"overflowStrategy":[1,"overflow-strategy"],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"buttons":[1],"customButtons":[16],"actionsList":[16],"primaryButton":[1,"primary-button"],"disabledButtons":[16],"dataUnit":[16],"presentationMode":[1537,"presentation-mode"],"messagesBuilder":[1040],"_permissions":[32],"_overFlowedElements":[32],"_customElements":[32],"_customElementsId":[32],"_slotContainer":[32],"_hiddenActionsList":[32],"_lastWidth":[32],"_hasToUpdateOverFlow":[32],"_isWaitingForSave":[32]},[[8,"snkCustomSlotElementsLoaded","handleCustomSlotElementsLoaded"],[8,"taskbarSaveLocker","handleTaskbarSaveLocker"],[8,"taskbarSaveUnlocker","handleTaskbarSaveUnlocker"]]]]],["p-4895f6e4",[[6,"snk-simple-crud",{"enableLockManagerLoadingComp":[4,"enable-lock-manager-loading-comp"],"enableLockManagerTaskbarClick":[4,"enable-lock-manager-taskbar-click"],"dataState":[16],"dataUnit":[16],"entityName":[1,"entity-name"],"mode":[2],"gridConfig":[1040],"formConfig":[1040],"multipleSelection":[4,"multiple-selection"],"useCancelConfirm":[4,"use-cancel-confirm"],"pageSize":[2,"page-size"],"resourceID":[1,"resource-i-d"],"enableGridInsert":[4,"enable-grid-insert"],"taskbarManager":[16],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"actionsList":[16],"configName":[1025,"config-name"],"showConfiguratorButtons":[4,"show-configurator-buttons"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"ignoreReadOnlyFormFields":[4,"ignore-read-only-form-fields"],"autoFocus":[4,"auto-focus"],"domainMessagesBuilder":[1,"domain-messages-builder"],"autoLoad":[4,"auto-load"],"outlineMode":[4,"outline-mode"],"_showPopUpGridConfig":[32],"_currentViewMode":[32],"_config":[32],"_fieldToGetFocus":[32],"_customContainerId":[32],"_formFields":[32],"_fieldsProps":[32],"_enableContinuousInsert":[32],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFieldProp":[64],"goToView":[64],"setMetadata":[64],"setRecords":[64],"getRecords":[64],"openConfigurator":[64],"closeConfigurator":[64],"updateConfig":[64]},[[0,"actionClick","actionClickListener"]]]]],["p-08242e3f",[[2,"snk-attach",{"fetcherType":[1,"fetcher-type"],"fetcher":[16],"dataUnit":[16],"dataUnitBuilder":[16],"registerKey":[1,"register-key"],"entityName":[1,"entity-name"],"messagesBuilder":[1040],"_currentFetcher":[32],"_currentDataUnit":[32],"crudConfig":[32]}]]],["p-22d04eac",[[0,"snk-filter-modal",{"getMessage":[16],"configName":[1025,"config-name"],"filters":[1040],"applyFilters":[16],"closeModal":[16],"addPersonalizedFilter":[16],"editPersonalizedFilter":[16],"deletePersonalizedFilter":[16],"filtersToDelete":[16],"disablePersonalizedFilter":[4,"disable-personalized-filter"]},[[0,"deleteFilter","deletePersonalizedFilterListener"]]],[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"]]],[2,"snk-filter-bar",{"enableLockManagerLoadingComp":[4,"enable-lock-manager-loading-comp"],"customFilterBarConfig":[16],"dataUnit":[1040],"title":[1],"configName":[1,"config-name"],"resourceID":[1,"resource-i-d"],"mode":[1],"filterConfig":[1040],"messagesBuilder":[1040],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"autoLoad":[4,"auto-load"],"afterApplyConfig":[16],"allowDefault":[32],"scrollerLocked":[32],"showPersonalizedFilter":[32],"personalizedFilterId":[32],"reload":[64],"getFilterItem":[64],"updateFilterItem":[64],"addFilterItem":[64],"removeFilterItem":[64],"showFilterModal":[64]},[[0,"filterChange","filterChangeListener"]]],[0,"snk-filter-item",{"config":[1040],"getMessage":[16],"showChips":[4,"show-chips"],"detailIsVisible":[32],"showUp":[64],"hideDetail":[64]},[[2,"click","clickListener"],[2,"mousedown","mouseDownListener"],[0,"filterChange","filterChangeListener"]]]]],["p-b299dc14",[[6,"snk-detail-view",{"formConfigManager":[1040],"dataUnitName":[1,"data-unit-name"],"resourceID":[1,"resource-i-d"],"guideItemPath":[16],"entityName":[1,"entity-name"],"label":[1],"dataUnit":[1040],"selectedForm":[1025,"selected-form"],"dataState":[1040],"messagesBuilder":[1040],"branchGuide":[1040],"canEdit":[4,"can-edit"],"taskbarCustomContainerId":[1,"taskbar-custom-container-id"],"customEditors":[16],"customRenders":[16],"_disabledButtons":[32],"_currentView":[32],"attachmentRegisterKey":[32],"changeViewMode":[64],"configGrid":[64],"showUp":[64],"addCustomEditor":[64],"addGridCustomRender":[64]},[[0,"snkContentCardChanged","onContentCardChanged"]]]]],["p-036b4807",[[2,"snk-form",{"configName":[1,"config-name"],"recordsValidator":[16],"messagesBuilder":[1040],"formLegacyConfigName":[1,"form-legacy-config-name"],"resourceID":[1,"resource-i-d"],"_dataUnit":[32],"_dataState":[32],"_showFormConfig":[32],"_configManager":[32],"showConfig":[64],"hideConfig":[64],"addCustomEditor":[64],"setFieldProp":[64]}],[2,"snk-form-config",{"dataUnit":[16],"configManager":[16],"messagesBuilder":[1040],"ignoreReadOnlyFormFields":[4,"ignore-read-only-form-fields"],"_formConfigOptions":[32],"_fieldConfigSelected":[32],"_layoutFormConfig":[32],"_fieldsAvailable":[32],"_formConfig":[32],"_formConfigChanged":[32],"_optionFormConfigSelected":[32],"_optionFormConfigChanged":[32],"_tempGroups":[32]}],[2,"snk-config-options",{"fieldConfig":[16],"idConfig":[513,"id-config"],"dataUnit":[16],"messagesBuilder":[1040],"_defaultType":[32]}]]],["p-a33e803a",[[6,"snk-guides-viewer",{"dataUnit":[16],"dataState":[16],"configName":[1,"config-name"],"entityPath":[1,"entity-path"],"actionsList":[16],"recordsValidator":[16],"masterFormConfig":[1040],"selectedGuide":[16],"taskbarManager":[16],"messagesBuilder":[1040],"canEdit":[4,"can-edit"],"presentationMode":[1,"presentation-mode"],"resourceID":[1,"resource-i-d"],"detailTaskbarCustomContainerId":[1,"detail-taskbar-custom-container-id"],"formLegacyConfigName":[1,"form-legacy-config-name"],"enableGridInsert":[4,"enable-grid-insert"],"ignoreReadOnlyFormFields":[4,"ignore-read-only-form-fields"],"getCustomTitle":[16],"_hasToCreateFieldSearch":[32],"_breadcrumbItems":[32],"_guides":[32],"_formEditorConfigManager":[32],"_formEditorDataUnit":[32],"_fieldToGetFocus":[32],"_customEditors":[32],"_customRenders":[32],"_fieldsProps":[32],"showFormConfig":[64],"findField":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"setFieldProp":[64],"setFocus":[64]},[[2,"actionClick","onActionClick"],[0,"snkContentCardChanged","onContentCardChanged"]]]]],["p-c9bd54e6",[[6,"snk-crud",{"enableLockManagerLoadingComp":[4,"enable-lock-manager-loading-comp"],"enableLockManagerTaskbarClick":[4,"enable-lock-manager-taskbar-click"],"configName":[1025,"config-name"],"filterBarTitle":[1,"filter-bar-title"],"selectionToastConfig":[16],"showActionButtons":[4,"show-action-buttons"],"actionsList":[16],"taskbarManager":[16],"recordsValidator":[16],"statusResolver":[16],"multipleSelection":[4,"multiple-selection"],"presentationMode":[1,"presentation-mode"],"messagesBuilder":[1040],"useEnterLikeTab":[4,"use-enter-like-tab"],"gridLegacyConfigName":[1,"grid-legacy-config-name"],"filterBarLegacyConfigName":[1,"filter-bar-legacy-config-name"],"formLegacyConfigName":[1,"form-legacy-config-name"],"disablePersonalizedFilter":[4,"disable-personalized-filter"],"autoLoad":[4,"auto-load"],"autoFocus":[4,"auto-focus"],"enableGridInsert":[4,"enable-grid-insert"],"domainMessagesBuilder":[1,"domain-messages-builder"],"ignoreReadOnlyFormFields":[4,"ignore-read-only-form-fields"],"setCustomFormTitle":[16],"_dataUnit":[32],"_dataState":[32],"attachmentRegisterKey":[32],"_currentViewMode":[32],"_canEdit":[32],"_resourceID":[32],"customContainerId":[32],"goToView":[64],"openConfigurator":[64],"closeConfigurator":[64],"reloadFilterBar":[64],"getFilterBar":[64],"addCustomEditor":[64],"addGridCustomRender":[64],"addCustomValueFormatter":[64],"removeCustomValueFormatter":[64],"setFieldProp":[64]}]]]]'),e)));
|
|
@@ -282,7 +282,7 @@ export declare class SnkApplication {
|
|
|
282
282
|
* Obtém as opções em componentes de pesquisa
|
|
283
283
|
* Ex.: snk-config-options
|
|
284
284
|
*/
|
|
285
|
-
executeSearch(searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit): Promise<Array<IOption> | IOption>;
|
|
285
|
+
executeSearch(searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit, ctxOptions?: any): Promise<Array<IOption> | IOption>;
|
|
286
286
|
private filterInvalidFields;
|
|
287
287
|
private filterMathFields;
|
|
288
288
|
private builOptionItem;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { DataUnit, Record, UnitMetadata } from '@sankhyalabs/core';
|
|
3
|
+
import InMemoryLoader from '../../../lib/dataUnit/InMemoryLoader';
|
|
4
|
+
import { IOption } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-combo-box/ez-combo-box';
|
|
5
|
+
import { IGridConfig } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-grid/controller/EzGridController';
|
|
6
|
+
export declare class PesquisaGrid {
|
|
7
|
+
private _pesquisaFetcher;
|
|
8
|
+
/**
|
|
9
|
+
* Campos que representam as colunas da grade.
|
|
10
|
+
*/
|
|
11
|
+
metadata: UnitMetadata;
|
|
12
|
+
/**
|
|
13
|
+
* Registros da grade
|
|
14
|
+
*/
|
|
15
|
+
dataSource: Record[];
|
|
16
|
+
/**
|
|
17
|
+
* Campo que representa a chave primária do registro
|
|
18
|
+
*/
|
|
19
|
+
pkField: string;
|
|
20
|
+
/**
|
|
21
|
+
* Campo que representa a descrição do registro
|
|
22
|
+
*/
|
|
23
|
+
descriptionField: string;
|
|
24
|
+
/**
|
|
25
|
+
* Nome da entidade representada na grade
|
|
26
|
+
*/
|
|
27
|
+
entityName: string;
|
|
28
|
+
_inMemoryLoader: InMemoryLoader;
|
|
29
|
+
_dataunit: DataUnit;
|
|
30
|
+
_gridConfig: IGridConfig;
|
|
31
|
+
pesquisaGridSelectItem: EventEmitter<IOption>;
|
|
32
|
+
observeDataSource(newValue: any): void;
|
|
33
|
+
componentWillLoad(): Promise<void>;
|
|
34
|
+
private initializeDataUnit;
|
|
35
|
+
private handleDbClick;
|
|
36
|
+
private handleConfigChanged;
|
|
37
|
+
render(): any;
|
|
38
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { ITreeItem } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-tree/interfaces/ITreeItem';
|
|
3
|
+
import { IOption } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-combo-box/ez-combo-box';
|
|
4
|
+
export declare class PesquisaTree {
|
|
5
|
+
private _tree;
|
|
6
|
+
/**
|
|
7
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
|
8
|
+
*/
|
|
9
|
+
treeLoader?: (text: string) => Promise<Array<ITreeItem>>;
|
|
10
|
+
/**
|
|
11
|
+
* Argumentos que serão usados ao chamar a função treeLoader.
|
|
12
|
+
*/
|
|
13
|
+
argument: string;
|
|
14
|
+
/**
|
|
15
|
+
* Define se permite seleção de items não analíticos
|
|
16
|
+
*/
|
|
17
|
+
allowsNonAnalytic: boolean;
|
|
18
|
+
pesquisaTreeSelectItem: EventEmitter<IOption>;
|
|
19
|
+
items: ITreeItem[];
|
|
20
|
+
applyFilter(): Promise<void>;
|
|
21
|
+
private loadTree;
|
|
22
|
+
private expandOrCloseAllItems;
|
|
23
|
+
private handleExpandAll;
|
|
24
|
+
private handleCloseAll;
|
|
25
|
+
private handleDbClick;
|
|
26
|
+
componentWillLoad(): Promise<void>;
|
|
27
|
+
render(): any;
|
|
28
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UnitMetadata } from '@sankhyalabs/core';
|
|
2
|
+
import { ITreeItem } from '@sankhyalabs/ezui/src/components/ez-tree/interfaces/ITreeItem';
|
|
3
|
+
import { IGridConfig } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-grid/controller/EzGridController';
|
|
4
|
+
export declare function buildGridMetadata(rawValue: any): UnitMetadata;
|
|
5
|
+
export declare function parseLegacyTree(legacy: LegacyTree): ITreeItem[];
|
|
6
|
+
export interface LegacyTreeItem {
|
|
7
|
+
caminho: string;
|
|
8
|
+
codigo: string;
|
|
9
|
+
descricao: string;
|
|
10
|
+
analitico: string;
|
|
11
|
+
no?: LegacyTreeItem[];
|
|
12
|
+
}
|
|
13
|
+
export interface LegacyTree {
|
|
14
|
+
arvore: LegacyNode;
|
|
15
|
+
}
|
|
16
|
+
export interface LegacyNode {
|
|
17
|
+
no: LegacyTreeItem[];
|
|
18
|
+
}
|
|
19
|
+
export declare function parseGridConfig(rawConfig: any): IGridConfig | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IOption } from '@sankhyalabs/ezui/dist/types/components/ez-combo-box/ez-combo-box';
|
|
2
2
|
export declare class SnkPesquisa {
|
|
3
3
|
private _textInput;
|
|
4
|
+
private _pesquisaTree;
|
|
4
5
|
private _mdByName;
|
|
5
6
|
private _startHighlightTag;
|
|
6
7
|
private _endHighlightTag;
|
|
@@ -10,26 +11,50 @@ export declare class SnkPesquisa {
|
|
|
10
11
|
private _changeDeboucingTimeout;
|
|
11
12
|
private _limitCharsToSearch;
|
|
12
13
|
private _deboucingTime;
|
|
14
|
+
private _gridMetadata;
|
|
15
|
+
private _gridDataSource;
|
|
16
|
+
private _pkField;
|
|
17
|
+
private _descriptionField;
|
|
18
|
+
private pesquisaFetcher;
|
|
13
19
|
private _element;
|
|
14
20
|
private _itemList;
|
|
15
21
|
private _startLoading;
|
|
22
|
+
private _presentationMode;
|
|
16
23
|
/**
|
|
17
24
|
* Função responsável em carregar os itens do componente snk-pesquisa.
|
|
18
25
|
*/
|
|
19
26
|
searchLoader: (text: string) => Promise<any>;
|
|
27
|
+
/**
|
|
28
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
|
29
|
+
*/
|
|
30
|
+
treeLoader?: (text: string) => Promise<any>;
|
|
20
31
|
/**
|
|
21
32
|
* Função disparada ao selecionar um item.
|
|
22
33
|
*/
|
|
23
34
|
selectItem: (option: IOption) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Nome da entidade onde a pesquisa é aplicada.
|
|
37
|
+
*/
|
|
38
|
+
entityName: string;
|
|
24
39
|
/**
|
|
25
40
|
* Argumentos que serão usados ao chamar a função searchLoader.
|
|
26
41
|
*/
|
|
27
42
|
argument: string;
|
|
43
|
+
/**
|
|
44
|
+
* Define se a popup de pesquisa possuirá ou não modo Hierarquico.
|
|
45
|
+
*/
|
|
46
|
+
isHierarchyEntity: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Define se permite seleção de items não analíticos
|
|
49
|
+
*/
|
|
50
|
+
allowsNonAnalytic: boolean;
|
|
28
51
|
observeArgument(): void;
|
|
29
52
|
private clearSearch;
|
|
30
53
|
private buildDetails;
|
|
31
54
|
private buildFirstFields;
|
|
32
55
|
private doSearch;
|
|
56
|
+
private processSearchResponse;
|
|
57
|
+
private buildCardItemList;
|
|
33
58
|
private filterFieldsMetadata;
|
|
34
59
|
private removeAtIndex;
|
|
35
60
|
private removeReference;
|
|
@@ -56,6 +81,15 @@ export declare class SnkPesquisa {
|
|
|
56
81
|
private clearDeboucingTimeout;
|
|
57
82
|
private onClickSearch;
|
|
58
83
|
private getMessageView;
|
|
59
|
-
|
|
84
|
+
componentWillLoad(): Promise<void>;
|
|
85
|
+
componentDidLoad(): Promise<void>;
|
|
86
|
+
private onClickList;
|
|
87
|
+
private enableListButton;
|
|
88
|
+
private hideLimitMessage;
|
|
89
|
+
private hideRecordsMessage;
|
|
90
|
+
private renderContent;
|
|
91
|
+
private renderTree;
|
|
92
|
+
private renderCards;
|
|
93
|
+
private renderPesquisaGrid;
|
|
60
94
|
render(): any;
|
|
61
95
|
}
|
|
@@ -5,9 +5,11 @@
|
|
|
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 { DataUnit, Filter, KeyboardManager, Record, UnitMetadata } from "@sankhyalabs/core";
|
|
9
|
+
import { IOption } from "@sankhyalabs/ezui/.diststorybook/types/components/ez-combo-box/ez-combo-box";
|
|
10
|
+
import { ITreeItem } from "@sankhyalabs/ezui/.diststorybook/types/components/ez-tree/interfaces/ITreeItem";
|
|
8
11
|
import { IAction } from "./components/snk-actions-button/actions/interfaces/IAction";
|
|
9
12
|
import { SnkMessageBuilder } from "./lib/message/SnkMessageBuilder";
|
|
10
|
-
import { DataUnit, Filter, KeyboardManager, Record, UnitMetadata } from "@sankhyalabs/core";
|
|
11
13
|
import { DataFetcher, Options } from "./lib/http/data-fetcher/DataFetcher";
|
|
12
14
|
import { AutorizationType } from "./lib/http/data-fetcher/fetchers/auth-fetcher";
|
|
13
15
|
import { AlertItem } from "@sankhyalabs/ezui/dist/types/components/ez-alert-list/ez-alert-list";
|
|
@@ -15,7 +17,7 @@ import { IAppletCallerParams } from "./lib/applet-caller/applet-caller";
|
|
|
15
17
|
import { IClientEventResponse } from "./lib/http/data-fetcher/interfaces/IClientEventResponse";
|
|
16
18
|
import { IDataFetcherRecaller } from "./lib/http/data-fetcher/recaller/IDataFetcherRecaller";
|
|
17
19
|
import { DialogType, MessageOptions } from "@sankhyalabs/ezui/dist/collection/utils";
|
|
18
|
-
import { IOption, ISearchArgument } from "@sankhyalabs/ezui/dist/types/components/ez-search/ez-search";
|
|
20
|
+
import { IOption as IOption1, ISearchArgument } from "@sankhyalabs/ezui/dist/types/components/ez-search/ez-search";
|
|
19
21
|
import { IRemoveSearchListener, ISearchListener, SearchCriteria } from "./lib/http/data-fetcher/fetchers/pesquisa-fetcher";
|
|
20
22
|
import { TFetcherType } from "./components/snk-attach/interfaces/TFetcherType";
|
|
21
23
|
import { AttachFetcherFacadeInterface, PresentationMode } from "./lib";
|
|
@@ -49,7 +51,7 @@ import { FilterFieldsDataSource, IFilterField, IFilterLink } from "./components/
|
|
|
49
51
|
import { IEzPopoverAnchorOptions } from "@sankhyalabs/ezui/dist/types/components/ez-popover/ez-popover";
|
|
50
52
|
import { SnkFilterItemConfig as SnkFilterItemConfig1 } from "./components/snk-filter-bar/filter-item/snk-filter-item";
|
|
51
53
|
import { ListItem as ListItem1 } from "./components/snk-filter-bar/filter-list/snk-filter-list";
|
|
52
|
-
import { IOption as
|
|
54
|
+
import { IOption as IOption2 } from "@sankhyalabs/ezui/dist/types/components/ez-combo-box/ez-combo-box";
|
|
53
55
|
import { IFormViewField } from "@sankhyalabs/ezui/dist/types/components/ez-form-view/interfaces/IFormViewField";
|
|
54
56
|
import { FormMetadata } from "@sankhyalabs/ezui/dist/collection/utils/form";
|
|
55
57
|
import { ICustomEditor as ICustomEditor1 } from "@sankhyalabs/ezui/dist/types/utils/customEditor/interfaces/ICustomEditor";
|
|
@@ -61,6 +63,43 @@ import { IBreadcrumbItem } from "@sankhyalabs/ezui/dist/types/components/ez-brea
|
|
|
61
63
|
import { ITab } from "./components/snk-form-config/subcomponents/snk-tab-config/snk-tab-config";
|
|
62
64
|
import { Action as Action1, CustomButton } from "./components/snk-taskbar/snk-taskbar";
|
|
63
65
|
export namespace Components {
|
|
66
|
+
interface PesquisaGrid {
|
|
67
|
+
/**
|
|
68
|
+
* Registros da grade
|
|
69
|
+
*/
|
|
70
|
+
"dataSource": Record[];
|
|
71
|
+
/**
|
|
72
|
+
* Campo que representa a descrição do registro
|
|
73
|
+
*/
|
|
74
|
+
"descriptionField": string;
|
|
75
|
+
/**
|
|
76
|
+
* Nome da entidade representada na grade
|
|
77
|
+
*/
|
|
78
|
+
"entityName": string;
|
|
79
|
+
/**
|
|
80
|
+
* Campos que representam as colunas da grade.
|
|
81
|
+
*/
|
|
82
|
+
"metadata": UnitMetadata;
|
|
83
|
+
/**
|
|
84
|
+
* Campo que representa a chave primária do registro
|
|
85
|
+
*/
|
|
86
|
+
"pkField": string;
|
|
87
|
+
}
|
|
88
|
+
interface PesquisaTree {
|
|
89
|
+
/**
|
|
90
|
+
* Define se permite seleção de items não analíticos
|
|
91
|
+
*/
|
|
92
|
+
"allowsNonAnalytic": boolean;
|
|
93
|
+
"applyFilter": () => Promise<void>;
|
|
94
|
+
/**
|
|
95
|
+
* Argumentos que serão usados ao chamar a função treeLoader.
|
|
96
|
+
*/
|
|
97
|
+
"argument": string;
|
|
98
|
+
/**
|
|
99
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
|
100
|
+
*/
|
|
101
|
+
"treeLoader"?: (text: string) => Promise<Array<ITreeItem>>;
|
|
102
|
+
}
|
|
64
103
|
interface SnkActionsButton {
|
|
65
104
|
}
|
|
66
105
|
interface SnkActionsForm {
|
|
@@ -137,11 +176,11 @@ export namespace Components {
|
|
|
137
176
|
/**
|
|
138
177
|
* Obtém as opções em componentes de pesquisa Ex.: snk-config-options
|
|
139
178
|
*/
|
|
140
|
-
"executePreparedSearch": (mode: string, argument: string, options: any) => Promise<Array<
|
|
179
|
+
"executePreparedSearch": (mode: string, argument: string, options: any) => Promise<Array<IOption1> | IOption1>;
|
|
141
180
|
/**
|
|
142
181
|
* Obtém as opções em componentes de pesquisa Ex.: snk-config-options
|
|
143
182
|
*/
|
|
144
|
-
"executeSearch": (searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit) => Promise<Array<
|
|
183
|
+
"executeSearch": (searchArgument: ISearchArgument, fieldName: string, dataUnit: DataUnit, ctxOptions?: any) => Promise<Array<IOption1> | IOption1>;
|
|
145
184
|
/**
|
|
146
185
|
* Com base em um campo realiza um "select distinct" respeitando os filtros atuais do dataUnit e um critério de filtro para a própria coluna.
|
|
147
186
|
*/
|
|
@@ -1186,7 +1225,7 @@ export namespace Components {
|
|
|
1186
1225
|
/**
|
|
1187
1226
|
* Define o valor do componente snk-filter-search
|
|
1188
1227
|
*/
|
|
1189
|
-
"value":
|
|
1228
|
+
"value": IOption2;
|
|
1190
1229
|
}
|
|
1191
1230
|
interface SnkFilterText {
|
|
1192
1231
|
/**
|
|
@@ -1651,13 +1690,25 @@ export namespace Components {
|
|
|
1651
1690
|
/**
|
|
1652
1691
|
* Controla o valor do componente.
|
|
1653
1692
|
*/
|
|
1654
|
-
"value": Array<
|
|
1693
|
+
"value": Array<IOption2|boolean|string|number|Date>;
|
|
1655
1694
|
}
|
|
1656
1695
|
interface SnkPesquisa {
|
|
1696
|
+
/**
|
|
1697
|
+
* Define se permite seleção de items não analíticos
|
|
1698
|
+
*/
|
|
1699
|
+
"allowsNonAnalytic": boolean;
|
|
1657
1700
|
/**
|
|
1658
1701
|
* Argumentos que serão usados ao chamar a função searchLoader.
|
|
1659
1702
|
*/
|
|
1660
1703
|
"argument": string;
|
|
1704
|
+
/**
|
|
1705
|
+
* Nome da entidade onde a pesquisa é aplicada.
|
|
1706
|
+
*/
|
|
1707
|
+
"entityName": string;
|
|
1708
|
+
/**
|
|
1709
|
+
* Define se a popup de pesquisa possuirá ou não modo Hierarquico.
|
|
1710
|
+
*/
|
|
1711
|
+
"isHierarchyEntity": boolean;
|
|
1661
1712
|
/**
|
|
1662
1713
|
* Função responsável em carregar os itens do componente snk-pesquisa.
|
|
1663
1714
|
*/
|
|
@@ -1665,7 +1716,11 @@ export namespace Components {
|
|
|
1665
1716
|
/**
|
|
1666
1717
|
* Função disparada ao selecionar um item.
|
|
1667
1718
|
*/
|
|
1668
|
-
"selectItem": (option:
|
|
1719
|
+
"selectItem": (option: IOption2) => void;
|
|
1720
|
+
/**
|
|
1721
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
|
1722
|
+
*/
|
|
1723
|
+
"treeLoader"?: (text: string) => Promise<any>;
|
|
1669
1724
|
}
|
|
1670
1725
|
interface SnkPrintSelector {
|
|
1671
1726
|
"openPrintSelector": (printJobData: PendingPrintJobData) => Promise<PrintSelectorResponse>;
|
|
@@ -1674,7 +1729,7 @@ export namespace Components {
|
|
|
1674
1729
|
/**
|
|
1675
1730
|
* Determina a opção selecionada.
|
|
1676
1731
|
*/
|
|
1677
|
-
"selectedOption":
|
|
1732
|
+
"selectedOption": IOption2 | string;
|
|
1678
1733
|
}
|
|
1679
1734
|
interface SnkSimpleBar {
|
|
1680
1735
|
/**
|
|
@@ -1937,6 +1992,14 @@ export namespace Components {
|
|
|
1937
1992
|
interface TestePesquisa {
|
|
1938
1993
|
}
|
|
1939
1994
|
}
|
|
1995
|
+
export interface PesquisaGridCustomEvent<T> extends CustomEvent<T> {
|
|
1996
|
+
detail: T;
|
|
1997
|
+
target: HTMLPesquisaGridElement;
|
|
1998
|
+
}
|
|
1999
|
+
export interface PesquisaTreeCustomEvent<T> extends CustomEvent<T> {
|
|
2000
|
+
detail: T;
|
|
2001
|
+
target: HTMLPesquisaTreeElement;
|
|
2002
|
+
}
|
|
1940
2003
|
export interface SnkApplicationCustomEvent<T> extends CustomEvent<T> {
|
|
1941
2004
|
detail: T;
|
|
1942
2005
|
target: HTMLSnkApplicationElement;
|
|
@@ -2106,6 +2169,18 @@ export interface TaskbarActionsButtonCustomEvent<T> extends CustomEvent<T> {
|
|
|
2106
2169
|
target: HTMLTaskbarActionsButtonElement;
|
|
2107
2170
|
}
|
|
2108
2171
|
declare global {
|
|
2172
|
+
interface HTMLPesquisaGridElement extends Components.PesquisaGrid, HTMLStencilElement {
|
|
2173
|
+
}
|
|
2174
|
+
var HTMLPesquisaGridElement: {
|
|
2175
|
+
prototype: HTMLPesquisaGridElement;
|
|
2176
|
+
new (): HTMLPesquisaGridElement;
|
|
2177
|
+
};
|
|
2178
|
+
interface HTMLPesquisaTreeElement extends Components.PesquisaTree, HTMLStencilElement {
|
|
2179
|
+
}
|
|
2180
|
+
var HTMLPesquisaTreeElement: {
|
|
2181
|
+
prototype: HTMLPesquisaTreeElement;
|
|
2182
|
+
new (): HTMLPesquisaTreeElement;
|
|
2183
|
+
};
|
|
2109
2184
|
interface HTMLSnkActionsButtonElement extends Components.SnkActionsButton, HTMLStencilElement {
|
|
2110
2185
|
}
|
|
2111
2186
|
var HTMLSnkActionsButtonElement: {
|
|
@@ -2425,6 +2500,8 @@ declare global {
|
|
|
2425
2500
|
new (): HTMLTestePesquisaElement;
|
|
2426
2501
|
};
|
|
2427
2502
|
interface HTMLElementTagNameMap {
|
|
2503
|
+
"pesquisa-grid": HTMLPesquisaGridElement;
|
|
2504
|
+
"pesquisa-tree": HTMLPesquisaTreeElement;
|
|
2428
2505
|
"snk-actions-button": HTMLSnkActionsButtonElement;
|
|
2429
2506
|
"snk-actions-form": HTMLSnkActionsFormElement;
|
|
2430
2507
|
"snk-application": HTMLSnkApplicationElement;
|
|
@@ -2481,6 +2558,44 @@ declare global {
|
|
|
2481
2558
|
}
|
|
2482
2559
|
}
|
|
2483
2560
|
declare namespace LocalJSX {
|
|
2561
|
+
interface PesquisaGrid {
|
|
2562
|
+
/**
|
|
2563
|
+
* Registros da grade
|
|
2564
|
+
*/
|
|
2565
|
+
"dataSource"?: Record[];
|
|
2566
|
+
/**
|
|
2567
|
+
* Campo que representa a descrição do registro
|
|
2568
|
+
*/
|
|
2569
|
+
"descriptionField"?: string;
|
|
2570
|
+
/**
|
|
2571
|
+
* Nome da entidade representada na grade
|
|
2572
|
+
*/
|
|
2573
|
+
"entityName"?: string;
|
|
2574
|
+
/**
|
|
2575
|
+
* Campos que representam as colunas da grade.
|
|
2576
|
+
*/
|
|
2577
|
+
"metadata"?: UnitMetadata;
|
|
2578
|
+
"onPesquisaGridSelectItem"?: (event: PesquisaGridCustomEvent<IOption>) => void;
|
|
2579
|
+
/**
|
|
2580
|
+
* Campo que representa a chave primária do registro
|
|
2581
|
+
*/
|
|
2582
|
+
"pkField"?: string;
|
|
2583
|
+
}
|
|
2584
|
+
interface PesquisaTree {
|
|
2585
|
+
/**
|
|
2586
|
+
* Define se permite seleção de items não analíticos
|
|
2587
|
+
*/
|
|
2588
|
+
"allowsNonAnalytic"?: boolean;
|
|
2589
|
+
/**
|
|
2590
|
+
* Argumentos que serão usados ao chamar a função treeLoader.
|
|
2591
|
+
*/
|
|
2592
|
+
"argument"?: string;
|
|
2593
|
+
"onPesquisaTreeSelectItem"?: (event: PesquisaTreeCustomEvent<IOption>) => void;
|
|
2594
|
+
/**
|
|
2595
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
|
2596
|
+
*/
|
|
2597
|
+
"treeLoader"?: (text: string) => Promise<Array<ITreeItem>>;
|
|
2598
|
+
}
|
|
2484
2599
|
interface SnkActionsButton {
|
|
2485
2600
|
}
|
|
2486
2601
|
interface SnkActionsForm {
|
|
@@ -3369,7 +3484,7 @@ declare namespace LocalJSX {
|
|
|
3369
3484
|
/**
|
|
3370
3485
|
* Define o valor do componente snk-filter-search
|
|
3371
3486
|
*/
|
|
3372
|
-
"value"?:
|
|
3487
|
+
"value"?: IOption2;
|
|
3373
3488
|
}
|
|
3374
3489
|
interface SnkFilterText {
|
|
3375
3490
|
/**
|
|
@@ -3809,13 +3924,25 @@ declare namespace LocalJSX {
|
|
|
3809
3924
|
/**
|
|
3810
3925
|
* Controla o valor do componente.
|
|
3811
3926
|
*/
|
|
3812
|
-
"value"?: Array<
|
|
3927
|
+
"value"?: Array<IOption2|boolean|string|number|Date>;
|
|
3813
3928
|
}
|
|
3814
3929
|
interface SnkPesquisa {
|
|
3930
|
+
/**
|
|
3931
|
+
* Define se permite seleção de items não analíticos
|
|
3932
|
+
*/
|
|
3933
|
+
"allowsNonAnalytic"?: boolean;
|
|
3815
3934
|
/**
|
|
3816
3935
|
* Argumentos que serão usados ao chamar a função searchLoader.
|
|
3817
3936
|
*/
|
|
3818
3937
|
"argument"?: string;
|
|
3938
|
+
/**
|
|
3939
|
+
* Nome da entidade onde a pesquisa é aplicada.
|
|
3940
|
+
*/
|
|
3941
|
+
"entityName"?: string;
|
|
3942
|
+
/**
|
|
3943
|
+
* Define se a popup de pesquisa possuirá ou não modo Hierarquico.
|
|
3944
|
+
*/
|
|
3945
|
+
"isHierarchyEntity"?: boolean;
|
|
3819
3946
|
/**
|
|
3820
3947
|
* Função responsável em carregar os itens do componente snk-pesquisa.
|
|
3821
3948
|
*/
|
|
@@ -3823,7 +3950,11 @@ declare namespace LocalJSX {
|
|
|
3823
3950
|
/**
|
|
3824
3951
|
* Função disparada ao selecionar um item.
|
|
3825
3952
|
*/
|
|
3826
|
-
"selectItem"?: (option:
|
|
3953
|
+
"selectItem"?: (option: IOption2) => void;
|
|
3954
|
+
/**
|
|
3955
|
+
* Função responsável por carregar a árvore hierárquica do componente
|
|
3956
|
+
*/
|
|
3957
|
+
"treeLoader"?: (text: string) => Promise<any>;
|
|
3827
3958
|
}
|
|
3828
3959
|
interface SnkPrintSelector {
|
|
3829
3960
|
}
|
|
@@ -3835,7 +3966,7 @@ declare namespace LocalJSX {
|
|
|
3835
3966
|
/**
|
|
3836
3967
|
* Determina a opção selecionada.
|
|
3837
3968
|
*/
|
|
3838
|
-
"selectedOption"?:
|
|
3969
|
+
"selectedOption"?: IOption2 | string;
|
|
3839
3970
|
}
|
|
3840
3971
|
interface SnkSimpleBar {
|
|
3841
3972
|
/**
|
|
@@ -4127,6 +4258,8 @@ declare namespace LocalJSX {
|
|
|
4127
4258
|
interface TestePesquisa {
|
|
4128
4259
|
}
|
|
4129
4260
|
interface IntrinsicElements {
|
|
4261
|
+
"pesquisa-grid": PesquisaGrid;
|
|
4262
|
+
"pesquisa-tree": PesquisaTree;
|
|
4130
4263
|
"snk-actions-button": SnkActionsButton;
|
|
4131
4264
|
"snk-actions-form": SnkActionsForm;
|
|
4132
4265
|
"snk-application": SnkApplication;
|
|
@@ -4186,6 +4319,8 @@ export { LocalJSX as JSX };
|
|
|
4186
4319
|
declare module "@stencil/core" {
|
|
4187
4320
|
export namespace JSX {
|
|
4188
4321
|
interface IntrinsicElements {
|
|
4322
|
+
"pesquisa-grid": LocalJSX.PesquisaGrid & JSXBase.HTMLAttributes<HTMLPesquisaGridElement>;
|
|
4323
|
+
"pesquisa-tree": LocalJSX.PesquisaTree & JSXBase.HTMLAttributes<HTMLPesquisaTreeElement>;
|
|
4189
4324
|
"snk-actions-button": LocalJSX.SnkActionsButton & JSXBase.HTMLAttributes<HTMLSnkActionsButtonElement>;
|
|
4190
4325
|
"snk-actions-form": LocalJSX.SnkActionsForm & JSXBase.HTMLAttributes<HTMLSnkActionsFormElement>;
|
|
4191
4326
|
"snk-application": LocalJSX.SnkApplication & JSXBase.HTMLAttributes<HTMLSnkApplicationElement>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IGridConfig } from '@sankhyalabs/ezui/.diststorybook/types/components/ez-grid/controller/EzGridController';
|
|
2
|
+
import { EzGridColumnConfig } from '@sankhyalabs/ezui/src/components/ez-grid/controller/EzGridController';
|
|
3
|
+
import { ITreeItem } from '@sankhyalabs/ezui/src/components/ez-tree/interfaces/ITreeItem';
|
|
4
|
+
import { DataType } from '@sankhyalabs/core';
|
|
2
5
|
export declare class PesquisaFetcher {
|
|
3
6
|
private _defaultPageSize;
|
|
4
7
|
private _templateByQuery;
|
|
@@ -9,6 +12,12 @@ export declare class PesquisaFetcher {
|
|
|
9
12
|
loadAdvancedSearch(entityName: string, argument: string, criteria?: SearchCriteria, searchOptions?: SearchOptions): Promise<any>;
|
|
10
13
|
addSearchListener(entityName: string, dataUnitID: DataUnitID, listener: ISearchListener): IRemoveSearchListener;
|
|
11
14
|
private applySearchListener;
|
|
15
|
+
loadPresentationConfig(entityName: string): Promise<string>;
|
|
16
|
+
savePresentationConfig(entityName: string, lastUsedMode: string): Promise<void>;
|
|
17
|
+
loadPesquisaGridConfig(entityName: string): Promise<IGridConfig | undefined>;
|
|
18
|
+
savePesquisaGridConfig(entityName: string, columns: Array<EzGridColumnConfig>): Promise<void>;
|
|
19
|
+
loadTree(entityName: string, argument: string, criteria?: SearchCriteria, searchOptions?: SearchOptions): Promise<Array<ITreeItem>>;
|
|
20
|
+
private buildLoadTreeRequestBody;
|
|
12
21
|
}
|
|
13
22
|
export interface SearchCriteria {
|
|
14
23
|
expression: string;
|
package/package.json
CHANGED
package/react/components.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { JSX } from '@sankhyalabs/sankhyablocks';
|
|
3
|
+
export declare const PesquisaGrid: import("react").ForwardRefExoticComponent<JSX.PesquisaGrid & Omit<import("react").HTMLAttributes<HTMLPesquisaGridElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPesquisaGridElement>>;
|
|
4
|
+
export declare const PesquisaTree: import("react").ForwardRefExoticComponent<JSX.PesquisaTree & Omit<import("react").HTMLAttributes<HTMLPesquisaTreeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPesquisaTreeElement>>;
|
|
3
5
|
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
6
|
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>>;
|
|
5
7
|
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>>;
|