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,142 @@
|
|
|
1
|
+
import { defineComponent as U, ref as L, computed as i, watch as _, onMounted as $, onUnmounted as I, createElementBlock as r, openBlock as s, createBlock as k, createElementVNode as W, createCommentVNode as q, unref as t, isRef as T, withModifiers as G, Fragment as Q, renderList as j, createVNode as z } from "vue";
|
|
2
|
+
import A from "../form/VSelect.vue.js";
|
|
3
|
+
import D from "./BooleanCheckbox.vue.js";
|
|
4
|
+
import J from "../Spinner.vue.js";
|
|
5
|
+
import { useSearchForm as K } from "../../composables/forms/useSearchForm.js";
|
|
6
|
+
const P = ["disabled"], X = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "bi bi-three-dots-vertical"
|
|
9
|
+
}, te = /* @__PURE__ */ U({
|
|
10
|
+
__name: "HeaderSearchForm",
|
|
11
|
+
props: {
|
|
12
|
+
placeholder: { default: "Поиск..." },
|
|
13
|
+
searchHint: { default: "Введите минимум 3 символа" },
|
|
14
|
+
searchTypes: { default: () => [
|
|
15
|
+
{ value: "partial", label: "По частичному совпадению" },
|
|
16
|
+
{ value: "exact", label: "По полному совпадению" }
|
|
17
|
+
] },
|
|
18
|
+
defaultSearchType: { default: "partial" },
|
|
19
|
+
minSearchLength: { default: 3 },
|
|
20
|
+
searchTypeName: { default: "searchType" },
|
|
21
|
+
options: { default: () => [] },
|
|
22
|
+
isLoading: { type: Boolean, default: !1 },
|
|
23
|
+
isSearchLoading: { type: Boolean, default: !1 }
|
|
24
|
+
},
|
|
25
|
+
emits: ["search", "select", "searchTypeChange"],
|
|
26
|
+
setup(V, { expose: C, emit: B }) {
|
|
27
|
+
const o = V, c = B, w = {
|
|
28
|
+
placeholder: o.placeholder,
|
|
29
|
+
searchHint: o.searchHint,
|
|
30
|
+
searchTypes: o.searchTypes,
|
|
31
|
+
defaultSearchType: o.defaultSearchType,
|
|
32
|
+
minSearchLength: o.minSearchLength
|
|
33
|
+
}, {
|
|
34
|
+
search: u,
|
|
35
|
+
options: p,
|
|
36
|
+
isSearchLoading: m,
|
|
37
|
+
searchType: n,
|
|
38
|
+
showSettings: N,
|
|
39
|
+
isLoading: h,
|
|
40
|
+
enterCharacterMessage: x,
|
|
41
|
+
filteredSearchTypes: F,
|
|
42
|
+
onSearch: R,
|
|
43
|
+
onSelect: E,
|
|
44
|
+
clearSearch: f,
|
|
45
|
+
toggleSettings: g,
|
|
46
|
+
hideSettings: d
|
|
47
|
+
} = K(w), S = L();
|
|
48
|
+
i(() => o.options.length > 0 ? o.options : p.value), i(() => o.isSearchLoading || m.value), i(() => o.isLoading || h.value);
|
|
49
|
+
const H = (e) => {
|
|
50
|
+
const a = e || "";
|
|
51
|
+
R(a), c("search", a, n.value);
|
|
52
|
+
}, M = (e) => {
|
|
53
|
+
E(e), c("select", e);
|
|
54
|
+
}, y = i(() => o.searchTypeName);
|
|
55
|
+
_(n, (e) => {
|
|
56
|
+
c("searchTypeChange", e), d();
|
|
57
|
+
});
|
|
58
|
+
const v = (e) => {
|
|
59
|
+
const a = e.target;
|
|
60
|
+
b.value?.contains(a) || d();
|
|
61
|
+
}, b = L();
|
|
62
|
+
return $(() => {
|
|
63
|
+
document.addEventListener("click", v);
|
|
64
|
+
}), I(() => {
|
|
65
|
+
document.removeEventListener("click", v);
|
|
66
|
+
}), C({
|
|
67
|
+
clearSearch: f,
|
|
68
|
+
setOptions: (e) => {
|
|
69
|
+
p.value = e;
|
|
70
|
+
},
|
|
71
|
+
setLoading: (e) => {
|
|
72
|
+
m.value = e;
|
|
73
|
+
},
|
|
74
|
+
setGlobalLoading: (e) => {
|
|
75
|
+
h.value = e;
|
|
76
|
+
},
|
|
77
|
+
focus: () => {
|
|
78
|
+
S.value?.$el?.querySelector("input")?.focus();
|
|
79
|
+
}
|
|
80
|
+
}), (e, a) => (s(), r("div", {
|
|
81
|
+
ref_key: "wrapperRef",
|
|
82
|
+
ref: b,
|
|
83
|
+
class: "position-relative d-flex align-items-center rounded search-select-wrapper"
|
|
84
|
+
}, [
|
|
85
|
+
(s(), k(A, {
|
|
86
|
+
ref_key: "selectRef",
|
|
87
|
+
ref: S,
|
|
88
|
+
key: t(n),
|
|
89
|
+
classes: ["border-0", "outline-none"],
|
|
90
|
+
style: { maxWidth: "500px", minWidth: "500px" },
|
|
91
|
+
modelValue: t(u),
|
|
92
|
+
"onUpdate:modelValue": [
|
|
93
|
+
a[0] || (a[0] = (l) => T(u) ? u.value = l : null),
|
|
94
|
+
M
|
|
95
|
+
],
|
|
96
|
+
reduce: (l) => l,
|
|
97
|
+
options: e.options,
|
|
98
|
+
placeholder: e.placeholder,
|
|
99
|
+
onSearch: H,
|
|
100
|
+
onBlur: t(f),
|
|
101
|
+
onFocus: t(d),
|
|
102
|
+
isLoading: e.isSearchLoading,
|
|
103
|
+
hint: t(x)
|
|
104
|
+
}, null, 8, ["modelValue", "reduce", "options", "placeholder", "onBlur", "onFocus", "isLoading", "hint"])),
|
|
105
|
+
W("button", {
|
|
106
|
+
class: "btn btn-light px-2",
|
|
107
|
+
onClick: a[1] || (a[1] = //@ts-ignore
|
|
108
|
+
(...l) => t(g) && t(g)(...l)),
|
|
109
|
+
disabled: e.isLoading
|
|
110
|
+
}, [
|
|
111
|
+
e.isLoading ? (s(), k(J, {
|
|
112
|
+
key: 0,
|
|
113
|
+
isSmall: !0
|
|
114
|
+
})) : (s(), r("i", X))
|
|
115
|
+
], 8, P),
|
|
116
|
+
t(N) ? (s(), r("ul", {
|
|
117
|
+
key: 0,
|
|
118
|
+
class: "position-absolute setting-list",
|
|
119
|
+
onClick: a[3] || (a[3] = G(() => {
|
|
120
|
+
}, ["stop"]))
|
|
121
|
+
}, [
|
|
122
|
+
(s(!0), r(Q, null, j(t(F), (l) => (s(), r("li", {
|
|
123
|
+
key: l.value,
|
|
124
|
+
class: "setting-item"
|
|
125
|
+
}, [
|
|
126
|
+
z(D, {
|
|
127
|
+
name: y.value,
|
|
128
|
+
label: l.label,
|
|
129
|
+
modelValue: t(n),
|
|
130
|
+
"onUpdate:modelValue": a[2] || (a[2] = (O) => T(n) ? n.value = O : null),
|
|
131
|
+
type: "radio",
|
|
132
|
+
group: y.value,
|
|
133
|
+
trueValue: l.value
|
|
134
|
+
}, null, 8, ["name", "label", "modelValue", "group", "trueValue"])
|
|
135
|
+
]))), 128))
|
|
136
|
+
])) : q("", !0)
|
|
137
|
+
], 512));
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
export {
|
|
141
|
+
te as default
|
|
142
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent as C, toRef as u, computed as d, watch as V, createElementBlock as i, openBlock as o, createVNode as b, Fragment as x, renderList as y, createElementVNode as m, normalizeClass as $, toDisplayString as F } from "vue";
|
|
2
|
+
import H from "../form/FormError.vue.js";
|
|
3
|
+
const P = { class: "multi-checkbox" }, B = ["checked", "onClick", "id", "value", "name"], A = ["for"], N = /* @__PURE__ */ C({
|
|
4
|
+
__name: "MultiCheckbox",
|
|
5
|
+
props: {
|
|
6
|
+
modelValue: { default: () => [] },
|
|
7
|
+
inputClass: { default: "" },
|
|
8
|
+
options: { default: () => [] },
|
|
9
|
+
error: { default: "" },
|
|
10
|
+
setFilterParamsStringsHandler: { type: Function, default: void 0 },
|
|
11
|
+
name: { default: "" }
|
|
12
|
+
},
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(f, { emit: p }) {
|
|
15
|
+
const r = f, v = p, a = u(r, "modelValue"), c = u(r, "options"), n = u(r, "name");
|
|
16
|
+
function h(l, s) {
|
|
17
|
+
const e = String(s);
|
|
18
|
+
let t = [...a.value];
|
|
19
|
+
a.value.includes(e) ? t = a.value.filter((S) => String(S) !== e) : t.push(e), v("update:modelValue", t);
|
|
20
|
+
}
|
|
21
|
+
const k = d(() => (l) => a.value.includes(String(l)));
|
|
22
|
+
function g(l) {
|
|
23
|
+
if (!r.setFilterParamsStringsHandler) return;
|
|
24
|
+
let s = l.map((t) => String(t));
|
|
25
|
+
const e = c.value.filter((t) => s.includes(String(t.id))).map((t) => t.text);
|
|
26
|
+
if (s.length === 0) {
|
|
27
|
+
r.setFilterParamsStringsHandler(n.value, null);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
r.setFilterParamsStringsHandler(n.value, e.join(", "));
|
|
31
|
+
}
|
|
32
|
+
const _ = d(() => Array.isArray(r.error) ? r.error?.filter(Boolean) || [] : typeof r.error == "string" && r.error ? [r.error] : []);
|
|
33
|
+
return V(
|
|
34
|
+
() => a.value,
|
|
35
|
+
(l) => {
|
|
36
|
+
g(l);
|
|
37
|
+
},
|
|
38
|
+
{ deep: !0 }
|
|
39
|
+
), (l, s) => (o(), i("div", P, [
|
|
40
|
+
(o(!0), i(x, null, y(c.value, (e) => (o(), i("div", {
|
|
41
|
+
class: "form-check",
|
|
42
|
+
key: e.id
|
|
43
|
+
}, [
|
|
44
|
+
m("input", {
|
|
45
|
+
class: $(["form-check-input", [l.inputClass, { "not-valid": l.error }]]),
|
|
46
|
+
type: "checkbox",
|
|
47
|
+
checked: k.value(e.id),
|
|
48
|
+
onClick: (t) => h(t, e.id),
|
|
49
|
+
id: `${n.value}-${e.id}`,
|
|
50
|
+
value: e.id,
|
|
51
|
+
name: `${n.value}-${e.id}`
|
|
52
|
+
}, null, 10, B),
|
|
53
|
+
m("label", {
|
|
54
|
+
class: "form-check-label d-block",
|
|
55
|
+
for: `${n.value}-${e.id}`
|
|
56
|
+
}, F(e.text), 9, A)
|
|
57
|
+
]))), 128)),
|
|
58
|
+
b(H, { errors: _.value }, null, 8, ["errors"])
|
|
59
|
+
]));
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
export {
|
|
63
|
+
N as default
|
|
64
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { defineComponent as E, toRef as o, ref as v, computed as O, watch as h, nextTick as P, onMounted as S, createElementBlock as i, openBlock as r, createVNode as g, Fragment as U, renderList as x, createElementVNode as m, normalizeClass as N, createCommentVNode as R } from "vue";
|
|
2
|
+
import j from "../form/CustomInput.vue.js";
|
|
3
|
+
import I from "../buttons/AddButton.vue.js";
|
|
4
|
+
import { getUniqueKey as p, getDeepCopyObject as M } from "../../utils/helpers.js";
|
|
5
|
+
const z = { class: "multi-input" }, A = { class: "col" }, D = { class: "col-auto" }, L = ["onClick"], J = /* @__PURE__ */ E({
|
|
6
|
+
__name: "MultiInput",
|
|
7
|
+
props: {
|
|
8
|
+
modelValue: { default: () => [] },
|
|
9
|
+
title: { default: "" },
|
|
10
|
+
setFilterParamsStringsHandler: { type: Function, default: void 0 },
|
|
11
|
+
name: { default: "" },
|
|
12
|
+
placeholder: { default: "" },
|
|
13
|
+
disabled: { type: Boolean, default: !1 },
|
|
14
|
+
inputClass: { default: "" },
|
|
15
|
+
error: { default: "" },
|
|
16
|
+
maskOptions: { default: "" }
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(y, { emit: b }) {
|
|
20
|
+
const n = y, k = b, u = o(n, "modelValue");
|
|
21
|
+
o(n, "title");
|
|
22
|
+
const F = o(n, "placeholder");
|
|
23
|
+
o(n, "disabled");
|
|
24
|
+
const C = o(n, "error"), _ = o(n, "maskOptions"), a = v([]), d = v(!1), V = {
|
|
25
|
+
value: "",
|
|
26
|
+
disabled: !1,
|
|
27
|
+
uniqueKey: 1
|
|
28
|
+
};
|
|
29
|
+
function c() {
|
|
30
|
+
const e = M(V);
|
|
31
|
+
e.uniqueKey = p(), a.value.push(e);
|
|
32
|
+
}
|
|
33
|
+
function q(e, l) {
|
|
34
|
+
e.value = l;
|
|
35
|
+
}
|
|
36
|
+
const K = O(() => a.value.length > 1);
|
|
37
|
+
function B(e) {
|
|
38
|
+
a.value = a.value.filter(
|
|
39
|
+
(l) => l.uniqueKey !== e.uniqueKey
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
function H() {
|
|
43
|
+
a.value = [], c();
|
|
44
|
+
}
|
|
45
|
+
function w(e) {
|
|
46
|
+
const l = e.map((s) => s.value);
|
|
47
|
+
if (k("update:modelValue", l), !n.setFilterParamsStringsHandler) return;
|
|
48
|
+
const t = l.filter((s) => s && s.length > 0);
|
|
49
|
+
if (t.length === 0) {
|
|
50
|
+
n.setFilterParamsStringsHandler(n.name, null);
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
n.setFilterParamsStringsHandler(n.name, t.join(", "));
|
|
54
|
+
}
|
|
55
|
+
return h(
|
|
56
|
+
() => a.value,
|
|
57
|
+
(e) => {
|
|
58
|
+
d.value || w(e);
|
|
59
|
+
},
|
|
60
|
+
{ deep: !0 }
|
|
61
|
+
), h(
|
|
62
|
+
() => u.value,
|
|
63
|
+
(e) => {
|
|
64
|
+
d.value = !0, !e || e.length === 0 ? H() : a.value.length !== e.length ? a.value = e.map((l, t) => ({
|
|
65
|
+
value: l,
|
|
66
|
+
disabled: !1,
|
|
67
|
+
uniqueKey: p() + t
|
|
68
|
+
})) : e.forEach((l, t) => {
|
|
69
|
+
a.value[t] && (a.value[t].value = l);
|
|
70
|
+
}), P(() => {
|
|
71
|
+
d.value = !1;
|
|
72
|
+
});
|
|
73
|
+
},
|
|
74
|
+
{ deep: !0 }
|
|
75
|
+
), S(() => {
|
|
76
|
+
u.value && u.value.length > 0 ? a.value = u.value.map((e, l) => ({
|
|
77
|
+
value: e,
|
|
78
|
+
disabled: !1,
|
|
79
|
+
uniqueKey: p() + l
|
|
80
|
+
})) : c();
|
|
81
|
+
}), (e, l) => (r(), i("div", z, [
|
|
82
|
+
(r(!0), i(U, null, x(a.value, (t, s) => (r(), i("div", {
|
|
83
|
+
class: "row mb-2",
|
|
84
|
+
key: t.uniqueKey
|
|
85
|
+
}, [
|
|
86
|
+
m("div", A, [
|
|
87
|
+
g(j, {
|
|
88
|
+
"model-value": t.value,
|
|
89
|
+
"onUpdate:modelValue": (f) => q(t, f),
|
|
90
|
+
name: e.name,
|
|
91
|
+
placeholder: F.value,
|
|
92
|
+
class: N(e.inputClass),
|
|
93
|
+
disabled: t.disabled,
|
|
94
|
+
"mask-options": _.value,
|
|
95
|
+
error: C.value
|
|
96
|
+
}, null, 8, ["model-value", "onUpdate:modelValue", "name", "placeholder", "class", "disabled", "mask-options", "error"])
|
|
97
|
+
]),
|
|
98
|
+
m("div", D, [
|
|
99
|
+
K.value ? (r(), i("div", {
|
|
100
|
+
key: 0,
|
|
101
|
+
class: "d-flex remove-button p-2",
|
|
102
|
+
style: { cursor: "pointer" },
|
|
103
|
+
onClick: (f) => B(t)
|
|
104
|
+
}, [...l[0] || (l[0] = [
|
|
105
|
+
m("i", { class: "bi bi-trash-fill" }, null, -1)
|
|
106
|
+
])], 8, L)) : R("", !0)
|
|
107
|
+
])
|
|
108
|
+
]))), 128)),
|
|
109
|
+
g(I, { onClick: c })
|
|
110
|
+
]));
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
export {
|
|
114
|
+
J as default
|
|
115
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as w, ref as c, computed as i, onMounted as q, onUnmounted as C, createElementBlock as a, openBlock as r, createElementVNode as u, createCommentVNode as T, normalizeStyle as h, normalizeClass as p, createTextVNode as y, toDisplayString as S } from "vue";
|
|
2
|
+
const g = ["title"], E = /* @__PURE__ */ w({
|
|
3
|
+
__name: "QuestionIcon",
|
|
4
|
+
props: {
|
|
5
|
+
title: { default: "" },
|
|
6
|
+
size: { default: "md" },
|
|
7
|
+
color: { default: "#999999" },
|
|
8
|
+
iconClass: { default: "" },
|
|
9
|
+
tooltipPosition: { default: "top" },
|
|
10
|
+
clickToShow: { type: Boolean, default: !0 }
|
|
11
|
+
},
|
|
12
|
+
setup(d) {
|
|
13
|
+
const e = d, l = c(), t = c(!1), f = i(() => ({
|
|
14
|
+
color: e.color
|
|
15
|
+
})), m = i(() => {
|
|
16
|
+
switch (e.size) {
|
|
17
|
+
case "sm":
|
|
18
|
+
return "question-icon--sm";
|
|
19
|
+
case "lg":
|
|
20
|
+
return "question-icon--lg";
|
|
21
|
+
default:
|
|
22
|
+
return "question-icon--md";
|
|
23
|
+
}
|
|
24
|
+
}), v = i(() => `question-tooltip--${e.tooltipPosition}`), k = () => {
|
|
25
|
+
e.clickToShow && e.title && (t.value = !t.value);
|
|
26
|
+
}, n = (o) => {
|
|
27
|
+
l.value && !l.value.contains(o.target) && (t.value = !1);
|
|
28
|
+
};
|
|
29
|
+
return q(() => {
|
|
30
|
+
e.clickToShow && document.addEventListener("click", n);
|
|
31
|
+
}), C(() => {
|
|
32
|
+
e.clickToShow && document.removeEventListener("click", n);
|
|
33
|
+
}), (o, s) => (r(), a("div", {
|
|
34
|
+
class: "question-icon-wrapper",
|
|
35
|
+
ref_key: "wrapperRef",
|
|
36
|
+
ref: l
|
|
37
|
+
}, [
|
|
38
|
+
u("i", {
|
|
39
|
+
class: p(["bi bi-question-circle-fill question-icon", [o.iconClass, m.value]]),
|
|
40
|
+
title: o.title,
|
|
41
|
+
style: h(f.value),
|
|
42
|
+
onClick: k
|
|
43
|
+
}, null, 14, g),
|
|
44
|
+
t.value && o.title ? (r(), a("div", {
|
|
45
|
+
key: 0,
|
|
46
|
+
class: p(["question-tooltip", v.value])
|
|
47
|
+
}, [
|
|
48
|
+
y(S(o.title) + " ", 1),
|
|
49
|
+
s[0] || (s[0] = u("div", { class: "question-tooltip-arrow" }, null, -1))
|
|
50
|
+
], 2)) : T("", !0)
|
|
51
|
+
], 512));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
E as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as d, createElementBlock as t, openBlock as r, createElementVNode as s, Fragment as u, renderList as _, normalizeClass as p, withModifiers as m, toDisplayString as o } from "vue";
|
|
2
|
+
const h = {
|
|
3
|
+
class: "row hide-to-print m-0",
|
|
4
|
+
"data-test": "Breadcrumbs"
|
|
5
|
+
}, b = { class: "col" }, v = { "aria-label": "breadcrumb" }, f = { class: "breadcrumb row" }, x = ["aria-current"], k = ["href", "onClick"], w = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "text-nowrap"
|
|
8
|
+
}, B = /* @__PURE__ */ d({
|
|
9
|
+
__name: "Breadcrumbs",
|
|
10
|
+
props: {
|
|
11
|
+
crumbs: { type: Array, required: !0 }
|
|
12
|
+
},
|
|
13
|
+
emits: ["navigate"],
|
|
14
|
+
setup(a, { emit: c }) {
|
|
15
|
+
const n = a, i = c;
|
|
16
|
+
return (y, g) => (r(), t("div", h, [
|
|
17
|
+
s("div", b, [
|
|
18
|
+
s("nav", v, [
|
|
19
|
+
s("ol", f, [
|
|
20
|
+
(r(!0), t(u, null, _(n.crumbs, (e, l) => (r(), t("li", {
|
|
21
|
+
key: l,
|
|
22
|
+
class: p(["breadcrumb-item text-nowrap col-auto", { active: e.isActive }]),
|
|
23
|
+
"aria-current": e.isActive ? "page" : void 0
|
|
24
|
+
}, [
|
|
25
|
+
e.isActive ? (r(), t("span", w, o(e.text), 1)) : (r(), t("a", {
|
|
26
|
+
key: 0,
|
|
27
|
+
href: e.href,
|
|
28
|
+
class: "text-decoration-none text-black-40 cursor-pointer text-nowrap",
|
|
29
|
+
onClick: m(() => i("navigate", e.href), ["prevent"])
|
|
30
|
+
}, o(e.text), 9, k))
|
|
31
|
+
], 10, x))), 128))
|
|
32
|
+
])
|
|
33
|
+
])
|
|
34
|
+
])
|
|
35
|
+
]));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
B as default
|
|
40
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createElementBlock as a, openBlock as o, normalizeClass as d, createElementVNode as t, renderSlot as r } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import l from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const n = { class: "card-body" }, c = { class: "card-text" }, i = {
|
|
5
|
+
__name: "Card",
|
|
6
|
+
props: {
|
|
7
|
+
title: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: ""
|
|
10
|
+
},
|
|
11
|
+
bodyClass: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "bg-gray-light"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
setup(s) {
|
|
17
|
+
return (e, p) => (o(), a("div", {
|
|
18
|
+
class: d(["card", s.bodyClass])
|
|
19
|
+
}, [
|
|
20
|
+
t("div", n, [
|
|
21
|
+
r(e.$slots, "bodyHeader", {}, void 0, !0),
|
|
22
|
+
t("p", c, [
|
|
23
|
+
r(e.$slots, "default", {}, void 0, !0)
|
|
24
|
+
])
|
|
25
|
+
])
|
|
26
|
+
], 2));
|
|
27
|
+
}
|
|
28
|
+
}, m = /* @__PURE__ */ l(i, [["__scopeId", "data-v-5fa81802"]]);
|
|
29
|
+
export {
|
|
30
|
+
m as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineComponent as r, createElementBlock as n, openBlock as s, toDisplayString as e, unref as c } from "vue";
|
|
2
|
+
import i from "../../vendor/moment/dist/moment.js";
|
|
3
|
+
const p = { class: "d-flex align-items-center justify-content-center bg-white shadow-sm py-3" }, u = /* @__PURE__ */ r({
|
|
4
|
+
__name: "Footer",
|
|
5
|
+
props: {
|
|
6
|
+
copyrightText: { type: String, required: !0 }
|
|
7
|
+
},
|
|
8
|
+
setup(t) {
|
|
9
|
+
const o = t;
|
|
10
|
+
return (a, m) => (s(), n("footer", p, e(o.copyrightText) + " " + e(c(i)().year()), 1));
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
u as default
|
|
15
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { defineComponent as m, computed as h, createElementBlock as i, openBlock as n, createElementVNode as o, normalizeClass as g, withModifiers as f, renderSlot as s, createVNode as v, toDisplayString as l, createBlock as _, createCommentVNode as d } from "vue";
|
|
2
|
+
import x from "../dropdowns/DefaultDropDown.vue.js";
|
|
3
|
+
import b from "../logo/Logo.vue.js";
|
|
4
|
+
const w = { class: "navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header" }, y = { class: "row align-items-center" }, T = { class: "col-auto pe-0" }, k = { class: "col-auto ps-0 text-wrap mx-3 r3ui-header-label" }, A = { class: "row" }, D = { class: "col-auto d-flex align-items-center" }, B = {
|
|
5
|
+
key: 1,
|
|
6
|
+
class: "text-muted"
|
|
7
|
+
}, C = { class: "col-auto" }, V = /* @__PURE__ */ m({
|
|
8
|
+
__name: "Header",
|
|
9
|
+
props: {
|
|
10
|
+
isAuthenticated: { type: Boolean, default: !1 },
|
|
11
|
+
user: { type: Object, default: null },
|
|
12
|
+
brandText: { type: String, required: !0 },
|
|
13
|
+
loginText: { type: String, default: "Authorization" },
|
|
14
|
+
rawDropdownLinks: {
|
|
15
|
+
type: Array,
|
|
16
|
+
default: () => []
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
emits: ["navigate", "logout"],
|
|
20
|
+
setup(c, { emit: u }) {
|
|
21
|
+
const t = c, a = u, p = h(() => t.rawDropdownLinks.map((e) => e.name === "logout" ? { ...e, action: () => a("logout") } : e.name.includes("http") ? {
|
|
22
|
+
...e,
|
|
23
|
+
action: () => a("navigate", e.name, {
|
|
24
|
+
external: !0
|
|
25
|
+
})
|
|
26
|
+
} : { ...e, action: () => a("navigate", `/${e.name}`) }));
|
|
27
|
+
return (e, r) => (n(), i("div", w, [
|
|
28
|
+
o("div", {
|
|
29
|
+
class: g([t.isAuthenticated ? "container-fluid" : "container"])
|
|
30
|
+
}, [
|
|
31
|
+
o("a", {
|
|
32
|
+
href: "/",
|
|
33
|
+
onClick: r[0] || (r[0] = f(() => a("navigate", "/"), ["prevent"])),
|
|
34
|
+
class: "text-decoration-none r3ui-header-link"
|
|
35
|
+
}, [
|
|
36
|
+
o("div", y, [
|
|
37
|
+
o("div", T, [
|
|
38
|
+
s(e.$slots, "logo", {}, () => [
|
|
39
|
+
v(b, {
|
|
40
|
+
class: "r3ui-header-logo",
|
|
41
|
+
brandText: t.brandText
|
|
42
|
+
}, null, 8, ["brandText"])
|
|
43
|
+
], !0)
|
|
44
|
+
]),
|
|
45
|
+
o("div", k, l(t.brandText), 1)
|
|
46
|
+
])
|
|
47
|
+
]),
|
|
48
|
+
o("div", A, [
|
|
49
|
+
o("div", D, [
|
|
50
|
+
t.isAuthenticated ? (n(), _(x, {
|
|
51
|
+
key: 0,
|
|
52
|
+
type: "profile",
|
|
53
|
+
title: t.user?.name || "",
|
|
54
|
+
links: p.value
|
|
55
|
+
}, null, 8, ["title", "links"])) : d("", !0),
|
|
56
|
+
t.isAuthenticated ? d("", !0) : (n(), i("div", B, l(t.loginText), 1))
|
|
57
|
+
]),
|
|
58
|
+
o("div", C, [
|
|
59
|
+
s(e.$slots, "language-selector", {}, void 0, !0)
|
|
60
|
+
])
|
|
61
|
+
])
|
|
62
|
+
], 2)
|
|
63
|
+
]));
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
export {
|
|
67
|
+
V as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent as s, computed as r, createElementBlock as u, openBlock as d, normalizeStyle as i, createVNode as c } from "vue";
|
|
2
|
+
import V from "../form/VSelect.vue.js";
|
|
3
|
+
const v = /* @__PURE__ */ s({
|
|
4
|
+
__name: "LanguageSelector",
|
|
5
|
+
props: {
|
|
6
|
+
modelValue: {},
|
|
7
|
+
options: {},
|
|
8
|
+
width: {},
|
|
9
|
+
allowClear: { type: Boolean }
|
|
10
|
+
},
|
|
11
|
+
emits: ["update:modelValue"],
|
|
12
|
+
setup(a, { emit: t }) {
|
|
13
|
+
const n = a, m = t, l = r({
|
|
14
|
+
get: () => n.modelValue,
|
|
15
|
+
set: (e) => m("update:modelValue", e)
|
|
16
|
+
});
|
|
17
|
+
return (e, o) => (d(), u("div", {
|
|
18
|
+
style: i({ minWidth: e.width || "150px" })
|
|
19
|
+
}, [
|
|
20
|
+
c(V, {
|
|
21
|
+
class: "w-100",
|
|
22
|
+
modelValue: l.value,
|
|
23
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => l.value = p),
|
|
24
|
+
options: e.options,
|
|
25
|
+
"allow-clear": e.allowClear ?? !1
|
|
26
|
+
}, null, 8, ["modelValue", "options", "allow-clear"])
|
|
27
|
+
], 4));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
v as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { defineComponent as i, createElementBlock as l, openBlock as m, Fragment as s, createVNode as o, createElementVNode as g, withCtx as r, renderSlot as n, normalizeClass as p } from "vue";
|
|
2
|
+
import d from "./Header.vue.js";
|
|
3
|
+
import c from "./Footer.vue.js";
|
|
4
|
+
import f from "../logo/Logo.vue.js";
|
|
5
|
+
const w = /* @__PURE__ */ i({
|
|
6
|
+
__name: "LoginLayoutFrame",
|
|
7
|
+
props: {
|
|
8
|
+
loginText: {},
|
|
9
|
+
brandText: {},
|
|
10
|
+
copyrightText: {},
|
|
11
|
+
mainClass: { default: "my-5" }
|
|
12
|
+
},
|
|
13
|
+
setup(a) {
|
|
14
|
+
const t = a;
|
|
15
|
+
if (typeof t.loginText != "string")
|
|
16
|
+
throw new Error("LoginLayoutFrame: loginText обязателен");
|
|
17
|
+
if (!t.brandText.trim())
|
|
18
|
+
throw new Error("LoginLayoutFrame: brandText обязателен");
|
|
19
|
+
if (!t.copyrightText.trim())
|
|
20
|
+
throw new Error("LoginLayoutFrame: copyrightText обязателен");
|
|
21
|
+
return (e, h) => (m(), l(s, null, [
|
|
22
|
+
o(d, {
|
|
23
|
+
"is-authenticated": !1,
|
|
24
|
+
"login-text": e.loginText,
|
|
25
|
+
"raw-dropdown-links": [],
|
|
26
|
+
"brand-text": e.brandText
|
|
27
|
+
}, {
|
|
28
|
+
logo: r(() => [
|
|
29
|
+
o(f)
|
|
30
|
+
]),
|
|
31
|
+
"language-selector": r(() => [
|
|
32
|
+
n(e.$slots, "language-selector")
|
|
33
|
+
]),
|
|
34
|
+
_: 3
|
|
35
|
+
}, 8, ["login-text", "brand-text"]),
|
|
36
|
+
g("main", {
|
|
37
|
+
class: p(e.mainClass),
|
|
38
|
+
style: { "min-height": "80vh" }
|
|
39
|
+
}, [
|
|
40
|
+
n(e.$slots, "default")
|
|
41
|
+
], 2),
|
|
42
|
+
o(c, { "copyright-text": e.copyrightText }, null, 8, ["copyright-text"])
|
|
43
|
+
], 64));
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
export {
|
|
47
|
+
w as default
|
|
48
|
+
};
|