r3ui-lib 1.3.19 → 1.3.21
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/login.es.js +14 -3148
- package/dist/modules/_virtual/___vite-browser-external.js +6 -0
- package/dist/modules/_virtual/__vite-browser-external.js +4 -0
- package/dist/modules/_virtual/_commonjsHelpers.js +33 -0
- package/dist/modules/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/modules/_virtual/he.js +5 -0
- package/dist/modules/_virtual/he2.js +4 -0
- package/dist/modules/_virtual/index.js +7 -0
- package/dist/modules/_virtual/inputmask.js +7 -0
- package/dist/modules/_virtual/inputmask2.js +4 -0
- package/dist/modules/_virtual/ru.js +5 -0
- package/dist/modules/_virtual/ru2.js +4 -0
- package/dist/modules/assets/img/confirmation.png.js +4 -0
- package/dist/modules/assets/img/error.png.js +4 -0
- package/dist/modules/assets/img/preloader.gif.js +4 -0
- package/dist/modules/assets/img/regagro_logo.svg.js +4 -0
- package/dist/modules/assets/img/success.png.js +4 -0
- package/dist/modules/assets/img/warning.png.js +4 -0
- package/dist/modules/components/DefaultButton.vue.js +112 -0
- package/dist/modules/components/Divider.vue.js +33 -0
- package/dist/modules/components/Icon.vue.js +18 -0
- package/dist/modules/components/Slider.vue.js +7 -0
- package/dist/modules/components/Slider.vue2.js +127 -0
- package/dist/modules/components/Spinner.vue.js +19 -0
- package/dist/modules/components/SsoLoginPending.vue.js +7 -0
- package/dist/modules/components/SsoLoginPending.vue2.js +44 -0
- package/dist/modules/components/SsoLoginScreen.vue.js +57 -0
- package/dist/modules/components/SsoLoginScreen.vue2.js +4 -0
- package/dist/modules/components/accordions/DefaultAccordion.vue.js +7 -0
- package/dist/modules/components/accordions/DefaultAccordion.vue2.js +72 -0
- package/dist/modules/components/accordions/KindCheckboxesAccordion.vue.js +7 -0
- package/dist/modules/components/accordions/KindCheckboxesAccordion.vue2.js +152 -0
- package/dist/modules/components/buttons/AddButton.vue.js +7 -0
- package/dist/modules/components/buttons/AddButton.vue2.js +30 -0
- package/dist/modules/components/buttons/ClearFormButton.vue.js +7 -0
- package/dist/modules/components/buttons/ClearFormButton.vue2.js +28 -0
- package/dist/modules/components/buttons/CollapseButton.vue.js +7 -0
- package/dist/modules/components/buttons/CollapseButton.vue2.js +57 -0
- package/dist/modules/components/buttons/ExportButton.vue.js +7 -0
- package/dist/modules/components/buttons/ExportButton.vue2.js +28 -0
- package/dist/modules/components/buttons/PrintButton.vue.js +7 -0
- package/dist/modules/components/buttons/PrintButton.vue2.js +27 -0
- package/dist/modules/components/buttons/ToggleButtons.vue.js +7 -0
- package/dist/modules/components/buttons/ToggleButtons.vue2.js +30 -0
- package/dist/modules/components/cards/CardInfo.vue.js +7 -0
- package/dist/modules/components/cards/CardInfo.vue2.js +56 -0
- package/dist/modules/components/cards/PageCard.vue.js +7 -0
- package/dist/modules/components/cards/PageCard.vue2.js +117 -0
- package/dist/modules/components/dropdowns/DefaultDropDown.vue.js +102 -0
- package/dist/modules/components/export/ExportComponent.vue.js +7 -0
- package/dist/modules/components/export/ExportComponent.vue2.js +74 -0
- package/dist/modules/components/filters/MultipleQuickFilterComponent.vue.js +7 -0
- package/dist/modules/components/filters/MultipleQuickFilterComponent.vue2.js +34 -0
- package/dist/modules/components/form/Checkbox.vue.js +66 -0
- package/dist/modules/components/form/CustomInput.vue.js +161 -0
- package/dist/modules/components/form/FormError.vue.js +24 -0
- package/dist/modules/components/form/PasswordInput.vue.js +82 -0
- package/dist/modules/components/form/VSelect.vue.js +192 -0
- package/dist/modules/components/form/useWithPopper.js +29 -0
- package/dist/modules/components/forms/AddressForm.vue.js +7 -0
- package/dist/modules/components/forms/AddressForm.vue2.js +382 -0
- package/dist/modules/components/forms/AgeFromAgeTo.vue.js +7 -0
- package/dist/modules/components/forms/AgeFromAgeTo.vue2.js +207 -0
- package/dist/modules/components/forms/BooleanCheckbox.vue.js +7 -0
- package/dist/modules/components/forms/BooleanCheckbox.vue2.js +54 -0
- package/dist/modules/components/forms/Flatpickr.vue.js +7 -0
- package/dist/modules/components/forms/Flatpickr.vue2.js +273 -0
- package/dist/modules/components/forms/HeaderSearchForm.vue.js +7 -0
- package/dist/modules/components/forms/HeaderSearchForm.vue2.js +142 -0
- package/dist/modules/components/forms/MultiCheckbox.vue.js +7 -0
- package/dist/modules/components/forms/MultiCheckbox.vue2.js +64 -0
- package/dist/modules/components/forms/MultiInput.vue.js +7 -0
- package/dist/modules/components/forms/MultiInput.vue2.js +115 -0
- package/dist/modules/components/icons/QuestionIcon.vue.js +7 -0
- package/dist/modules/components/icons/QuestionIcon.vue2.js +56 -0
- package/dist/modules/components/layout/Breadcrumbs.vue.js +7 -0
- package/dist/modules/components/layout/Breadcrumbs.vue2.js +40 -0
- package/dist/modules/components/layout/Card.vue.js +31 -0
- package/dist/modules/components/layout/Footer.vue.js +15 -0
- package/dist/modules/components/layout/Footer.vue2.js +4 -0
- package/dist/modules/components/layout/Header.vue.js +7 -0
- package/dist/modules/components/layout/Header.vue2.js +68 -0
- package/dist/modules/components/layout/LanguageSelector.vue.js +32 -0
- package/dist/modules/components/layout/LanguageSelector.vue3.js +5 -0
- package/dist/modules/components/layout/LoginLayoutFrame.vue.js +48 -0
- package/dist/modules/components/layout/LoginLayoutFrame.vue2.js +4 -0
- package/dist/modules/components/layout/MainComponent.vue.js +50 -0
- package/dist/modules/components/layout/MainComponent.vue2.js +4 -0
- package/dist/modules/components/layout/PageTitle.vue.js +7 -0
- package/dist/modules/components/layout/PageTitle.vue2.js +40 -0
- package/dist/modules/components/logo/Logo.vue.js +7 -0
- package/dist/modules/components/logo/Logo.vue2.js +50 -0
- package/dist/modules/components/modals/ConfirmationModal.vue.js +7 -0
- package/dist/modules/components/modals/ConfirmationModal.vue2.js +154 -0
- package/dist/modules/components/modals/DefaultModal.vue.js +116 -0
- package/dist/modules/components/modals/DefaultModal.vue3.js +5 -0
- package/dist/modules/components/modals/EditTableColumnsModalComponent.vue.js +7 -0
- package/dist/modules/components/modals/EditTableColumnsModalComponent.vue2.js +41 -0
- package/dist/modules/components/modals/TableFilterModalComponent.vue.js +7 -0
- package/dist/modules/components/modals/TableFilterModalComponent.vue2.js +66 -0
- package/dist/modules/components/modals/TableFilterModalShell.vue.js +89 -0
- package/dist/modules/components/modals/TableFilterModalShell.vue2.js +4 -0
- package/dist/modules/components/notifications/ErrorMessageComponent.vue.js +7 -0
- package/dist/modules/components/notifications/ErrorMessageComponent.vue2.js +45 -0
- package/dist/modules/components/notifications/NotificationMessage.vue.js +55 -0
- package/dist/modules/components/notifications/NotificationMessage.vue2.js +4 -0
- package/dist/modules/components/notifications/Toast.vue.js +71 -0
- package/dist/modules/components/sidebar/CollapsedSidebarLink.vue.js +7 -0
- package/dist/modules/components/sidebar/CollapsedSidebarLink.vue2.js +90 -0
- package/dist/modules/components/sidebar/Sidebar.vue.js +59 -0
- package/dist/modules/components/sidebar/Sidebar.vue3.js +5 -0
- package/dist/modules/components/sidebar/SidebarLink.vue.js +7 -0
- package/dist/modules/components/sidebar/SidebarLink.vue2.js +93 -0
- package/dist/modules/components/tables/ColumnSubFilter.vue.js +7 -0
- package/dist/modules/components/tables/ColumnSubFilter.vue2.js +36 -0
- package/dist/modules/components/tables/EditTableColumns.vue.js +7 -0
- package/dist/modules/components/tables/EditTableColumns.vue2.js +125 -0
- package/dist/modules/components/tables/ManagedRemoteTable.vue.js +72 -0
- package/dist/modules/components/tables/ManagedRemoteTable.vue2.js +4 -0
- package/dist/modules/components/tables/SubFilterToggleBtn.vue.js +28 -0
- package/dist/modules/components/tables/Table.vue.js +416 -0
- package/dist/modules/components/tables/Table.vue3.js +5 -0
- package/dist/modules/components/tables/TableAppliedFiltersStorage.vue.js +7 -0
- package/dist/modules/components/tables/TableAppliedFiltersStorage.vue2.js +56 -0
- package/dist/modules/components/tables/TableColumnsButton.vue.js +27 -0
- package/dist/modules/components/tables/TableColumnsButton.vue2.js +4 -0
- package/dist/modules/components/tables/TableColumnsDialog.vue.js +67 -0
- package/dist/modules/components/tables/TableColumnsDialog.vue2.js +4 -0
- package/dist/modules/components/tables/TableColumnsModal.vue.js +27 -0
- package/dist/modules/components/tables/TableColumnsModal.vue2.js +4 -0
- package/dist/modules/components/tables/TableCount.vue.js +7 -0
- package/dist/modules/components/tables/TableCount.vue2.js +26 -0
- package/dist/modules/components/tables/TableQuickFilterComponent.vue.js +7 -0
- package/dist/modules/components/tables/TableQuickFilterComponent.vue2.js +29 -0
- package/dist/modules/components/tables/ToggleAllTableRowButtons.vue.js +7 -0
- package/dist/modules/components/tables/ToggleAllTableRowButtons.vue2.js +41 -0
- package/dist/modules/components/utilities/FilterValuesPanel.vue.js +7 -0
- package/dist/modules/components/utilities/FilterValuesPanel.vue2.js +95 -0
- package/dist/modules/composables/forms/useAddressForm.js +289 -0
- package/dist/modules/composables/forms/useFieldError.js +23 -0
- package/dist/modules/composables/forms/useSearchForm.js +52 -0
- package/dist/modules/composables/forms/useUnsavedChanges.js +84 -0
- package/dist/modules/composables/layout/useR3uiLayoutInject.js +32 -0
- package/dist/modules/composables/main/useBreadcrumbs.js +75 -0
- package/dist/modules/composables/main/useMain.js +38 -0
- package/dist/modules/composables/main/usePermissionChecker.js +15 -0
- package/dist/modules/composables/modals/useModalLayer.js +109 -0
- package/dist/modules/composables/sidebar/useSidebar.js +40 -0
- package/dist/modules/composables/table/createTableCommandScheduler.js +62 -0
- package/dist/modules/composables/table/createTableLifecycle.js +719 -0
- package/dist/modules/composables/table/createTableRebuildTransaction.js +61 -0
- package/dist/modules/composables/table/createTableSession.js +38 -0
- package/dist/modules/composables/table/createTableState.js +122 -0
- package/dist/modules/composables/table/createTabulatorAdapter.js +90 -0
- package/dist/modules/composables/table/tableQueryTransitions.js +82 -0
- package/dist/modules/composables/table/useManagedRemoteTable.js +179 -0
- package/dist/modules/composables/table/useR3uiTableDefaultInject.js +27 -0
- package/dist/modules/composables/table/useRemoteTable.js +96 -0
- package/dist/modules/composables/table/useTableColumnApply.js +38 -0
- package/dist/modules/composables/table/useTableColumns.js +70 -0
- package/dist/modules/composables/table/useTableColumnsEnhanced.js +155 -0
- package/dist/modules/composables/table/useTableColumnsIntegration.js +82 -0
- package/dist/modules/composables/table/useTableDefault.js +258 -0
- package/dist/modules/composables/table/useTableStorage.js +32 -0
- package/dist/modules/constants/authSidebar.js +36 -0
- package/dist/modules/services/AddressService.js +21 -0
- package/dist/modules/types/layoutInjectKeys.js +10 -0
- package/dist/modules/types/tableInjectKeys.js +21 -0
- package/dist/modules/types/tableInstance.js +32 -0
- package/dist/modules/utils/accordionLocalization.js +14 -0
- package/dist/modules/utils/addressFormTranslations.js +29 -0
- package/dist/modules/utils/auth/authUser.js +13 -0
- package/dist/modules/utils/auth/exchangePasswordToken.js +52 -0
- package/dist/modules/utils/auth/handlePkceCallback.js +88 -0
- package/dist/modules/utils/auth/logout.js +32 -0
- package/dist/modules/utils/auth/runLogoutHandler.js +60 -0
- package/dist/modules/utils/auth/sessionController.js +28 -0
- package/dist/modules/utils/auth/signInWithSSO.js +141 -0
- package/dist/modules/utils/authCookie.js +21 -0
- package/dist/modules/utils/constants.js +34 -0
- package/dist/modules/utils/createTabulatorLangsFromT.js +30 -0
- package/dist/modules/utils/createTabulatorTableProps.js +19 -0
- package/dist/modules/utils/helpers.js +537 -0
- package/dist/modules/utils/pkce.js +50 -0
- package/dist/modules/utils/table-columns-utils.js +59 -0
- package/dist/modules/utils/tableAdapter.js +156 -0
- package/dist/modules/utils/tableAjaxRequest.js +82 -0
- package/dist/modules/utils/tableCancellation.js +271 -0
- package/dist/modules/utils/tableColumnStorage.js +55 -0
- package/dist/modules/utils/tableData.js +118 -0
- package/dist/modules/utils/tableLoad.js +67 -0
- package/dist/modules/utils/tableLocalizations.js +6 -0
- package/dist/modules/utils/tableOperation.js +63 -0
- package/dist/modules/utils/tableProjection.js +137 -0
- package/dist/modules/utils/tableQueryParameters.js +46 -0
- package/dist/modules/utils/tableSnapshotValue.js +73 -0
- package/dist/modules/utils/tabulatorQueryAdapter.js +203 -0
- package/dist/modules/utils/tabulatorRuntime.js +131 -0
- package/dist/modules/utils/upstreamHttpStatus.js +32 -0
- package/dist/modules/vendor/@popperjs/core/lib/createPopper.js +122 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/contains.js +18 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +23 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getClippingRect.js +37 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.js +32 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.js +10 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.js +17 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +9 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.js +13 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getNodeName.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.js +10 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.js +35 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getParentNode.js +18 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getScrollParent.js +10 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getViewportRect.js +21 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindow.js +12 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.js +11 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +9 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/instanceOf.js +20 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isScrollParent.js +8 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/isTableElement.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/dom-utils/listScrollParents.js +16 -0
- package/dist/modules/vendor/@popperjs/core/lib/enums.js +31 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/applyStyles.js +47 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/arrow.js +37 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/computeStyles.js +99 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/eventListeners.js +26 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/flip.js +74 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/hide.js +44 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/offset.js +31 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/popperOffsets.js +19 -0
- package/dist/modules/vendor/@popperjs/core/lib/modifiers/preventOverflow.js +54 -0
- package/dist/modules/vendor/@popperjs/core/lib/popper.js +27 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/computeAutoPlacement.js +27 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/computeOffsets.js +54 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/debounce.js +13 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/detectOverflow.js +33 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/expandToHashMap.js +8 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getAltAxis.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getBasePlacement.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getFreshSideObject.js +11 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getOppositePlacement.js +14 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +12 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/getVariation.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/math.js +6 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/mergeByName.js +15 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/mergePaddingObject.js +7 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/orderModifiers.js +31 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/rectToClientRect.js +11 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/userAgent.js +9 -0
- package/dist/modules/vendor/@popperjs/core/lib/utils/within.js +12 -0
- package/dist/modules/vendor/call-bind-apply-helpers/actualApply.js +14 -0
- package/dist/modules/vendor/call-bind-apply-helpers/functionApply.js +7 -0
- package/dist/modules/vendor/call-bind-apply-helpers/functionCall.js +7 -0
- package/dist/modules/vendor/call-bind-apply-helpers/index.js +18 -0
- package/dist/modules/vendor/call-bind-apply-helpers/reflectApply.js +7 -0
- package/dist/modules/vendor/call-bound/index.js +21 -0
- package/dist/modules/vendor/dompurify/dist/purify.es.js +1522 -0
- package/dist/modules/vendor/dunder-proto/get.js +29 -0
- package/dist/modules/vendor/es-define-property/index.js +16 -0
- package/dist/modules/vendor/es-errors/eval.js +7 -0
- package/dist/modules/vendor/es-errors/index.js +7 -0
- package/dist/modules/vendor/es-errors/range.js +7 -0
- package/dist/modules/vendor/es-errors/ref.js +7 -0
- package/dist/modules/vendor/es-errors/syntax.js +7 -0
- package/dist/modules/vendor/es-errors/type.js +7 -0
- package/dist/modules/vendor/es-errors/uri.js +7 -0
- package/dist/modules/vendor/es-object-atoms/index.js +7 -0
- package/dist/modules/vendor/flatpickr/dist/esm/index.js +942 -0
- package/dist/modules/vendor/flatpickr/dist/esm/l10n/default.js +75 -0
- package/dist/modules/vendor/flatpickr/dist/esm/types/options.js +80 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/dates.js +89 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/dom.js +45 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/formatting.js +170 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/index.js +23 -0
- package/dist/modules/vendor/flatpickr/dist/esm/utils/polyfills.js +15 -0
- package/dist/modules/vendor/flatpickr/dist/l10n/he.js +56 -0
- package/dist/modules/vendor/flatpickr/dist/l10n/ru.js +73 -0
- package/dist/modules/vendor/function-bind/implementation.js +48 -0
- package/dist/modules/vendor/function-bind/index.js +11 -0
- package/dist/modules/vendor/get-intrinsic/index.js +265 -0
- package/dist/modules/vendor/get-proto/Object.getPrototypeOf.js +11 -0
- package/dist/modules/vendor/get-proto/Reflect.getPrototypeOf.js +7 -0
- package/dist/modules/vendor/get-proto/index.js +21 -0
- package/dist/modules/vendor/gopd/gOPD.js +7 -0
- package/dist/modules/vendor/gopd/index.js +17 -0
- package/dist/modules/vendor/has-symbols/index.js +13 -0
- package/dist/modules/vendor/has-symbols/shams.js +33 -0
- package/dist/modules/vendor/hasown/index.js +11 -0
- package/dist/modules/vendor/inputmask/dist/inputmask.js +3517 -0
- package/dist/modules/vendor/math-intrinsics/abs.js +7 -0
- package/dist/modules/vendor/math-intrinsics/floor.js +7 -0
- package/dist/modules/vendor/math-intrinsics/isNaN.js +9 -0
- package/dist/modules/vendor/math-intrinsics/max.js +7 -0
- package/dist/modules/vendor/math-intrinsics/min.js +7 -0
- package/dist/modules/vendor/math-intrinsics/pow.js +7 -0
- package/dist/modules/vendor/math-intrinsics/round.js +7 -0
- package/dist/modules/vendor/math-intrinsics/sign.js +13 -0
- package/dist/modules/vendor/moment/dist/moment.js +2589 -0
- package/dist/modules/vendor/nouislider/dist/nouislider.js +1064 -0
- package/dist/modules/vendor/object-inspect/index.js +376 -0
- package/dist/modules/vendor/qs/lib/formats.js +25 -0
- package/dist/modules/vendor/qs/lib/index.js +17 -0
- package/dist/modules/vendor/qs/lib/parse.js +161 -0
- package/dist/modules/vendor/qs/lib/stringify.js +197 -0
- package/dist/modules/vendor/qs/lib/utils.js +129 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/common.js +21 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll-end-event.js +12 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll-step.js +21 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scroll.js +58 -0
- package/dist/modules/vendor/seamless-scroll-polyfill/lib/scrollIntoView.js +168 -0
- package/dist/modules/vendor/side-channel/index.js +35 -0
- package/dist/modules/vendor/side-channel-list/index.js +64 -0
- package/dist/modules/vendor/side-channel-map/index.js +40 -0
- package/dist/modules/vendor/side-channel-weakmap/index.js +43 -0
- package/dist/modules/vendor/tabulator-tables/dist/js/tabulator_esm.js +11127 -0
- package/dist/modules/vendor/vue-select/dist/vue-select.es.js +769 -0
- package/dist/r3ui-lib.css +1 -1
- package/dist/r3ui-lib.es.js +334 -35110
- package/dist/r3ui-lib.umd.js +12 -12
- package/dist/types/components/forms/AddressForm.vue.d.ts.map +1 -1
- package/package.json +7 -3
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { useId as $, computed as m, createElementBlock as o, openBlock as a, createCommentVNode as d, createVNode as v, normalizeClass as A, unref as s, toDisplayString as u, mergeProps as g, withCtx as c, createElementVNode as i, Fragment as D, toHandlers as H } from "vue";
|
|
2
|
+
import { useFieldError as L } from "../../composables/forms/useFieldError.js";
|
|
3
|
+
import M from "./FormError.vue.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import N from "../../vendor/vue-select/dist/vue-select.es.js";
|
|
6
|
+
import P from "./useWithPopper.js";
|
|
7
|
+
import { debounce as E } from "../../utils/helpers.js";
|
|
8
|
+
/* empty css */
|
|
9
|
+
const F = { class: "r3-vselect d-flex flex-column" }, j = ["for"], O = ["aria-label", "aria-labelledby"], w = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "text-muted"
|
|
12
|
+
}, z = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "py-1"
|
|
15
|
+
}, U = { class: "text-wrap" }, W = ["innerHTML"], q = {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "text-muted p-0"
|
|
18
|
+
}, G = { class: "text-wrap" }, J = {
|
|
19
|
+
key: 2,
|
|
20
|
+
class: "text-muted p-0 small d-flex justify-content-center"
|
|
21
|
+
}, K = { class: "text-wrap px-2" }, Q = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "selected"
|
|
24
|
+
}, R = ["innerHTML"], X = {
|
|
25
|
+
key: 0,
|
|
26
|
+
style: { "border-left-color": "rgba(88, 151, 251, 0.71)" },
|
|
27
|
+
class: "vs__spinner"
|
|
28
|
+
}, ne = {
|
|
29
|
+
__name: "VSelect",
|
|
30
|
+
props: {
|
|
31
|
+
modelValue: [String, Object, Number, Array],
|
|
32
|
+
inputId: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: void 0
|
|
35
|
+
},
|
|
36
|
+
reduce: {
|
|
37
|
+
type: Function,
|
|
38
|
+
default: (t) => t.id
|
|
39
|
+
},
|
|
40
|
+
hint: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: ""
|
|
43
|
+
},
|
|
44
|
+
classes: {
|
|
45
|
+
type: Array,
|
|
46
|
+
default: () => []
|
|
47
|
+
},
|
|
48
|
+
options: {
|
|
49
|
+
type: Array,
|
|
50
|
+
default: () => []
|
|
51
|
+
},
|
|
52
|
+
title: {
|
|
53
|
+
type: String
|
|
54
|
+
},
|
|
55
|
+
titleClass: {
|
|
56
|
+
type: String,
|
|
57
|
+
default: ""
|
|
58
|
+
},
|
|
59
|
+
disabled: {
|
|
60
|
+
type: [Boolean, String],
|
|
61
|
+
default: !1
|
|
62
|
+
},
|
|
63
|
+
placeholder: {
|
|
64
|
+
type: String,
|
|
65
|
+
default: ""
|
|
66
|
+
},
|
|
67
|
+
multiple: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: !1
|
|
70
|
+
},
|
|
71
|
+
isLoading: {
|
|
72
|
+
type: Boolean,
|
|
73
|
+
default: !1
|
|
74
|
+
},
|
|
75
|
+
allowClear: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
default: !0
|
|
78
|
+
},
|
|
79
|
+
searchTimout: {
|
|
80
|
+
type: Number,
|
|
81
|
+
default: 1e3
|
|
82
|
+
},
|
|
83
|
+
dropDownPlacement: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: "bottom",
|
|
86
|
+
validator(t, f) {
|
|
87
|
+
return ["bottom", "top"].includes(t);
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
/**
|
|
91
|
+
* Перенос выпадающего списка в document.body (vue-select Teleport).
|
|
92
|
+
* `auto` — как раньше: включается при dropDownPlacement === 'top'.
|
|
93
|
+
* `no` — не переносить (стабильнее с Vue 3.5 / Nuxt).
|
|
94
|
+
*/
|
|
95
|
+
teleportDropdown: {
|
|
96
|
+
type: String,
|
|
97
|
+
default: "auto",
|
|
98
|
+
validator: (t) => ["auto", "yes", "no"].includes(t)
|
|
99
|
+
},
|
|
100
|
+
error: {
|
|
101
|
+
type: [Array, String],
|
|
102
|
+
default: null
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
emits: ["update:modelValue", "search", "blur", "focus"],
|
|
106
|
+
setup(t, { emit: f }) {
|
|
107
|
+
const y = $(), p = f, n = t, b = m({
|
|
108
|
+
get: () => Array.isArray(n.modelValue) ? n.modelValue.slice() : n.modelValue ?? (n.multiple ? [] : null),
|
|
109
|
+
set: (l) => p("update:modelValue", l)
|
|
110
|
+
}), S = E(B, n.searchTimout), V = m(() => n.teleportDropdown === "yes" ? !0 : n.teleportDropdown === "no" ? !1 : n.dropDownPlacement === "top"), k = m(() => n.options ?? []);
|
|
111
|
+
function B(l) {
|
|
112
|
+
p("search", l);
|
|
113
|
+
}
|
|
114
|
+
const C = (l) => !(!l.id || l.disabled), { errorId: T, errorMessages: h, errorAttributes: x } = L(
|
|
115
|
+
() => n.error
|
|
116
|
+
);
|
|
117
|
+
return (l, r) => (a(), o("div", F, [
|
|
118
|
+
t.title ? (a(), o("label", {
|
|
119
|
+
key: 0,
|
|
120
|
+
for: t.inputId || s(y),
|
|
121
|
+
class: A(["r3-vselect__title", t.titleClass])
|
|
122
|
+
}, u(t.title), 11, j)) : d("", !0),
|
|
123
|
+
v(s(N), g({ class: "style-chooser" }, l.$attrs, {
|
|
124
|
+
modelValue: b.value,
|
|
125
|
+
"onUpdate:modelValue": r[0] || (r[0] = (e) => b.value = e),
|
|
126
|
+
"input-id": t.inputId || s(y),
|
|
127
|
+
reduce: t.reduce,
|
|
128
|
+
options: k.value,
|
|
129
|
+
multiple: t.multiple,
|
|
130
|
+
placeholder: t.placeholder,
|
|
131
|
+
disabled: t.disabled,
|
|
132
|
+
loading: t.isLoading,
|
|
133
|
+
clearable: t.allowClear,
|
|
134
|
+
placement: t.dropDownPlacement,
|
|
135
|
+
appendToBody: V.value,
|
|
136
|
+
"calculate-position": s(P),
|
|
137
|
+
selectable: (e) => C(e),
|
|
138
|
+
"onSearch:blur": r[1] || (r[1] = (e) => p("blur")),
|
|
139
|
+
"onSearch:focus": r[2] || (r[2] = (e) => p("focus")),
|
|
140
|
+
onSearch: s(S),
|
|
141
|
+
class: [...t.classes, s(h).length ? "not-valid" : ""]
|
|
142
|
+
}), {
|
|
143
|
+
search: c(({ attributes: e, events: I }) => [
|
|
144
|
+
i("input", g({ class: "vs__search" }, { ...e, ...s(x)(l.$attrs) }, {
|
|
145
|
+
"aria-label": l.$attrs["aria-label"],
|
|
146
|
+
"aria-labelledby": l.$attrs["aria-labelledby"] ?? (t.inputId || t.title || l.$attrs["aria-label"] ? void 0 : e["aria-labelledby"])
|
|
147
|
+
}, H(I, !0)), null, 16, O)
|
|
148
|
+
]),
|
|
149
|
+
"no-options": c((e) => [
|
|
150
|
+
e ? (a(), o("span", w, u(t.hint), 1)) : d("", !0)
|
|
151
|
+
]),
|
|
152
|
+
option: c((e) => [
|
|
153
|
+
e != null ? (a(), o(D, { key: 0 }, [
|
|
154
|
+
e.id ? (a(), o("div", z, [
|
|
155
|
+
i("div", U, u(e.label), 1),
|
|
156
|
+
e.html ? (a(), o("div", {
|
|
157
|
+
key: 0,
|
|
158
|
+
innerHTML: e.html
|
|
159
|
+
}, null, 8, W)) : d("", !0)
|
|
160
|
+
])) : e.disabled ? (a(), o("div", q, [
|
|
161
|
+
i("div", G, u(e.label) + "disabled", 1)
|
|
162
|
+
])) : (a(), o("div", J, [
|
|
163
|
+
r[3] || (r[3] = i("span", null, "-", -1)),
|
|
164
|
+
i("span", K, u(e.label), 1),
|
|
165
|
+
r[4] || (r[4] = i("span", null, "-", -1))
|
|
166
|
+
]))
|
|
167
|
+
], 64)) : d("", !0)
|
|
168
|
+
]),
|
|
169
|
+
"selected-option": c((e) => [
|
|
170
|
+
e != null ? (a(), o("div", Q, [
|
|
171
|
+
i("div", null, u(e.label), 1),
|
|
172
|
+
e.html ? (a(), o("div", {
|
|
173
|
+
key: 0,
|
|
174
|
+
innerHTML: e.html
|
|
175
|
+
}, null, 8, R)) : d("", !0)
|
|
176
|
+
])) : d("", !0)
|
|
177
|
+
]),
|
|
178
|
+
spinner: c((e) => [
|
|
179
|
+
e != null && e.loading ? (a(), o("div", X)) : d("", !0)
|
|
180
|
+
]),
|
|
181
|
+
_: 1
|
|
182
|
+
}, 16, ["modelValue", "input-id", "reduce", "options", "multiple", "placeholder", "disabled", "loading", "clearable", "placement", "appendToBody", "calculate-position", "selectable", "onSearch", "class"]),
|
|
183
|
+
v(M, {
|
|
184
|
+
id: s(T),
|
|
185
|
+
errors: s(h)
|
|
186
|
+
}, null, 8, ["id", "errors"])
|
|
187
|
+
]));
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
export {
|
|
191
|
+
ne as default
|
|
192
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createPopper as p } from "../../vendor/@popperjs/core/lib/popper.js";
|
|
2
|
+
function f(t, e, { width: l }) {
|
|
3
|
+
t.style.width = l;
|
|
4
|
+
const r = e.$el.closest(".r3ui-modal-wrapper, .filter-modal-wrapper");
|
|
5
|
+
r && (t.style.zIndex = String(Number.parseInt(getComputedStyle(r).zIndex, 10) + 1));
|
|
6
|
+
const s = p(e.$refs.toggle, t, {
|
|
7
|
+
placement: e.$attrs.placement,
|
|
8
|
+
modifiers: [
|
|
9
|
+
{
|
|
10
|
+
name: "offset",
|
|
11
|
+
options: {
|
|
12
|
+
offset: [0, -1]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: "toggleClass",
|
|
17
|
+
enabled: !0,
|
|
18
|
+
phase: "write",
|
|
19
|
+
fn({ state: a }) {
|
|
20
|
+
e.$el.classList.toggle("drop-up", a.placement === "top");
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
return () => s.destroy();
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
f as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
import { defineComponent as ge, useId as he, watch as W, computed as Le, createElementBlock as b, openBlock as m, unref as e, createElementVNode as a, createCommentVNode as p, normalizeClass as y, createVNode as g, toDisplayString as d, Fragment as Ce, createTextVNode as $e } from "vue";
|
|
2
|
+
import h from "../form/VSelect.vue.js";
|
|
3
|
+
import { useAddressForm as Se } from "../../composables/forms/useAddressForm.js";
|
|
4
|
+
const Ke = ["aria-busy"], Fe = { class: "row" }, we = ["id", "for"], ve = ["id", "for"], Ve = ["id", "for"], Ie = ["id", "for"], Oe = ["id", "for"], Ae = ["id", "for"], Be = ["id", "value", "disabled"], Re = ["id", "for"], ke = ["id", "value", "disabled"], We = ["id", "for"], He = ["id", "value", "disabled"], _e = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "alert address-form__error",
|
|
7
|
+
role: "alert"
|
|
8
|
+
}, De = { class: "mb-2" }, Ne = ["disabled"], Pe = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "mt-3"
|
|
11
|
+
}, Ue = { class: "alert alert-info" }, Te = /* @__PURE__ */ ge({
|
|
12
|
+
__name: "AddressForm",
|
|
13
|
+
props: {
|
|
14
|
+
modelValue: { default: () => ({}) },
|
|
15
|
+
loadCountries: {},
|
|
16
|
+
loadRegions: {},
|
|
17
|
+
loadDistricts: {},
|
|
18
|
+
loadLocalities: {},
|
|
19
|
+
loadStreets: {},
|
|
20
|
+
countryKey: { default: "country_id" },
|
|
21
|
+
regionKey: { default: "region_id" },
|
|
22
|
+
districtKey: { default: "district_id" },
|
|
23
|
+
localityKey: { default: "locality_id" },
|
|
24
|
+
streetKey: { default: "street_id" },
|
|
25
|
+
houseKey: { default: "house" },
|
|
26
|
+
buildingKey: { default: "building" },
|
|
27
|
+
apartmentKey: { default: "apartment" },
|
|
28
|
+
emptyLabel: { default: "Ничего не найдено" },
|
|
29
|
+
errorLabel: { default: "Не удалось загрузить адрес. Повторите попытку." },
|
|
30
|
+
retryLabel: { default: "Повторить" },
|
|
31
|
+
countryLabel: { default: "Страна" },
|
|
32
|
+
regionLabel: { default: "Регион" },
|
|
33
|
+
districtLabel: { default: "Район" },
|
|
34
|
+
localityLabel: { default: "Населенный пункт" },
|
|
35
|
+
streetLabel: { default: "Улица" },
|
|
36
|
+
houseLabel: { default: "Дом" },
|
|
37
|
+
buildingLabel: { default: "Корпус" },
|
|
38
|
+
apartmentLabel: { default: "Квартира" },
|
|
39
|
+
columnWidth: { default: "12" },
|
|
40
|
+
prefix: { default: "" },
|
|
41
|
+
multiLocalities: { type: Boolean, default: !1 },
|
|
42
|
+
multiStreets: { type: Boolean, default: !1 },
|
|
43
|
+
showHouseFields: { type: Boolean, default: !0 },
|
|
44
|
+
showFullAddress: { type: Boolean, default: !1 },
|
|
45
|
+
disabledFields: { default: () => ({}) },
|
|
46
|
+
allowClear: { default: () => ({}) },
|
|
47
|
+
countryId: { default: void 0 },
|
|
48
|
+
setFilterParamsStringsHandler: { type: Function, default: void 0 },
|
|
49
|
+
filterName: { default: "address" },
|
|
50
|
+
isParentComponentReady: { type: Boolean, default: !0 }
|
|
51
|
+
},
|
|
52
|
+
emits: ["update:modelValue", "change", "countryChange", "regionChange", "districtChange", "localityChange", "streetChange", "loadError"],
|
|
53
|
+
setup(H, { expose: _, emit: D }) {
|
|
54
|
+
const t = H, u = D, N = {
|
|
55
|
+
loadCountries: t.loadCountries,
|
|
56
|
+
loadRegions: t.loadRegions,
|
|
57
|
+
loadDistricts: t.loadDistricts,
|
|
58
|
+
loadLocalities: t.loadLocalities,
|
|
59
|
+
loadStreets: t.loadStreets,
|
|
60
|
+
countryKey: t.countryKey,
|
|
61
|
+
regionKey: t.regionKey,
|
|
62
|
+
districtKey: t.districtKey,
|
|
63
|
+
localityKey: t.localityKey,
|
|
64
|
+
streetKey: t.streetKey,
|
|
65
|
+
houseKey: t.houseKey,
|
|
66
|
+
buildingKey: t.buildingKey,
|
|
67
|
+
apartmentKey: t.apartmentKey,
|
|
68
|
+
get countryId() {
|
|
69
|
+
return t.countryId;
|
|
70
|
+
},
|
|
71
|
+
onChange: (l) => {
|
|
72
|
+
u("update:modelValue", l), u("change", l);
|
|
73
|
+
},
|
|
74
|
+
get countryLabel() {
|
|
75
|
+
return t.countryLabel;
|
|
76
|
+
},
|
|
77
|
+
get regionLabel() {
|
|
78
|
+
return t.regionLabel;
|
|
79
|
+
},
|
|
80
|
+
get districtLabel() {
|
|
81
|
+
return t.districtLabel;
|
|
82
|
+
},
|
|
83
|
+
get localityLabel() {
|
|
84
|
+
return t.localityLabel;
|
|
85
|
+
},
|
|
86
|
+
get streetLabel() {
|
|
87
|
+
return t.streetLabel;
|
|
88
|
+
},
|
|
89
|
+
get houseLabel() {
|
|
90
|
+
return t.houseLabel;
|
|
91
|
+
},
|
|
92
|
+
get buildingLabel() {
|
|
93
|
+
return t.buildingLabel;
|
|
94
|
+
},
|
|
95
|
+
get apartmentLabel() {
|
|
96
|
+
return t.apartmentLabel;
|
|
97
|
+
},
|
|
98
|
+
columnWidth: t.columnWidth,
|
|
99
|
+
prefix: t.prefix,
|
|
100
|
+
multiLocalities: t.multiLocalities,
|
|
101
|
+
multiStreets: t.multiStreets,
|
|
102
|
+
showHouseFields: t.showHouseFields
|
|
103
|
+
}, {
|
|
104
|
+
modelValue: r,
|
|
105
|
+
error: C,
|
|
106
|
+
retry: K,
|
|
107
|
+
syncFromProps: P,
|
|
108
|
+
resetForm: U,
|
|
109
|
+
isLoading: L,
|
|
110
|
+
isCountryLoading: F,
|
|
111
|
+
isRegionLoading: w,
|
|
112
|
+
isDistrictLoading: v,
|
|
113
|
+
isLocalityLoading: V,
|
|
114
|
+
isStreetLoading: I,
|
|
115
|
+
countryOptions: E,
|
|
116
|
+
regionOptions: z,
|
|
117
|
+
districtOptions: M,
|
|
118
|
+
localityOptions: T,
|
|
119
|
+
streetOptions: j,
|
|
120
|
+
finalCountryKey: q,
|
|
121
|
+
finalRegionKey: G,
|
|
122
|
+
finalDistrictKey: J,
|
|
123
|
+
finalLocalityKey: O,
|
|
124
|
+
finalStreetKey: A,
|
|
125
|
+
finalHouseKey: Q,
|
|
126
|
+
finalBuildingKey: X,
|
|
127
|
+
finalApartmentKey: Y,
|
|
128
|
+
labels: c,
|
|
129
|
+
fullAddress: f,
|
|
130
|
+
isMultiLocalitiesSelected: Z,
|
|
131
|
+
shouldShowHouseFields: $,
|
|
132
|
+
loadCountryOptions: x,
|
|
133
|
+
loadRegionOptions: ee,
|
|
134
|
+
onCountrySelect: le,
|
|
135
|
+
onRegionSelect: te,
|
|
136
|
+
onDistrictSelect: oe,
|
|
137
|
+
onLocalitySelect: ae,
|
|
138
|
+
onStreetSelect: ie,
|
|
139
|
+
onHouseInput: se,
|
|
140
|
+
onBuildingInput: ne,
|
|
141
|
+
onApartmentInput: de,
|
|
142
|
+
autoFillForm: re,
|
|
143
|
+
autoFillFormSkipReset: ue
|
|
144
|
+
} = Se(N), o = he();
|
|
145
|
+
async function s(l) {
|
|
146
|
+
try {
|
|
147
|
+
await l();
|
|
148
|
+
} catch (i) {
|
|
149
|
+
u("loadError", i);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
W(
|
|
153
|
+
() => [t.modelValue, t.countryId],
|
|
154
|
+
([l, i], n) => {
|
|
155
|
+
const S = !!(n && i !== n[1]);
|
|
156
|
+
s(
|
|
157
|
+
async () => P(l, i, S)
|
|
158
|
+
);
|
|
159
|
+
},
|
|
160
|
+
{ immediate: !0, deep: !0 }
|
|
161
|
+
);
|
|
162
|
+
const ce = (l) => s(async () => {
|
|
163
|
+
await le(l) && u("countryChange", l);
|
|
164
|
+
}), be = (l) => s(async () => {
|
|
165
|
+
await te(l) && u("regionChange", l);
|
|
166
|
+
}), me = (l) => s(async () => {
|
|
167
|
+
await oe(l) && u("districtChange", l);
|
|
168
|
+
}), ye = (l) => s(async () => {
|
|
169
|
+
await ae(l) && u("localityChange", l);
|
|
170
|
+
}), pe = (l) => {
|
|
171
|
+
ie(l), u("streetChange", l);
|
|
172
|
+
}, B = se, R = ne, k = de, fe = Le(() => {
|
|
173
|
+
if (!t.multiLocalities) return !1;
|
|
174
|
+
const l = r.value[A.value];
|
|
175
|
+
return !Array.isArray(l) || l?.length < 2;
|
|
176
|
+
});
|
|
177
|
+
return W(
|
|
178
|
+
[f, L, C, () => t.isParentComponentReady],
|
|
179
|
+
([l, i, n, S]) => {
|
|
180
|
+
S && !i && !n && t.setFilterParamsStringsHandler?.(t.filterName, l);
|
|
181
|
+
}
|
|
182
|
+
), _({
|
|
183
|
+
loadRegionOptions: (l) => s(() => ee(l)),
|
|
184
|
+
loadCountryOptions: () => s(x),
|
|
185
|
+
resetForm: () => s(U),
|
|
186
|
+
getFullAddress: () => f.value,
|
|
187
|
+
getValue: () => f.value,
|
|
188
|
+
autoFillForm: re,
|
|
189
|
+
autoFillFormSkipReset: (l, i = t.countryId) => s(() => ue(l, i)),
|
|
190
|
+
error: C,
|
|
191
|
+
isLoading: L,
|
|
192
|
+
retry: () => s(K)
|
|
193
|
+
}), (l, i) => (m(), b("div", {
|
|
194
|
+
class: "address-form",
|
|
195
|
+
"aria-busy": e(L)
|
|
196
|
+
}, [
|
|
197
|
+
a("div", Fe, [
|
|
198
|
+
l.loadCountries ? (m(), b("div", {
|
|
199
|
+
key: 0,
|
|
200
|
+
class: y(`col-${l.columnWidth} mb-2`)
|
|
201
|
+
}, [
|
|
202
|
+
a("label", {
|
|
203
|
+
id: `${e(o)}-country-label`,
|
|
204
|
+
for: `${e(o)}-country`,
|
|
205
|
+
class: "form-label"
|
|
206
|
+
}, d(e(c).country), 9, we),
|
|
207
|
+
g(h, {
|
|
208
|
+
"input-id": `${e(o)}-country`,
|
|
209
|
+
hint: l.emptyLabel,
|
|
210
|
+
"aria-labelledby": `${e(o)}-country-label`,
|
|
211
|
+
modelValue: e(r)[e(q)],
|
|
212
|
+
options: e(E),
|
|
213
|
+
disabled: l.disabledFields?.country || e(F),
|
|
214
|
+
"onUpdate:modelValue": ce,
|
|
215
|
+
allowClear: l.allowClear?.country,
|
|
216
|
+
isLoading: e(F)
|
|
217
|
+
}, null, 8, ["input-id", "hint", "aria-labelledby", "modelValue", "options", "disabled", "allowClear", "isLoading"])
|
|
218
|
+
], 2)) : p("", !0),
|
|
219
|
+
a("div", {
|
|
220
|
+
class: y(`col-${l.columnWidth} mb-2`)
|
|
221
|
+
}, [
|
|
222
|
+
a("label", {
|
|
223
|
+
id: `${e(o)}-region-label`,
|
|
224
|
+
for: `${e(o)}-region`,
|
|
225
|
+
class: "form-label"
|
|
226
|
+
}, d(e(c).region), 9, ve),
|
|
227
|
+
g(h, {
|
|
228
|
+
hint: l.emptyLabel,
|
|
229
|
+
"aria-labelledby": `${e(o)}-region-label`,
|
|
230
|
+
"input-id": `${e(o)}-region`,
|
|
231
|
+
modelValue: e(r)[e(G)],
|
|
232
|
+
options: e(z),
|
|
233
|
+
disabled: l.disabledFields?.region || e(w),
|
|
234
|
+
"onUpdate:modelValue": be,
|
|
235
|
+
allowClear: l.allowClear?.region,
|
|
236
|
+
isLoading: e(w)
|
|
237
|
+
}, null, 8, ["hint", "aria-labelledby", "input-id", "modelValue", "options", "disabled", "allowClear", "isLoading"])
|
|
238
|
+
], 2),
|
|
239
|
+
a("div", {
|
|
240
|
+
class: y(`col-${l.columnWidth} mb-2`)
|
|
241
|
+
}, [
|
|
242
|
+
a("label", {
|
|
243
|
+
id: `${e(o)}-district-label`,
|
|
244
|
+
for: `${e(o)}-district`,
|
|
245
|
+
class: "form-label"
|
|
246
|
+
}, d(e(c).district), 9, Ve),
|
|
247
|
+
g(h, {
|
|
248
|
+
hint: l.emptyLabel,
|
|
249
|
+
"aria-labelledby": `${e(o)}-district-label`,
|
|
250
|
+
"input-id": `${e(o)}-district`,
|
|
251
|
+
modelValue: e(r)[e(J)],
|
|
252
|
+
disabled: l.disabledFields?.district || e(v),
|
|
253
|
+
options: e(M),
|
|
254
|
+
"onUpdate:modelValue": me,
|
|
255
|
+
allowClear: l.allowClear?.district,
|
|
256
|
+
isLoading: e(v)
|
|
257
|
+
}, null, 8, ["hint", "aria-labelledby", "input-id", "modelValue", "disabled", "options", "allowClear", "isLoading"])
|
|
258
|
+
], 2),
|
|
259
|
+
a("div", {
|
|
260
|
+
class: y(`col-${l.columnWidth} mb-2`)
|
|
261
|
+
}, [
|
|
262
|
+
a("label", {
|
|
263
|
+
id: `${e(o)}-locality-label`,
|
|
264
|
+
for: `${e(o)}-locality`,
|
|
265
|
+
class: "form-label"
|
|
266
|
+
}, d(e(c).locality), 9, Ie),
|
|
267
|
+
g(h, {
|
|
268
|
+
hint: l.emptyLabel,
|
|
269
|
+
"aria-labelledby": `${e(o)}-locality-label`,
|
|
270
|
+
"input-id": `${e(o)}-locality`,
|
|
271
|
+
modelValue: e(r)[e(O)],
|
|
272
|
+
disabled: l.disabledFields?.locality || e(V),
|
|
273
|
+
"onUpdate:modelValue": ye,
|
|
274
|
+
options: e(T),
|
|
275
|
+
name: e(O),
|
|
276
|
+
showAddButton: fe.value,
|
|
277
|
+
isLoading: e(V),
|
|
278
|
+
multiple: l.multiLocalities
|
|
279
|
+
}, null, 8, ["hint", "aria-labelledby", "input-id", "modelValue", "disabled", "options", "name", "showAddButton", "isLoading", "multiple"])
|
|
280
|
+
], 2),
|
|
281
|
+
e(Z) ? p("", !0) : (m(), b(Ce, { key: 1 }, [
|
|
282
|
+
a("div", {
|
|
283
|
+
class: y(`col-${l.columnWidth} mb-2`)
|
|
284
|
+
}, [
|
|
285
|
+
a("label", {
|
|
286
|
+
id: `${e(o)}-street-label`,
|
|
287
|
+
for: `${e(o)}-street`,
|
|
288
|
+
class: "form-label"
|
|
289
|
+
}, d(e(c).street), 9, Oe),
|
|
290
|
+
g(h, {
|
|
291
|
+
hint: l.emptyLabel,
|
|
292
|
+
"aria-labelledby": `${e(o)}-street-label`,
|
|
293
|
+
"input-id": `${e(o)}-street`,
|
|
294
|
+
modelValue: e(r)[e(A)],
|
|
295
|
+
disabled: l.disabledFields?.street || e(I),
|
|
296
|
+
options: e(j),
|
|
297
|
+
"onUpdate:modelValue": pe,
|
|
298
|
+
allowClear: l.allowClear?.street,
|
|
299
|
+
isLoading: e(I),
|
|
300
|
+
multiple: l.multiStreets
|
|
301
|
+
}, null, 8, ["hint", "aria-labelledby", "input-id", "modelValue", "disabled", "options", "allowClear", "isLoading", "multiple"])
|
|
302
|
+
], 2),
|
|
303
|
+
e($) ? (m(), b("div", {
|
|
304
|
+
key: 0,
|
|
305
|
+
class: y(`col-${l.columnWidth} mb-2`)
|
|
306
|
+
}, [
|
|
307
|
+
a("label", {
|
|
308
|
+
id: `${e(o)}-house-label`,
|
|
309
|
+
class: "form-label",
|
|
310
|
+
for: `${e(o)}-house`
|
|
311
|
+
}, d(e(c).house), 9, Ae),
|
|
312
|
+
a("input", {
|
|
313
|
+
type: "text",
|
|
314
|
+
class: "form-control",
|
|
315
|
+
id: `${e(o)}-house`,
|
|
316
|
+
value: e(r)[e(Q)] || "",
|
|
317
|
+
disabled: l.disabledFields?.house,
|
|
318
|
+
onInput: i[0] || (i[0] = //@ts-ignore
|
|
319
|
+
(...n) => e(B) && e(B)(...n))
|
|
320
|
+
}, null, 40, Be)
|
|
321
|
+
], 2)) : p("", !0),
|
|
322
|
+
e($) ? (m(), b("div", {
|
|
323
|
+
key: 1,
|
|
324
|
+
class: y(`col-${l.columnWidth} mb-2`)
|
|
325
|
+
}, [
|
|
326
|
+
a("label", {
|
|
327
|
+
id: `${e(o)}-building-label`,
|
|
328
|
+
class: "form-label",
|
|
329
|
+
for: `${e(o)}-building`
|
|
330
|
+
}, d(e(c).building), 9, Re),
|
|
331
|
+
a("input", {
|
|
332
|
+
type: "text",
|
|
333
|
+
class: "form-control",
|
|
334
|
+
id: `${e(o)}-building`,
|
|
335
|
+
value: e(r)[e(X)] || "",
|
|
336
|
+
disabled: l.disabledFields?.building,
|
|
337
|
+
onInput: i[1] || (i[1] = //@ts-ignore
|
|
338
|
+
(...n) => e(R) && e(R)(...n))
|
|
339
|
+
}, null, 40, ke)
|
|
340
|
+
], 2)) : p("", !0),
|
|
341
|
+
e($) ? (m(), b("div", {
|
|
342
|
+
key: 2,
|
|
343
|
+
class: y(`col-${l.columnWidth} mb-2`)
|
|
344
|
+
}, [
|
|
345
|
+
a("label", {
|
|
346
|
+
id: `${e(o)}-apartment-label`,
|
|
347
|
+
class: "form-label",
|
|
348
|
+
for: `${e(o)}-apartment`
|
|
349
|
+
}, d(e(c).apartment), 9, We),
|
|
350
|
+
a("input", {
|
|
351
|
+
type: "text",
|
|
352
|
+
class: "form-control",
|
|
353
|
+
id: `${e(o)}-apartment`,
|
|
354
|
+
value: e(r)[e(Y)] || "",
|
|
355
|
+
disabled: l.disabledFields?.apartment,
|
|
356
|
+
onInput: i[2] || (i[2] = //@ts-ignore
|
|
357
|
+
(...n) => e(k) && e(k)(...n))
|
|
358
|
+
}, null, 40, He)
|
|
359
|
+
], 2)) : p("", !0)
|
|
360
|
+
], 64))
|
|
361
|
+
]),
|
|
362
|
+
e(C) ? (m(), b("div", _e, [
|
|
363
|
+
a("p", De, d(l.errorLabel), 1),
|
|
364
|
+
a("button", {
|
|
365
|
+
type: "button",
|
|
366
|
+
class: "btn btn-light",
|
|
367
|
+
disabled: e(L),
|
|
368
|
+
onClick: i[3] || (i[3] = (n) => s(e(K)))
|
|
369
|
+
}, d(l.retryLabel), 9, Ne)
|
|
370
|
+
])) : p("", !0),
|
|
371
|
+
l.showFullAddress && e(f) ? (m(), b("div", Pe, [
|
|
372
|
+
a("div", Ue, [
|
|
373
|
+
i[4] || (i[4] = a("strong", null, "Полный адрес:", -1)),
|
|
374
|
+
$e(" " + d(e(f)), 1)
|
|
375
|
+
])
|
|
376
|
+
])) : p("", !0)
|
|
377
|
+
], 8, Ke));
|
|
378
|
+
}
|
|
379
|
+
});
|
|
380
|
+
export {
|
|
381
|
+
Te as default
|
|
382
|
+
};
|